weird behavior on Z homing
- cncbasher
- Offline
- Moderator
-
Less
More
- Posts: 1744
- Thank you received: 288
26 Nov 2012 00:09 #26931
by cncbasher
Replied by cncbasher on topic weird behavior on Z homing
it seems your not moving far enough off to release the home switch once it's triggered ..
post your hal and ini files
post your hal and ini files
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
26 Nov 2012 00:26 #26933
by BigJohnT
this throws "hit limit in home state 10" error and "joint 2 on limit switch error"
is there a way to put , in hal scope, the step pulses that is been sended to the stepper and the ones that feeds the DRO? Im asking this because this more and more seems like a bug to me and would like to provide all the information possible. Also, how can generate a detailed log just for this homing secuence?[/quote]
Highly unlikely that it is a bug as there are thousands and thousands of users. Most like a misconfiguration. Most likely is your home or home offset is not set correctly.
John
Replied by BigJohnT on topic weird behavior on Z homing
HOME_OFFSET=
HOME_SEARCH_VEL=
HOME_LATCH_VEL=
HOME_FINAL_VEL= 10 ( This entry your missing )
HOME_USE_INDEX=
HOME_SEQUENCE=
this throws "hit limit in home state 10" error and "joint 2 on limit switch error"
is there a way to put , in hal scope, the step pulses that is been sended to the stepper and the ones that feeds the DRO? Im asking this because this more and more seems like a bug to me and would like to provide all the information possible. Also, how can generate a detailed log just for this homing secuence?[/quote]
Highly unlikely that it is a bug as there are thousands and thousands of users. Most like a misconfiguration. Most likely is your home or home offset is not set correctly.
John
Please Log in or Create an account to join the conversation.
- Psykhon
- Offline
- Senior Member
-
Less
More
- Posts: 56
- Thank you received: 0
26 Nov 2012 00:27 #26934
by Psykhon
Please look at post 26915
switches look fine
Whats really weird is that DRO keeps moving on final Latch, but stepper doenst
In my humble opinion, something "disconects" between Axis -> stepgen > stepper and cannot find the rigth signals to put on the hal scope to see whats happening
Replied by Psykhon on topic weird behavior on Z homing
it seems your not moving far enough off to release the home switch once it's triggered ..
post your hal and ini files
Please look at post 26915
switches look fine
Whats really weird is that DRO keeps moving on final Latch, but stepper doenst
In my humble opinion, something "disconects" between Axis -> stepgen > stepper and cannot find the rigth signals to put on the hal scope to see whats happening
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
26 Nov 2012 00:35 #26935
by BigJohnT
Replied by BigJohnT on topic weird behavior on Z homing
What do you have checked off Show Commanded Position or Show Actual Position? Depending on your machine Show Actual Position will dance about and distract you from making chips...
John
John
Please Log in or Create an account to join the conversation.
- Psykhon
- Offline
- Senior Member
-
Less
More
- Posts: 56
- Thank you received: 0
26 Nov 2012 00:54 #26936
by Psykhon
Its in Actual positiion, never had a reason when I need to change that.
Im uploading a video rigth now, will be up in a couple of minutes
Replied by Psykhon on topic weird behavior on Z homing
What do you have checked off Show Commanded Position or Show Actual Position? Depending on your machine Show Actual Position will dance about and distract you from making chips...
John
Its in Actual positiion, never had a reason when I need to change that.
Im uploading a video rigth now, will be up in a couple of minutes
Please Log in or Create an account to join the conversation.
- Psykhon
- Offline
- Senior Member
-
Less
More
- Posts: 56
- Thank you received: 0
26 Nov 2012 01:22 #26937
by Psykhon
Replied by Psykhon on topic weird behavior on Z homing
this video was hard to shoot but you can see:
first a couple of yogs, to show everithing seems fine
then the homing secuence(0:18), it searchs for home, finds it, then back off normally and when its time to latch, Stepper stops but DRO keeps going.
happens a little fast and have no problem making it again and slower if anyone request so.
Also can see the hal meter attached to the hm2_5i25.0.gpio.015.in, wich is the home for Z, working as expected
first a couple of yogs, to show everithing seems fine
then the homing secuence(0:18), it searchs for home, finds it, then back off normally and when its time to latch, Stepper stops but DRO keeps going.
happens a little fast and have no problem making it again and slower if anyone request so.
Also can see the hal meter attached to the hm2_5i25.0.gpio.015.in, wich is the home for Z, working as expected
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
26 Nov 2012 01:31 #26938
by BigJohnT
Replied by BigJohnT on topic weird behavior on Z homing
I only see the home switch true once. I assume the stepper is stalled out and because the control has no idea if that is the case it keeps searching for the home switch again.
John
John
Please Log in or Create an account to join the conversation.
- Psykhon
- Offline
- Senior Member
-
Less
More
- Posts: 56
- Thank you received: 0
26 Nov 2012 01:40 #26939
by Psykhon
Replied by Psykhon on topic weird behavior on Z homing
keeps getting weirder: if I put Feed Override to 41 or less, stepper beggin to behave strange, like lossing steps but more like not getting an even pulse train
The other 2 axes completely normal
Swaped the Y & Z wires and same thing on Y, so steppers are fine
Swapped the entire wiring and same thing, wires are fine
Whent back to the LPT port with the old Hal and ini and everything normal again, so everything out of the PC is fine
The other 2 axes completely normal
Swaped the Y & Z wires and same thing on Y, so steppers are fine
Swapped the entire wiring and same thing, wires are fine
Whent back to the LPT port with the old Hal and ini and everything normal again, so everything out of the PC is fine


Please Log in or Create an account to join the conversation.
- Psykhon
- Offline
- Senior Member
-
Less
More
- Posts: 56
- Thank you received: 0
26 Nov 2012 01:44 #26940
by Psykhon
at that speed cannot stall, you can see that home seach is done much faster, in ini its 3 for homing and 1 for latch
Also, switching back to the lpt port with old config works normal.
By the way, thanks to everybody for helping me!
Replied by Psykhon on topic weird behavior on Z homing
I only see the home switch true once. I assume the stepper is stalled out and because the control has no idea if that is the case it keeps searching for the home switch again.
John
at that speed cannot stall, you can see that home seach is done much faster, in ini its 3 for homing and 1 for latch
Also, switching back to the lpt port with old config works normal.
By the way, thanks to everybody for helping me!
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18460
- Thank you received: 5042
26 Nov 2012 01:54 - 26 Nov 2012 02:01 #26941
by PCW
Replied by PCW on topic weird behavior on Z homing
I wonder is this is an electrical/timing issue
Is it possible that your timing is marginal? (looks like it)
You have all the timings set to the G540 minimums,
that is, just on the edge of not working
I would set steplen to 1500, stepspace to 2500
and both dir setup and hold to say 700. These settings cannot
hurt anything (they still allow the maximum G540 step rate)
but they give you some 500 ns timing margin (instead of 0)
Is it possible that your timing is marginal? (looks like it)
You have all the timings set to the G540 minimums,
that is, just on the edge of not working
I would set steplen to 1500, stepspace to 2500
and both dir setup and hold to say 700. These settings cannot
hurt anything (they still allow the maximum G540 step rate)
but they give you some 500 ns timing margin (instead of 0)
Last edit: 26 Nov 2012 02:01 by PCW.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.071 seconds