stop and go while homing
- Chando
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
this is my problem
emc 2.5.0
stepper configuration 3 axis
GUI axis
drivers cw5045
same setup was used before with emc 2.3.0 no problem, but always real time error. That's why I changed the pc and the linux.
Now
x and y axis stops and goes multiple times while homing. I can't find the problem.
Please help. I can't find information for my drivers.
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 758
x and y axis stops and goes multiple times while homing. I can't find the problem.
You will have to be more precise as to what it does and attach your configs (zip your entire config folder)
Sounds like it is not finding the home switch latch but we have no idea how you have set it up
Please help. I can't find information for my drivers.
Don't know where you looked, first hit I got on google was the manual for them
cnc4you.co.uk/resources/CW5045.pdf
They look like Leadshine knockoffs, the timings for Leadshine in the wiki should not be far off
wiki.linuxcnc.org/cgi-bin/wiki.pl?Stepper_Drive_Timing
regards
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
I suspect as your original installation is old then some values will have changed ...
selecting Kelling 4030 as your driver type , will be ok for you
Please Log in or Create an account to join the conversation.
- Chando
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Chando
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 758
Your stepgen.0.dirsetup and stepgen.0.dirhold figures in your .hal file are very big
Try the leadshine figures
1500 1500 8000 5000 in stepconf which will result in figures about 1/3rd of your current ones
(or just edit Pena.hal)
setp stepgen.0.dirhold 23000
setp stepgen.0.dirsetup 20000
regards
Please Log in or Create an account to join the conversation.
- Chando
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
and then work from that to suit , it may not be timing that is your problem , so make sure your microstep timings and steps are correct also
Please Log in or Create an account to join the conversation.
- Chando
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
it's appear the problem is not in timing settings. It doesn't change anything when I put these figures
3000 3000 5000 5000
1500 1500 8000 5000
There must be another problem. Do you know what is the chance to have damaged linux. Times to times it freezes and I don't have control until restart.
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 758
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 40.0
MAX_ACCELERATION = 400.0
STEPGEN_MAXACCEL = 500.0
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -0.001
MAX_LIMIT = 2460.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 30.000000
HOME_LATCH_VEL = -1.0000
HOME_SEQUENCE = 1
This shows your search velocity is very high with a negative latch velocity. This means you will certainly overshoot the home switch and then attempt to latch on return, rather than moving off the switch and returning to it.
You need to read the below to see if that is what should be happening.
linuxcnc.org/docs/2.5/html/config/ini_homing.html
I tend to have search velocity of about 3.5 and latch of 1. My latch velocity is positive.
I jog the axes to a point near the home switches and press the Home button.
They move onto the switches and then back off until the contacts open, then slowly back until they just latch.
Also your velocity and acceleration figures are high, which could be a reason for your previous realtime errors by themselves.
All this with a BASE_PERIOD = 100000
see the below and note what the figures equal
linuxcnc.org/docs/2.5/html/config/ini_co...d_sub_axis_section_a
40 = 2.5metres per minute
400 = 400mm/sec/sec
I would suggest that MAX_VELOCITY=20 and MAX_ACCELERATION=40 would be a good starting point
Check that the SCALE figure is correct (it is low and would indicate very little micro-stepping or gearing)
Do a long latency test and then calculate an optimal base period using the wiki,(or just double the max-jitter base thread figure for a rough starting figure)
Hopefully this will get a much smoother running.
Regards the freezing, you will have to be specific, does the computer lock up when doing other things or only when using Linuxcnc for a start?
regards
Please Log in or Create an account to join the conversation.