"Manual jogging Pin" needed

More
10 May 2019 16:45 #133377 by 3D-Master
Hello,

i want to try to make a classicladder program that stops motion when i manually jog the machine and "crash" the touchprobe (so it wont destroy the tip or worse the whole probe).

does someone know which pin (if there even is a pin for that) i could use for this purpose?

thanks

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

More
10 May 2019 17:11 #133381 by Mike_Eitel
Have a look at halui, there are a bunch of...
linuxcnc.org/docs/devel/html/man/man1/halui.1.html
Mikr

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

More
10 May 2019 17:27 #133383 by 3D-Master
i have found this: axis.N.kb-jog-active it does work but only with one axis. I could net them to classicladder NO inputs then net them together following another NO input (touchprobe) and then going out to estop (preferrably just motion stop so i dont have to reset the machine every time). I will post the files when i have it working if someone wants to do the same

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

More
10 May 2019 18:14 #133391 by 3D-Master
looks like Linuxcnc is already doing the desired reaction => just stopping motion, tell "probe tripped during a jog" and dont go into Estop. Thats what i did:

in postgui.hal:
net jog-x axis.0.kb-jog-active => classicladder.0.in-00
net jog-y axis.1.kb-jog-active => classicladder.0.in-01
net jog-z axis.2.kb-jog-active => classicladder.0.in-02
net jog-b axis.4.kb-jog-active => classicladder.0.in-03
net jog-c axis.5.kb-jog-active => classicladder.0.in-04
net probe motion.probe-input => classicladder.0.in-05

you need to make sure that the probe signal names match

and in classicladder have a look at the screenshot
Attachments:

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

More
10 May 2019 18:18 #133392 by 3D-Master
Note: You need to make sure to jog in the OPPOSITE direction, if you ever trip the probe while jogging, or it WILL break something!

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

More
10 May 2019 20:11 #133404 by 3D-Master
Now i know why it works perfectly from the start... because it was already working like i thought it should (somehow i thought it would just jog without stopping). Basically this was pointless but at least i learned something today Lmao

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

Time to create page: 0.087 seconds
Powered by Kunena Forum