584,849 active members*
4,227 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Benchtop Machines > Connecting electronic probe to Mach3
Results 1 to 18 of 18
  1. #1
    Join Date
    Feb 2008
    Posts
    521

    Connecting electronic probe to Mach3

    Hi All - tried this thread in the Mach Forum with not much response so i'm putting it to you guys!

    I just got a nice Chinese Reinshaw type kinematic probe for not a lot of money and I'd like to confirm if my understanding of how to wire it into Mach 3 won't fry anything ! ! !

    A picture of its wiring is below. I'm fine with its voltage supply and likewise its earth - its the output i'm unsure about. Mach 3 input for 'normal' kinematic probes is a closed / NC circuit
    until it bumps into something when it goes open / NO circuit thus triggering a stop. This probe is powered and will be outputting a voltage in its 'normal state? And when triggered the
    output will go low as its connected to ground, as suggested by the diagram?

    So question is - will the Mach3 input object to being 'fed' a voltage all the time until triggering occurs when it will go low (although not to ground potential?)
    I'm planning of using a 5 or 7.5v power source if it makes a difference.

    Click image for larger version. 

Name:	Hc41f769690b8476ab3b06dd5f45f2fecf.jpg 
Views:	1 
Size:	53.0 KB 
ID:	483179

  2. #2
    Join Date
    Mar 2007
    Posts
    304

    Re: Connecting electronic probe to Mach3

    Well. You set Mach 3 up to read certain Input/outputs. The probe is an input. So you would wire the probe up to your break out board, as an input. You then go into Mach3 and configure the port as active high or low.
    It's a little bit of a process, but not that bad.
    It's just like wiring up a limit switch.
    www.CNC-Joe.com
    CNC Is Not Just My Passion.. It's My Addiction !!!!

  3. #3
    Join Date
    Aug 2005
    Posts
    1091

    Re: Connecting electronic probe to Mach3

    Quote Originally Posted by kawazuki View Post
    Hi All - tried this thread in the Mach Forum with not much response so i'm putting it to you guys!

    I just got a nice Chinese Reinshaw type kinematic probe for not a lot of money and I'd like to confirm if my understanding of how to wire it into Mach 3 won't fry anything ! ! !

    A picture of its wiring is below. I'm fine with its voltage supply and likewise its earth - its the output i'm unsure about. Mach 3 input for 'normal' kinematic probes is a closed / NC circuit
    until it bumps into something when it goes open / NO circuit thus triggering a stop. This probe is powered and will be outputting a voltage in its 'normal state? And when triggered the
    output will go low as its connected to ground, as suggested by the diagram?

    So question is - will the Mach3 input object to being 'fed' a voltage all the time until triggering occurs when it will go low (although not to ground potential?)
    I'm planning of using a 5 or 7.5v power source if it makes a difference.
    Hi,
    You need to power it off a voltage compatible with the breakout board you are connecting it to. If it is a 5v non isolated input, then you need to power the probe of 5V. Otherwise you could damage the breakout board if you feed it with 7.5V.

    Assuming the circuit below is accurate, the probe is a N/O (normally open) probe. When active the input will be at 0V.
    This is not preferable as Mach3 won’t know if the probe is connected or not. With a N/C type probe, if it is not plugged in or a wire breaks, Mach3 will see the input as active and won’t start to run a probing routine.
    With a N/O Probe switch, Mach3 will not know the probe is not plugged in, start the probe routine and crash the probe.

    Cheers,

    Peter


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  4. #4
    Join Date
    Jan 2018
    Posts
    1516
    Quote Originally Posted by phomann View Post
    Hi,
    You need to power it off a voltage compatible with the breakout board you are connecting it to. If it is a 5v non isolated input, then you need to power the probe of 5V. Otherwise you could damage the breakout board if you feed it with 7.5V.

    Assuming the circuit below is accurate, the probe is a N/O (normally open) probe. When active the input will be at 0V.
    This is not preferable as Mach3 won’t know if the probe is connected or not. With a N/C type probe, if it is not plugged in or a wire breaks, Mach3 will see the input as active and won’t start to run a probing routine.
    With a N/O Probe switch, Mach3 will not know the probe is not plugged in, start the probe routine and crash the probe.

    Cheers,

    Peter


    Sent from my iPhone using Tapatalk Pro

    Doesn't the NO mean that it's an 'open switch until it is under power'?.

    So when it's power is off it is open.
    Closes when it's powered - opens when triggered,
    Open when powered off.

    That's how my NO contactor works for when there's power disruption.

  5. #5
    Join Date
    Feb 2008
    Posts
    521

    Re: Connecting electronic probe to Mach3

    Quote Originally Posted by phomann View Post
    Hi,
    You need to power it off a voltage compatible with the breakout board you are connecting it to. If it is a 5v non isolated input, then you need to power the probe of 5V. Otherwise you could damage the breakout board if you feed it with 7.5V.

    Assuming the circuit below is accurate, the probe is a N/O (normally open) probe. When active the input will be at 0V.
    This is not preferable as Mach3 won’t know if the probe is connected or not. With a N/C type probe, if it is not plugged in or a wire breaks, Mach3 will see the input as active and won’t start to run a probing routine.
    With a N/O Probe switch, Mach3 will not know the probe is not plugged in, start the probe routine and crash the probe.
    I don't have a breakout board - I use a Gecko G540 ie. PC, parallel cable, parallel port on G540, output to steppers. Gecko is fed from 48v / 11A PSU.

    Your comments re NO / NC don't make sense to me as looking at the diagram the output is connected to supply via resistor (current limiting I guess?) so always sees some + volts when connected.
    When the switch is triggered ie. switch makes the output is connected to ground so goes low?

    I realise most kinetic type probes function as NC (normally closed) devices and breaking that circuit triggers a stop or a surface interruption - ie. they loop from ground through the probe and back
    to PC / Mach3 via an input looking for a ground / low signal if set to active low.

    Surely with your explanation of Mach3 when its set active low, it remains functional till it sees a low condition ie open circuit - similar to limit / homing switches, all connected in series with input connected
    to ground via switches so in a 'high' condition. Only when circuit is broken, does it change to 'Low' and become active? BTW I really hate electronic Logic methodology's ! ! !

    For all I know, If I connect the ground wire to ground ie. Gecko grnd. and the signal to probe input on parallel port it will act as a 'simple kinetic' probe - I just won't have the 'posh light show' But I'd still
    like to know about possibility of frying the G540 if the probe is powered and not 'dumb' ?

  6. #6
    Join Date
    Sep 2020
    Posts
    2

    Re: Connecting electronic probe to Mach3

    I just got a nice Chinese Reinshaw type kinematic probe for not a lot of money and I'd like to confirm if my understanding of how to wire it into Mach 3 won't fry anything ! ! !

    A picture of its wiring is below.I'm fine with its voltage supply and likewise its earth - its the output i'm unsure about. Mach 3 input for 'normal' kinematic probes is a closed NC circuit.

    This probe is powered and will be outputting a voltage in its 'normal state? And when triggered the
    output will go low as its connected to ground, as suggested by the diagram.

    Gordon Bullard & Company

  7. #7
    Join Date
    Aug 2005
    Posts
    1091

    Re: Connecting electronic probe to Mach3

    Quote Originally Posted by kawazuki View Post
    I don't have a breakout board - I use a Gecko G540 ie. PC, parallel cable, parallel port on G540, output to steppers. Gecko is fed from 48v / 11A PSU.

    Your comments re NO / NC don't make sense to me as looking at the diagram the output is connected to supply via resistor (current limiting I guess?) so always sees some + volts when connected.
    When the switch is triggered ie. switch makes the output is connected to ground so goes low?

    I realise most kinetic type probes function as NC (normally closed) devices and breaking that circuit triggers a stop or a surface interruption - ie. they loop from ground through the probe and back
    to PC / Mach3 via an input looking for a ground / low signal if set to active low.

    Surely with your explanation of Mach3 when its set active low, it remains functional till it sees a low condition ie open circuit - similar to limit / homing switches, all connected in series with input connected
    to ground via switches so in a 'high' condition. Only when circuit is broken, does it change to 'Low' and become active? BTW I really hate electronic Logic methodology's ! ! !

    For all I know, If I connect the ground wire to ground ie. Gecko grnd. and the signal to probe input on parallel port it will act as a 'simple kinetic' probe - I just won't have the 'posh light show' But I'd still
    like to know about possibility of frying the G540 if the probe is powered and not 'dumb' ?
    Ok, to get your probe to work;
    1. Get a small 12Vdc supply such as;

    https://www.homanndesigns.com/index....roducts_id=245

    2. Connect the 12V supply 0V output to the G540 power supply 0V.
    3. Connect the 12V supply +ve output to probe +ve supply line
    4. Connect the probe 0V line to the G540 power supply 0V
    5. Connect the probe output to one of the four G540 input lines.

    Let me know if it is not clear?

    Cheers,

    Peter


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  8. #8
    Join Date
    Aug 2005
    Posts
    1091

    Re: Connecting electronic probe to Mach3

    Here is a schematic of the explanation above.


    Cheers
    Peter


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  9. #9
    Join Date
    Aug 2005
    Posts
    1091

    Re: Connecting electronic probe to Mach3

    This diagram shows how the probe actives the G540’s input opto-isolator


    Cheers
    Peter


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  10. #10
    Join Date
    Feb 2008
    Posts
    521

    Re: Connecting electronic probe to Mach3

    That's basically what I was planning to do (although with a 5v supply). Your last diagram indicates that the G540 does have a optical 'disconnect' on the inputs
    so isolating the sensor voltage from the board - that is essentially what I was worried about. I note that you indicate the G540 has 12v internally to the opto isolator
    - is this why you've shown a 12v PSU for probe? I just looked at a G540 circuit schematic and it does appear the control electronics are using 12v - so will 5v powering
    the probe cause an issue?
    Thank you! :cheers:

  11. #11
    Join Date
    Feb 2008
    Posts
    521

    Re: Connecting electronic probe to Mach3

    UPDATE : I just couldn't wait LOL! So I used a 12v PSU, hooked everything up as Peter noted and . . . . . . . . it works fine, another tool in the arsenal.
    Just have to a) get to grips with probing routine - it takes off at a hell of a rate! and b) dedicate a collet or holder to it full time to have a half a chance to retain a degree of concentricity & tip accuracy.

  12. #12
    Join Date
    Sep 2005
    Posts
    1195

    Re: Connecting electronic probe to Mach3

    so it works as it should be, no issue NO/NC anymore ... everybody can use them w/no problema ...

  13. #13
    Join Date
    Aug 2005
    Posts
    1091

    Re: Connecting electronic probe to Mach3

    Quote Originally Posted by kawazuki View Post
    That's basically what I was planning to do (although with a 5v supply). Your last diagram indicates that the G540 does have a optical 'disconnect' on the inputs
    so isolating the sensor voltage from the board - that is essentially what I was worried about. I note that you indicate the G540 has 12v internally to the opto isolator
    - is this why you've shown a 12v PSU for probe? I just looked at a G540 circuit schematic and it does appear the control electronics are using 12v - so will 5v powering
    the probe cause an issue?
    Thank you! :cheers:
    No, it’s unlikely to work reliably with 5v when connected to the G540.
    The issue is that current will drain through the input’s opto led on the G540 to the 5v supply.

    If enough current flows from the G540’s internal 12v supply to the 5v supply the input could be activated even when the probe is off.

    Cheers
    Peter.


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  14. #14
    Join Date
    Aug 2005
    Posts
    1091

    Re: Connecting electronic probe to Mach3

    Quote Originally Posted by asuratman View Post
    so it works as it should be, no issue NO/NC anymore ... everybody can use them w/no problema ...
    The problem you will have with the N/O probe is that Mach3 won’t warn you if the probe isn’t plugged in when you execute a probe routine.
    It won’t be a problem until it is.

    Cheers
    Peter.


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  15. #15
    Join Date
    Sep 2005
    Posts
    1195

    Re: Connecting electronic probe to Mach3

    The problem you will have with the N/O probe is that Mach3 won’t warn you if the probe isn’t plugged in when you execute a probe routine.
    noted.

    so which program to run the NO probe ? crafty cnc ... or charlie sharsfield ... will be ok ?

  16. #16
    Join Date
    Aug 2005
    Posts
    1091

    Re: Connecting electronic probe to Mach3

    Quote Originally Posted by asuratman View Post
    noted.

    so which program to run the NO probe ? crafty cnc ... or charlie sharsfield ... will be ok ?
    Hi,
    You can use your N/O probe with any CNC software, even Mach3.
    My recommendation is that it a lot safer to use a N/C probe as the software will warn you if it is not plugged in when you go to run a probing routine.

    Cheers
    Peter


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  17. #17
    Join Date
    Feb 2008
    Posts
    521

    Re: Connecting electronic probe to Mach3

    Quote Originally Posted by kawazuki View Post
    UPDATE : I just couldn't wait LOL! So I used a 12v PSU, hooked everything up as Peter noted and . . . . . . . . it works fine, another tool in the arsenal.
    Just have to a) get to grips with probing routine - it takes off at a hell of a rate! and b) dedicate a collet or holder to it full time to have a half a chance to retain a degree of concentricity & tip accuracy.
    So much for working as intended - yes, the stylus movement provoked the internal LED's to change from Green to Red when touched, & in Mach3 diagnostics it showed a trigger event BUT
    first test probing trial, it rapid'd straight down into the test object, bent the stylus like a banana and snapped off the plastic tip of the stylus holder - Grrrr ! ! ! No attempt to stop on touching anything - double Grrrr !

    I took it all apart and plastic tip was easily superglued, straightened the stylus (it'll do for now - high precision, it is not LOL) and inside its pretty well made - basic kinematic three legged probe with some active
    electronics - which seem to do squat diddly from above experience ! So, I'm junking the electronics and replacing them with simplified version PCB, it'll have ground connection, around the connected / bridged balls
    and back out to a Mach3 input with an active low on trigger - just like my homing / limit switches - they stop instantly !

    That's all for now - got some PCB cutting to do, wiring and soldering then give it another go !

  18. #18
    Join Date
    Sep 2009
    Posts
    2

    Re: Connecting electronic probe to Mach3

    This probe comes in 2 versions: NC or NO.

    The NO version uses a npn (s8050) output transistor and the NC uses a pnp transistor. Perhaps (??) version NC or NO relate to the transistor state. But NOT the probe output signal state.

    The “NO” version acts as a closed switch in the in the UN-triggered position (green LED on). And voltage of the signal equals voltage of supply (Vcc). Trigger the probe (red LED on) , signal voltage goes low.

    The probe circuit operates on 5v (has 78105 volt reg), zener diode , red/green LED, S8050 npn trans, some resistors and the mystery chip FMD 830 krw.

    Test the probe using a voltage meter between signal wire and ground. Then see if digitize LED (oem code 825) corresponds correctly to the probing routine requirement.

    All probes have to be calibrated before use. My 2mm probe ball tip has a effective diameter of 1.88mm.
    Which I enter into my probing program.

    In my case, I wanted this “NO” probe to be true open switch in the not-triggered state. In order to match my simple z axis height probe. This allows same mach setting for both probes.
    I used a MOS FET relay module to invert the probe signal voltage to the BB. After adding relay, re calibrated probe, no change in effective tip diameter.

    mike

  19. #19
    Join Date
    Aug 2005
    Posts
    1091

    Re: Connecting electronic probe to Mach3

    Quote Originally Posted by kawazuki View Post
    So much for working as intended - yes, the stylus movement provoked the internal LED's to change from Green to Red when touched, & in Mach3 diagnostics it showed a trigger event BUT
    first test probing trial, it rapid'd straight down into the test object, bent the stylus like a banana and snapped off the plastic tip of the stylus holder - Grrrr ! ! ! No attempt to stop on touching anything - double Grrrr !

    I took it all apart and plastic tip was easily superglued, straightened the stylus (it'll do for now - high precision, it is not LOL) and inside its pretty well made - basic kinematic three legged probe with some active
    electronics - which seem to do squat diddly from above experience ! So, I'm junking the electronics and replacing them with simplified version PCB, it'll have ground connection, around the connected / bridged balls
    and back out to a Mach3 input with an active low on trigger - just like my homing / limit switches - they stop instantly !

    That's all for now - got some PCB cutting to do, wiring and soldering then give it another go !
    If Mach3 shows a led against its input, then the probe is probably working electrically.
    My guess is that it was in the process of a rapid movement to the probe start position. That is it hadn’t even started the probing routine yet.

    Probably too late now, but check what the tool height offset you have for the tool. Also what is the probe start position offset.

    Also, check the probing routines. I seen some where the routines are in imperial. And don’t change to metric when a G21 is issued, causing catastrophic results.

    Cheers
    Peter


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

Similar Threads

  1. Connecting an Electronic type Reinshaw Probe
    By kawazuki in forum Machines running Mach Software
    Replies: 0
    Last Post: 07-14-2022, 02:36 PM
  2. Connecting Probe Ground
    By theRat in forum PlanetCNC
    Replies: 4
    Last Post: 05-04-2018, 07:53 AM
  3. Connecting MI8-4 probe interface?
    By Ed from NY in forum Fadal
    Replies: 0
    Last Post: 01-27-2017, 11:08 PM
  4. Need Help Connecting a Probe to PMC
    By NTLSYS in forum Fanuc
    Replies: 2
    Last Post: 09-17-2015, 07:44 PM
  5. connecting probe? 0m-a
    By landslide1 in forum Fanuc
    Replies: 1
    Last Post: 08-02-2014, 10:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •