Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Sterob on November 07, 2018, 06:26:04 AM

Title: Set up 2 probes at same time in Mach 3
Post by: Sterob on November 07, 2018, 06:26:04 AM
Hi Guys,
I have been using a Z Probe since buying my machine with no problems. I have since bought a Digitizing Probe to learn how to use it and see if it is going to be a useful tool.

In Mach 3 under Config>Ports and Pins>Inputs , I only see one input that seems to  relate to Probing.

As I am using a different input for my Digitizing Probe, I had to change the setting I had in Mach 3 for my Z Probe. I don't want to disturb that setting each time I want to use the DP. ( I am trialing the 'Probe It' software. )

Am I able to set up and use BOTH probes without having to change settings in Mach 3?

Steve
Title: Re: Set up 2 probes at same time in Mach 3
Post by: ger21 on November 07, 2018, 07:13:36 AM
I've posted a Brain that "links" a second input to the probe input. It's on the forum somewhere. But I think it only works with the parallel port, and not with motion controllers.
I think that's the only way to do it in Mach3.
Title: Re: Set up 2 probes at same time in Mach 3
Post by: joeaverage on November 07, 2018, 12:38:35 PM
Hi,
you can have up to four active probe circuits in Mach4.

Craig
Title: Re: Set up 2 probes at same time in Mach 3
Post by: Sterob on November 07, 2018, 11:12:04 PM
I've posted a Brain that "links" a second input to the probe input. It's on the forum somewhere. But I think it only works with the parallel port, and not with motion controllers.
I think that's the only way to do it in Mach3.

Thanks Ger21....I'll have a play and see how it goes.
Title: Re: Set up 2 probes at same time in Mach 3
Post by: Sterob on November 07, 2018, 11:15:59 PM
Thanks Craig,
I didn't really want to know that....lol.
Maybe its time to move to Mach 4....

Steve
Title: Re: Set up 2 probes at same time in Mach 3
Post by: TPS on November 08, 2018, 01:53:42 AM
use a relay to select the probe.
wire the relay to an Output, and you can select the probe within your probe macro.
Title: Re: Set up 2 probes at same time in Mach 3
Post by: Sterob on November 08, 2018, 03:09:01 AM
use a relay to select the probe.
wire the relay to an Output, and you can select the probe within your probe macro.

Thats not a bad idea...thanks.
Title: Re: Set up 2 probes at same time in Mach 3
Post by: rcaffin on November 15, 2018, 04:11:57 AM
I use an output pin to a couple of gates to select which probe I want to use (under Mach3). But that is custom.

Cheers
Roger
Title: Re: Set up 2 probes at same time in Mach 3
Post by: Sterob on November 15, 2018, 04:44:28 AM
I use an output pin to a couple of gates to select which probe I want to use (under Mach3). But that is custom.

Cheers
Roger



Thanks Roger.
I've had a bit of a play ..... I can use the same input but one probe requires a HI signal and the other a LO, so as it stands now, I still have to change the configuration in Mach 3 each time I change probes.
Instead of a gate or a relay , I was thinking of using a changeover switch, but I still have the other problem to overcome yet.
Steve
Title: Re: Set up 2 probes at same time in Mach 3
Post by: TPS on November 15, 2018, 09:33:55 AM
never saw a documentation about how to Change Input Parameters via VBScript,
maybe someone else know about a possibility.
Title: Re: Set up 2 probes at same time in Mach 3
Post by: Stuart on November 15, 2018, 10:44:30 AM
Have a look at machstandmill site

In the manual it’s explained as well as a circuit to do what you want

If I remember you use the timer input for the second probe

Title: Re: Set up 2 probes at same time in Mach 3
Post by: TPS on November 15, 2018, 02:03:26 PM
I use an output pin to a couple of gates to select which probe I want to use (under Mach3). But that is custom.

Cheers
Roger



Thanks Roger.
I've had a bit of a play ..... I can use the same input but one probe requires a HI signal and the other a LO, so as it stands now, I still have to change the configuration in Mach 3 each time I change probes.
Instead of a gate or a relay , I was thinking of using a changeover switch, but I still have the other problem to overcome yet.
Steve

ok then you have to put an other locic/relay in front of the selctor Switch or selector relay,
to get the two probes onto the same switching Level (hi or low what ever you want)
Title: Re: Set up 2 probes at same time in Mach 3
Post by: rcaffin on November 15, 2018, 04:27:08 PM
Quote
I've had a bit of a play ..... I can use the same input but one probe requires a HI signal and the other a LO, so as it stands now, I still have to change the configuration in Mach 3 each time I change probes.

There are two different situations here. The first is where you have touch probes with different outputs but only want to use one at a time. The other is where you actually do have two different probes running in parallel - and yes, such situations do exist with value. If I could figure out how to attach an image to this post I would include a circuit diagram for the two cases.

Oh well, in words then. I don't run the touch probe straight into the Mach3 pins. I use a pull-up (or pull-down, as the case may be) resistor, then a couple of 74HC14 buffer gates, with a switch to select polarity. Some RC noise filtering is included with the gates, and then it is all fed through an opto-isolator into the Mach3 pin. The filtering AND the opto serve as very good blocks against noise.

Cheers
Roger

Title: Re: Set up 2 probes at same time in Mach 3
Post by: TPS on November 16, 2018, 01:44:14 AM
If I could figure out how to attach an image to this post I would include a circuit diagram for the two cases.

if you use the reply button, you should get the Additional Option possibilty, where you can attach files.
Title: Re: Set up 2 probes at same time in Mach 3
Post by: rcaffin on November 16, 2018, 03:35:47 AM
Ah yes - my fault.
See attached (I think).

Cheers
Roger

Title: Re: Set up 2 probes at same time in Mach 3
Post by: ger21 on November 16, 2018, 06:46:00 AM
I'd just use a Brain like I suggested earlier.