I wish to connect both a probe and a toolsetter to a generic Chinese parallel port breakout board. Linuxcnc and indeed gcode use a single probe output.
The pin I am using requires to be grounded on probe contact. The tool setter is a simple switch to ground, however the probe's normal output is high (5v) going low on contact. The toolsetter is permanently wired whilst the probe is plugged in when required.
Given that the devices are used seperately this should not pose a problem with both wires connected to the same pin. However, if the toolsetter was accidentally pressed during probing, or the probe was accidentally left plugged in during tool setting, then the 5v probe output would get shorted to ground.
My question, therefore, is how to prevent this accidental short. Perhaps a diode in the toolsetter ground wire?
The pin I am using requires to be grounded on probe contact. The tool setter is a simple switch to ground, however the probe's normal output is high (5v) going low on contact. The toolsetter is permanently wired whilst the probe is plugged in when required.
Given that the devices are used seperately this should not pose a problem with both wires connected to the same pin. However, if the toolsetter was accidentally pressed during probing, or the probe was accidentally left plugged in during tool setting, then the 5v probe output would get shorted to ground.
My question, therefore, is how to prevent this accidental short. Perhaps a diode in the toolsetter ground wire?