Limit Switch Question

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

Moderator: cnckeith

Post Reply
xr4x4ti
Posts: 55
Joined: Sun Dec 22, 2019 10:03 am
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
Location: Minnesota

Limit Switch Question

Post by xr4x4ti »

I am making great progress on my Allin1DC install.

I am retrofitting a Prototrak DPM Mill. Here are some pictures for reference.

Mill When I first got it a few months back.
dpm.JPG
Its current State.
IMG_3304.jpg
New Electrical Enclosure.
IMG_3302.jpg
I already have the servos working and moving in the correct direction. I was starting to wire up the existing limit switches and I think I hit a snag. The mill already had a central switch on each axis with 4 wires and I thought that would give me an independent switch depending on which way the lever was pushed. But, I was wrong, one of the wires is a ground. Here is a picture of a switch.
IMG_3301.jpg
Can this type a switch work? It would get an open contact at both extremes of travel. I guess it would work to home on one side and then use a software limit for the other. But what happens if it overshoots the software limit and hits the switch?

Thanks in advance!
Tim
tblough
Posts: 3095
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: Limit Switch Question

Post by tblough »

If you'll look up that switch part number, you'll see one wire is common, one NC contacted, one NO contacts, and a frame ground. That switch might work depending on the travel. The control only allows 1\2 motor turn for hone switch hysteresis. It will be a home/limit switch at one end and you'll need a separate limit switch at the other.
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.
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: Limit Switch Question

Post by martyscncgarage »

Picture of the switch doesn't do much good. Take your meter, set it to continuity test, find the pair of wires that show continuity and when you press the switch open (no continuity) you want the Normally Closed Contact and the Common
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
xr4x4ti
Posts: 55
Joined: Sun Dec 22, 2019 10:03 am
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
Location: Minnesota

Re: Limit Switch Question

Post by xr4x4ti »

tblough wrote: Wed Dec 23, 2020 9:03 am If you'll look up that switch part number, you'll see one wire is common, one NC contacted, one NO contacts, and a frame ground. That switch might work depending on the travel. The control only allows 1\2 motor turn for hone switch hysteresis. It will be a home/limit switch at one end and you'll need a separate limit switch at the other.
Marty, Tblough,
Thanks for the feedback.

Yes, I of course already pinned it out and determined exactly what is mentioned above. I guess I didn't make that clear in my original post.

My question is, assuming the hysteresis is acceptable, can the Allin1DC use the same contact for both limits of a given axis? Obviously it will work on one side. But, the switch mechanically actuates both directions. The contact opens if the arm is rotated CW OR CCW. Thus, on the old Prototrak control I am replacing it was the + and - limit switch.
limits.jpg
Can I make the two circled values the same number (input)? <-------

Thanks again!!!
Tim
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: Limit Switch Question

Post by martyscncgarage »

You really should set it up to have limits on each end of the axis.
Otherwise, set up one end of the axis to be the home and use soft limits to control the other side. (not as desirable on a servo system but would work)

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

Post by tblough »

You can't use the same switch for both limits. When you move into a limit, the control will only allow you to move in the opposite direction to clear the error. If both limits are tripped at the same time (i.e. using the same switch) then you will not be able to move the machine at all.
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.
xr4x4ti
Posts: 55
Joined: Sun Dec 22, 2019 10:03 am
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
Location: Minnesota

Re: Limit Switch Question

Post by xr4x4ti »

tblough wrote: Wed Dec 23, 2020 12:32 pm You can't use the same switch for both limits. When you move into a limit, the control will only allow you to move in the opposite direction to clear the error. If both limits are tripped at the same time (i.e. using the same switch) then you will not be able to move the machine at all.
This makes sense. I was hoping the control would take into account the direction it was traveling when a switch changes state.

By the way, the software DOES allow you to set both limits to the same switch. But, as you point out, you are then stuck and can't move the axis at all.

I will need to order some new limit switches.

Tim
Post Reply