ATC home clamp limit switch - Assign an input in the wizard

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
tomb
Posts: 59
Joined: Wed Nov 24, 2021 1:33 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

ATC home clamp limit switch - Assign an input in the wizard

Post by tomb »

Good morning

My ATC has a simple limit switch that is made when the turret is locked back against it's stop, it was not wired in as i was just using the timers being set up just right but sometimes it has not pulled all the way home so meaning the tools are not on centre.

Easy enough to wire in, and i've put it on input 5 and i've checked it works by using the Alt+i input/output menu and manually pressing the limit switch and the light changes from red to green as expected.

Now on to my problem, what command do i assign this limit switch in the wizard so it will check the switch is made before it continues after a tool change.

I read through the manual and "ToolIsUnclamped" seem'd like the correct option, i assigned this, flashed the board and reopened everything.

I left the limit switch off so it would purposely not make contact to check if it would raise an error when tool change was made but it just carries on as normal.

I then swapped NC/NO to see if that made a difference and it didn't.

Any advice is appreciated.


ShawnM
Community Expert
Posts: 2992
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: ATC home clamp limit switch - Assign an input in the wizard

Post by ShawnM »

Have a look at the macro programming guide and on page 7 it shows you how to interact with an input to check if it's open or closed before the macro continues. Hope this helps.

https://www.centroidcnc.com/centroid_di ... amming.pdf


Post Reply