2.8pre gantry racking

More
8 years 4 months ago #111770 by llamatrails
I've been trying to configure homing switches on my 2.8.0-pre1-3723-g0661d4b gantry system with partial luck. Appreciate any help ...

The gantry is the X axis.
There are only homing switches, no limit switches.
The X0 micro-switch is wired in parallel with the Y axis micro-switch.
The X1 micro-switch is wired in parallel with the Z axis micro-switch.
All the micro-switches show FALSE in the HAL-meter and show True when tripped.
The HOME_SEQUENCE is Z(0), Y(1), X0(-2) & X1(-2)

Z and Y home perfectly. They are not touching the micro-switches after they are homed so the switches are back to NO.
X0 and X1 travel together in the correct direction, X0 hits the micro-switch and backs off but X1 hits the switch and keeps going. Sigh.

Attached are my ini and hal files. I've googled but my foo is failing me this time ...

TIA,
Rick

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

More
8 years 4 months ago #111803 by andypugh
Replied by andypugh on topic 2.8pre gantry racking
No way to mark this for later and I am not at a real computer.
Does halmeter show the joint home signals changing state?

I assume both sides of X share the same negative home sequence number?

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

More
8 years 4 months ago #111807 by llamatrails
Replied by llamatrails on topic 2.8pre gantry racking
Yes, hal meter shows the expected signal states. All FALSE until a micro switch is tripped, then TRUE.

Both sides of X have HOME_SEQUENCE = -2

Appreciate the assist.
Rick

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

More
8 years 4 months ago #111815 by DanMN
Replied by DanMN on topic 2.8pre gantry racking
You have your X0 & X1 axes homing with -2 -- could this be doing it:

"The initial HOME_SEQUENCE number may be 0, 1 (or -1). The absolute value of sequence numbers must increment by one — skipping sequence numbers is not supported. If a sequence number is omitted, "Home All" homing will stop upon completion of the last valid sequence number."

linuxcnc.org/docs/devel/html/config/ini-...homing-configuration

Have you tried using -1 for your X sequence? That would appear to adhere to the "absolute value incrementing by 1" guidance.

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

More
8 years 4 months ago #111853 by andypugh
Replied by andypugh on topic 2.8pre gantry racking
A sequence 0,1,-2 looks correct.

Can you check that both switches operate completely independently, ie that one does not mask the other.

Maybe open halscope and scope the joint.0.home-state and joint.1.home-state pins, that might answer the question as to what is going on.

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

More
8 years 4 months ago #111859 by rodw
Replied by rodw on topic 2.8pre gantry racking
I could not see anything obvious anywhere other than the -2 for HOME_SEQUENCE mentioned earlier. Gantry homing has been rock solid in the 2.8 development branch for the 18 months I've been using it. Thats not to say I have not had a configuration error or two setting it up. If changing HOME_SEQUENCE to -1 does not fix it, my bet is you have a wiring error more than a config error but I've never shared home switch circuits. I can't see that would be an issue.

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

Time to create page: 0.270 seconds
Powered by Kunena Forum