I know this has been discussed ad nauseam on this forum but no matter how many posts I read or years I've used LinuxCNC, I just cannot understand how to accomplish these simple tasks.
I want motion.probe-input to be triggered when hm2_5i25.0.7i84.0.0.input-08-not is True AND motion.digital-out-00 is True.
I also want and MDI command called when hm2_5i25.0.7i84.0.0.input-08-not is True AND pyvcp button is clicked.
Code:
net ztouch1 pyvcp.ztouch ztouch_clicked_and.in0
net ztouch2 hm2_5i25.0.7i84.0.0.input-08-not ztouch_clicked_and.in1
net ztouch3 ztouch_clicked_and.out halui.mdi-command-03
net motion1 motion.digital-out-00 tool_probe_and.in0
net motion2 hm2_5i25.0.7i84.0.0.input-08-not tool_probe_and.in1
net motion3 tool-probe.out motion.probe-input
When I try to use the hm2_5i25.0.7i84.0.0.input-08-not pin twice, I get an "already in use" error. How can this be accomplished?
Thanks.