ioiotutu wrote:Is it possible lock and unlock the A axis runtime?
I mean, start the program normally withouth A automatically moved and activate the angle automatic movement only in some parts of the program.
Yes. You would need to create a HAL pin in the rtpi_app_main function, then link that pin to something in the HAL file (motion.spindle-on would work, but remember that you need to have S > 0 for M3 to change the value of that pin) then modify the kinematics code to act on the value of that pin.
Alternatively, instead of using a pin in HAL to change the mode, you could use a user-defined M-code and a shell script containing
How much of this needs further explanation?
This attachment is hidden for guests. Please log in or register to see it.