Best practice for unused limit switch inputs *SOLVED*

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

Moderator: cnckeith

Post Reply
tblough
Posts: 3094
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Best practice for unused limit switch inputs *SOLVED*

Post by tblough »

I am not using the Ax3_PlusLimitOk_I input (INP6) on my Oak lathe install. What's the best practice to disable it? Should I force it on the I/O screen, or should I comment out the input 6 line in the PLC program? Both achieve the desired result, just wondering what the preferred method was.

Along the same lines, the AllIn1DC had limit disable switches on the controller board giving three solutions to the unused limit input. What is preferred there?
Last edited by tblough on Sat Sep 05, 2020 6:15 pm, edited 1 time in total.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
freedommachine
Posts: 10
Joined: Wed Jul 17, 2019 9:42 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Best practice for unused limit switch inputs

Post by freedommachine »

I disabled the unused inputs on my allinoneDC with the dip switches you mentioned.
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: Best practice for unused limit switch inputs

Post by martyscncgarage »

freedommachine wrote: Tue Sep 01, 2020 12:20 am I disabled the unused inputs on my allinoneDC with the dip switches you mentioned.
I did the same.
The other option is to run a jumper from COM to the input. Flipping the dip switch is cleaner though.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
tblough
Posts: 3094
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Best practice for unused limit switch inputs

Post by tblough »

According to Centroid, switch flipping on the AllIn1DC is the proper way since it has hardware level logic for the limit switches. For the Oak, there is no need to do either as only the limit switches used on the Motor setup screen are checked. My reason for asking the original question is no longer valid.

The background for the original question was that I had the Ax3_PlusLimitOk_I input commented out in my OAK lathe PLC program and marked as spare since I was not using it. At some point during my merging my custom PLC with the latest standard PLC code, that line was commented. Sometime later, I noticed that my Z+ jog key was not working on my control. I reverted to a previous CNC12 version and the problem was still there, then I remembered about the uncommented line in the source code. I jumped to the I/O screen, forced Input 5, and the jog key worked. Hence the posting here wondering which was the better way to handle the unused input.

Fast forward to today. Doing some additional digging to try and further document the issue, I was unable to re-create the original problem! Jog key works fine with or without the I/O forced and with or without the PLC input line commented out! I have no clue as to what I changed and can only surmise it was a stray gamma particle or unseelie magic.

TL;DR; Ignore the original post.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Post Reply