Tool Touch Probe NO/NC

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Tool Touch Probe NO/NC

Post 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
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Sportbikeryder
Posts: 177
Joined: Thu Jan 26, 2017 11:45 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 10583
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: Yes
Location: North Carolina

Re: Tool Touch Probe NO/NC

Post 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.
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Tool Touch Probe NO/NC

Post 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
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
cncsnw
Posts: 3833
Joined: Wed Mar 24, 2010 5:48 pm

Re: Tool Touch Probe NO/NC

Post 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.
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Tool Touch Probe NO/NC

Post 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
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
cncsnw
Posts: 3833
Joined: Wed Mar 24, 2010 5:48 pm

Re: Tool Touch Probe NO/NC

Post 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.
Attachments
PLC_debounce_man.doc
(211.5 KiB) Downloaded 176 times
PLC_debounce_setup.xls
(79 KiB) Downloaded 163 times
cnckeith
Posts: 7292
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Tool Touch Probe NO/NC

Post by cnckeith »

hardware solution..flipper circuit.


Probe Flipper.JPG
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Tool Touch Probe NO/NC

Post 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
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
eng199
Posts: 373
Joined: Fri Jan 10, 2014 11:29 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Howard, PA

Re: Tool Touch Probe NO/NC

Post 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.
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Tool Touch Probe NO/NC

Post 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.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply