× Forum Header

stop and go while homing

More
08 Jun 2013 02:39 #35425 by Chando
Hello,

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.

More
08 Jun 2013 15:07 #35445 by ArcEye
Replied by ArcEye on topic stop and go while homing
Hi

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.

More
08 Jun 2013 15:56 #35446 by cncbasher
Replied by cncbasher on topic stop and go while homing
the easy solution is to post your hal and ini files ...
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.

More
10 Jun 2013 22:52 #35489 by Chando
Replied by Chando on topic stop and go while homing
Hei guys,

here are the files.

File Attachment:

File Name: Pena.ini
File Size:2 KB


File Attachment:

File Name: Pena.hal
File Size:3 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Jun 2013 23:00 #35491 by Chando
Replied by Chando on topic stop and go while homing
Sorry I tryed with Kelling 4030. It doesn't look great. Yes it works, but very firmly and loudly. That's why I am looking for better settings of timming.

Please Log in or Create an account to join the conversation.

More
10 Jun 2013 23:28 #35492 by ArcEye
Replied by ArcEye on topic stop and go while homing
Hi

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
The following user(s) said Thank You: Chando

Please Log in or Create an account to join the conversation.

More
11 Jun 2013 00:25 #35497 by Chando
Replied by Chando on topic stop and go while homing
I will try tomorrow.

Please Log in or Create an account to join the conversation.

More
11 Jun 2013 01:42 #35501 by cncbasher
Replied by cncbasher on topic stop and go while homing
as Arceye has mentioned your values are way to high , I often use leadshine drives with values of around 3000 3000 5000 5000 without problems
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.

More
11 Jun 2013 21:41 #35531 by Chando
Replied by Chando on topic stop and go while homing
Sorry guys,

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.

More
11 Jun 2013 22:54 #35538 by ArcEye
Replied by ArcEye on topic stop and go while homing
To try to address your original question about homing

[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.

Time to create page: 0.164 seconds
Powered by Kunena Forum