Forum Header

Linuxcnc - plasma router - joint 2 flolowing error

More
7 years 2 weeks ago #148009 by kofaki
]Hello Tommy,

I didn't have time previously to continue building the plasma.
...Today I had a free day, i created a video with the error "joint 2 on limit switch error" . This error is loaded if drive axis Y.

Do you have any ideas, what is the fails ?

Many thanks,

Please Log in to join the conversation.

More
7 years 2 weeks ago #148010 by PCW
Possible reasons:

Limit switch broken
Limit switch polarity wrong
Limit switch wiring wrong
Noise on limit switch input
Wrong HOME_OFFSET or other homing settings in your .ini file

I would check the first three by monitoring the limit switch pin when doing a manual limit switch actuation

A noise problem will typically show up randomly (random places) or when some noisy device is activated

Posting your ini and hal files would allow forum members to see if your homing setup is correct

Please Log in to join the conversation.

More
7 years 2 weeks ago #148018 by tommylight
As PCW said, check all that and please do attach the ziped config folder here so we can look at it.

Please Log in to join the conversation.

More
7 years 1 week ago #148639 by andypugh
Joint 2 is Z. It sounds like there is some vibration, perhaps that is triggering the switch?

Please Log in to join the conversation.

More
7 years 1 week ago #148671 by kofaki
Hello,

i replaced the cable for the float switch (new shielded cable) and the problem is the same ... As the control board i use

Attachment not found



Config is in the attachment

Attachment not found



Many thanks

Please Log in to join the conversation.

More
7 years 3 days ago #148941 by andypugh
If you disconnect the Z limit switch in HAL (you can do this from the command line, once the system is homed) does that solve the problem?

halcmd unlinkp joint.2.pos-lim-sw-in
halcmd unlinkp joint.2.neg-lim-sw-in

They will re-connect if you exit and restart the config.

Please Log in to join the conversation.

More
7 years 2 days ago #148980 by kofaki
Hello Andypugh,

yeah, that's works if is send the commands from your post.

it's Interesting, that i move with axisY, and the Z float switch is actived in LinuxCNC.

Now i tried the PROMA THC 150 module, but if i run the test on the module, then i see on LinuxCNC active LEDs (move UP and move DOWN) but the motor on axis Z nothing (stopped)

Please Log in to join the conversation.

More
7 years 2 days ago #148983 by andypugh

kofaki wrote: Hello Andypugh,

yeah, that's works if is send the commands from your post.


OK, that means that it is noise on that signal.

The answer is probably to debounce the signal in HAL.

Is the man page link enough, or do you need more info?
linuxcnc.org/docs/2.8/html/man/man9/debounce.9.html

Please Log in to join the conversation.

More
7 years 1 day ago #149050 by kofaki
NOTE: i don't use limit switches, only floating switch for find the position of material on Z axis.

Yes, could you please send me more info about debounce the signal in HAL ?

I use the control board with the DIGITAL INPUT, which are switching the signal to 12V, not to ground, then i want try connect the Pullup resistor on float switch (10K Ohm). It's good idea ?

Please Log in to join the conversation.

More
7 years 21 hours ago #149168 by andypugh

kofaki wrote: NOTE: i don't use limit switches, only floating switch for find the position of material on Z axis.


In that case it sounds like the problem is that the float switch is connected to the Z limit HAL input, and it shouldn't be. (Or, at least, you did not intend it to be?)

Please Log in to join the conversation.

Time to create page: 0.166 seconds
Powered by Kunena Forum