I need help creating a macro to probe the material on a water jet cutting machine.
The software is UCCNC and the controller is UC300ETH-5LPT.
The problem is that the Z axis has a direct current motor and the material thickness measurement is done analogically through a linear potentiometer.
I think the speed of the motor and the direction are controlled with -10V 0V +10V, and a contact activates the motor.
The linear potentiometer is powered by 10V and has values between 0V and 9.3V.
I understand that the Z Axis must stop when it reaches a certain value of the potentiometer (Ex: 1.5V), and even follow that value if continuous probing is necessary, but how can this be achieved through a macro, I have never worked with analog signals in macros before.
Can someone show me a macro model that would be close to what I need.
Thanks in advance