Category: General LinuxCNC Questions
Hello again!
My next problem to get my machine running (it's running but not as precise as I want it) has to do with two switches.
My tool length sensor is a quite normal mechanical switch, that is NC and put +24V into input-08-not. That's working perfectly.
If I put my 3d Sensor (NPN-NO) into the line as the picture shows, nothing works. The 10k resistor (R1) before the Tool length switch puts the voltage down to 12.xVolts, the Input-08-not is set to "probing" permanently.
The 3D Sensor does nothing at all, not even the LEDs are active (the output is an open collector, I presume). What about diodes?
So, my next thought is to disconnect the two sensors from each other and use another Input of my MEsa 7i76e just for the 3D Sensor. This input should not be inverted for correct funktion. How can I do this with or without using an OR2 funktion?
My lines for the tool length are as follows
#---PROBE-IN ---
net probe-in <= hm2_7i76e.0.7i76.0.0.input-08-not
net probe-in => motion.probe-input
AFAIK, I cannot just net another input to motion.probe-input. But how could a OR2 look like?
Thanks for your help, again!
Hanno