IntroductionBuilding a circuit board for datums, overtravels, and spindle speed monitoring.
Will have seperate X, Y, Z homing inputs but single daisy chained overtravel.
See attached drawing of planned circuit.
CN1 = 24v taken from 250mA supply off one of my drive cards.
CN6 = 5v taken from PC parallel port
CN8 = loop to X++, X--, Y++, Y--, Z++, Z-- overtravels
CN2, CN3, & CN4 = X, Y, & Z home switches which are 2 wire type Baluff proximity switches
CN5 = Spindle speed monitor which is also 2 wire Baluff proximity switch
CN7 = Inputs to Mach3 via parallel port
Circuits for X, Y, & Z home, and spindle speed are copied from original Denford drawings but modified to accept my 24v supply.
ConditionPC on, Mach3 running, parallel port cable connected, input ports assigned, 5V supply to CN6 present, 24v supply to CN1 present.
Mach3 set to display 'diagnostics' screen. Test circuit built on breadboard.
I have tested the circuit on a simulator progam and everything seems to works fine!
ProblemWhen only overtravel loop is connected, osilloscope shows very clean switching of input pin on CN7 (pin1) from 0v when 'away from home' and a good 5V when 'at home.'
When only Z home is connected, osilloscope shows switching of input on CN7 (pin2) from 0v whilst in 'safe area' and a good 5v when the OT switch is triggered.
When I connect both Z home and Overtravels (haven't built breadboard with Y & X homes yet), and monitor on 2 channels of oscilloscope, both traces show 0v whilst in safe area, but when I move the Z axis towards home I only get 1v until I continue moving the Z axis to trigger the Overtravel at which point both traces hit 5v. Obviously 1v isn't enough to trigger an input to Mach3, so what have I done wrong or need to do to fix it?
As I have plenty room on my standard 100mm x 160mm blank circuit boards i'd prefer to keep all these functions on the same board.
I would also prefer not to use another 5v ouput if that is the problem as I am running out of pins and I plan a 4th axis in future.
And yes, i know I could use the Overtravels as homes but that's admitting defeat and I ain't doing that
So, and as usual, your guidance would be appreciated.
...Sweep