Hi,
GMcG wrote:I hope some one can help me. I recently purchased MSM and woul love to be able to use the TCP TP in conjunction with my 3D probe to automatically calculate TLOs. However, I cannot get my touch plate to work correctly. I have a CNC4PC c-10 BOB and am using input pins "11" to provide the power an ground to the plate.
I am slightly confused by this sentence.... An input pin to the Bob is an input to mach. The pin can not supply both "power and ground" - it's an input, so it does not normally "supply anything".
A common set up would be for there to be a resister from +5v to the input pin, then the wire from the input pin goes to the TP. The +5v and the resister cause the input to be at +5v when the input line is not connected.
Some BoB's have a resister to +5 internal to the BoB (so the external resister is then not needed). I'm not familiar with the details of the C10, but Arturo would be able to tell you that detail.
The machine frame is ground,so touching the TP to the frame should cause the input to go to ground (0v) and since the signal is set active low, this causes the logical signal into mach to be active.
GMcG wrote:I enabled the "timing" input on input and pins with port 1 and pin 11 and checked it active low.
OK
GMcG wrote:
The problem seems to be that whenever contact is made on the plate with a tool pin 11 led illuminates but so does the other LEDs for my homing switches which are in series and wired to pin 13 and my estop which is on pin 14 and I get an estop. So what am I doing wrong?
That is very odd. I assume you are referring to the LEDs on the MSM parallel port hardware page. Those LEDs are driven by a direct read of the parallel port registers - so when a pin LED is on, you are seeing the state for the bit in the register which corresponds to the input voltage for that pin.
If grounding pin 11 causes the homing and estop signals to go active, there are two things that come to mind:
1) If the pins for homing and estop are physically going active (as shown by the LEDs on the hardware page), I suspect a electrical wiring issue - somehow the pins are interconnected.
2) If the signals (the mach level) for homing and estop are going active, but the physical input pins that the signals are mapped to are not, then I suspect that the ports & pins settings has more than one signal mapped to the same pin.
GMcG wrote:The MSM manual specifically stated to enable timing for the touch plate so not sure what I have done wrong. I really want to be able to use the TCP TP capability for the auto TLO but right now it's a no go. Any help greatly appreciated.
Thanks
Greg
Since you are using the timing signal, I assume you are using the "two signal" setup for MSM (as that is the reason for the use of the timing signal - which is actually no longer used by mach for "timing" purposes).
I'd start at the bottom layer (pins) and work up.
a) check that the input pin voltage is doing what you expect at the physical input pin. Does pin 11 stay at +5v then go to 0v when the plate touches the machine frame?
b) do the homing and estop input pins change input voltage when the TP input changes?
(Measure at the actual physical inputs of the BoB).
Another thought: Some BoB's have a weird mode that trys to time multiplex pins and thus get two PP worth of pins from one physical PP... if the C10 supports this and you are set up to use PP multiplexing, things will never work right (PP multiplexing is a nasty kludge (that few know about) in mach and it causes many problems). Neither MSM one signal nor two signal setups will work with PP multiplexing.
Dave