× Forum Header

Linuxcnc - plasma router - joint 2 flolowing error

More
16 Oct 2019 16:51 - 16 Oct 2019 16:58 #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,

Last edit: 16 Oct 2019 16:58 by kofaki.

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

More
16 Oct 2019 17:01 - 16 Oct 2019 17:02 #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
Last edit: 16 Oct 2019 17:02 by PCW.
The following user(s) said Thank You: tommylight

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

More
16 Oct 2019 17:22 #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 or Create an account to join the conversation.

More
23 Oct 2019 22:34 #148639 by andypugh
Joint 2 is Z. It sounds like there is some vibration, perhaps that is triggering the switch?

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

More
24 Oct 2019 05:43 #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

This browser does not support PDFs. Please download the PDF to view it: Download PDF



Config is in the attachment

File Attachment:

File Name: cnc-plasma-fk.zip
File Size:4 KB


Many thanks
Attachments:

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

More
27 Oct 2019 23:36 #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 or Create an account to join the conversation.

More
28 Oct 2019 14:57 #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 or Create an account to join the conversation.

More
28 Oct 2019 15:27 #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 or Create an account to join the conversation.

More
29 Oct 2019 14:25 #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 or Create an account to join the conversation.

More
30 Oct 2019 13:42 #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 or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum