Page 1 of 2

Tool Touch Probe NO/NC

Posted: Tue Jul 28, 2020 4:18 pm
by martyscncgarage
Never thought about this, but if you got a Tool Touch Probe that was NC, can you simply invert its input in the diagnostic screen on CNC12 Servo?
Marty

Re: Tool Touch Probe NO/NC

Posted: Sun Aug 02, 2020 10:38 am
by Sportbikeryder
I use CNC 10 and just change the parameter to "negative" when switching from a NO tool setter to a NC touch probe. It is a bit cumbersome to change the parameter all of the time, but it works.

Re: Tool Touch Probe NO/NC

Posted: Sun Aug 02, 2020 12:39 pm
by martyscncgarage
Sportbikeryder wrote: Sun Aug 02, 2020 10:38 am I use CNC 10 and just change the parameter to "negative" when switching from a NO tool setter to a NC touch probe. It is a bit cumbersome to change the parameter all of the time, but it works.
Good to know. CNC12 let's you invert inputs, just not sure if the probe tripped signal can be inverted

Re: Tool Touch Probe NO/NC

Posted: Sun Aug 02, 2020 2:23 pm
by cncsnw
The Ctrl-Alt-i facility only applies to INP1 - INP80.

You can invert INP769, but you have to add a line in the PLC program to do it.

The lengthy block of comments in most PLC programs that begins with "PLC Input manipulation - SV_PLC_DEBOUNCE_1 - SV_PLC_DEBOUNCE_64" relates to this capability. You can invert or force any input (or both); and you can change the debounce time for any input (sometimes useful for addressing noisy slow-action switch contacts).

In short, if you want to invert INP769, then you need to set SV_LOCAL_DEBOUNCE_2 = 16843073 in the PLC program. Typically you do this by adding "SV_LOCAL_DEBOUNCE_2 = 16843073" to the list of things that are done unconditionally in InitialStage; recompiling; and cycling the power.

Re: Tool Touch Probe NO/NC

Posted: Mon Aug 03, 2020 9:56 am
by martyscncgarage
cncsnw wrote: Sun Aug 02, 2020 2:23 pm The Ctrl-Alt-i facility only applies to INP1 - INP80.

You can invert INP769, but you have to add a line in the PLC program to do it.

The lengthy block of comments in most PLC programs that begins with "PLC Input manipulation - SV_PLC_DEBOUNCE_1 - SV_PLC_DEBOUNCE_64" relates to this capability. You can invert or force any input (or both); and you can change the debounce time for any input (sometimes useful for addressing noisy slow-action switch contacts).

In short, if you want to invert INP769, then you need to set SV_LOCAL_DEBOUNCE_2 = 16843073 in the PLC program. Typically you do this by adding "SV_LOCAL_DEBOUNCE_2 = 16843073" to the list of things that are done unconditionally in InitialStage; recompiling; and cycling the power.
Thank you Marc. I was hoping you would chime in as well.
Do you see a reason why Centroid might not be able to allow the ability to invert the probe trigger input as part of the standard PLC making it a bit easier for the end user?

Marty

Re: Tool Touch Probe NO/NC

Posted: Mon Aug 03, 2020 1:07 pm
by cncsnw
You would have to discuss that with Centroid.

When it comes to providing new and different ways to do something that is already provided for, it is hard to know where or when to stop. Should there be a user-friendly way to invert MPG header inputs? Jog panel inputs? How about a more friendly way to change debounce times? What about forcing memory bits above MEM80? Centroid could take all the rest of the 900-series parameters off the table (as they did with P911 through P940) and still not support everything someone might dream up.

For those rare situations where it is necessary to invert inputs other than INP1 - INP80, or to change debounce times, Centroid developed the attached spreadsheet to automate (and perhaps clarify) the process of calculating the necessary SV_*_DEBOUNCE variables.

Re: Tool Touch Probe NO/NC

Posted: Mon Aug 03, 2020 2:10 pm
by cnckeith
hardware solution..flipper circuit.


Probe Flipper.JPG

Re: Tool Touch Probe NO/NC

Posted: Mon Aug 03, 2020 2:19 pm
by martyscncgarage
cnckeith wrote: Mon Aug 03, 2020 2:10 pm hardware solution..flipper circuit.

Probe Flipper.JPG
Thanks Keith,
There are two TO variants of the ZVN4306
ZVN4306AV (Avalanche) https://www.mouser.com/datasheet/2/115/ ... -91992.pdf
ZVN4306A (60V N Channel) https://www.mouser.com/datasheet/2/115/ ... -92826.pdf
Which one?
Assuming resistors are 1/4w?

It would be nice if values were put to the components. Hope this isn't too much trouble...


Thanks again,
Marty

Re: Tool Touch Probe NO/NC

Posted: Mon Aug 03, 2020 5:13 pm
by eng199
Marty, the parts you link are the same for any practical purpose (compare the specification charts). It is typical to have some "alphabet soup" at the end of electronic component part numbers that is not significant to the average user.

1/4W is approximately what is required for the resistors limiting the LED current. Wattage on the others is very low.

There are values on the components. Are you asking for specific manufacturer part numbers? I would rather not, as the next step will be making crosses for different package types, out of stock parts, etc. This is more of a "use at your own risk" circuit. It has not been built and tested for any specific application.

Re: Tool Touch Probe NO/NC

Posted: Mon Aug 03, 2020 5:16 pm
by martyscncgarage
eng199 wrote: Mon Aug 03, 2020 5:13 pm Marty, the parts you link are the same for any practical purpose (compare the specification charts). It is typical to have some "alphabet soup" at the end of electronic component part numbers that is not significant to the average user.

1/4W is approximately what is required for the resistors limiting the LED current. Wattage on the others is very low.

There are values on the components. Are you asking for specific manufacturer part numbers? I would rather not, as the next step will be making crosses for different package types, out of stock parts, etc. This is more of a "use at your own risk" circuit. It has not been built and tested for any specific application.
No specific part numbers Matt. Just tolerances. Completely understand it's only a suggested experimental circuit. Thank you for taking the time to put it together and post it.