Page 1 of 1

Jog with Callbutton()

PostPosted: Fri Jan 03, 2025 6:37 am
by CFSAB
Hi

I have some external buttons connected through a MODBUS I/O module, with one of them i want to JOG the C axis, so when holding the button it keeps jogging and stops when the button is released.

But it seams that i have problem with exec.Callbutton(157); it starts jogging but does not stop; after some search, I found that I´m not the only one that has seen this. But i can´t find a button number to stop the jog?

Does anyone know how to jog with a macro? I will also later add a analog joystick and will have the same problem there.


Best Regards
Mikael

Re: Jog with Callbutton()

PostPosted: Fri Jan 03, 2025 3:27 pm
by RsX
Try these buttons. For example 157 to start jogging, 239 to stop

jog_buttons.png

Re: Jog with Callbutton()

PostPosted: Sat Jan 04, 2025 9:25 am
by cncdrive
You have to call the jog stop button for the axis of jog movement to stop the motion.