Page 1 of 1

Allin1dc limit switch and homing issue.

Posted: Fri Feb 28, 2025 3:07 pm
by Ahylton
I am trying to get the limit switch feature to operate as it says in the manual. To my understanding the negative switch should stop the negative movement and allow the positive movement to move away from the switch to clear it. But the drives shut off and I have to reset it by pressing the EStop and releasing it to reset the drives. Then I have to hand crank the axis back off of the switch or it faults out again and says it’s maximum power reached with no movement. I could use some advice on how to remedy this issue. Any assistance is appreciated thanks!

Re: Allin1dc limit switch and homing issue.

Posted: Fri Feb 28, 2025 5:13 pm
by cnckeith
i moved this post to the allin1dc forum

start by posting a fresh report.zip here is how.

Re: Allin1dc limit switch and homing issue.

Posted: Fri Feb 28, 2025 8:30 pm
by cncsnw
My guess (and it is only a guess, in the absence of a posted Report) is that you had to set Direction Reversal = Yes for one or more of your axes, but neglected to swap your plus and minus limit/home input numbers and wiring.

Limit switches on an Allin1DC must be wired to INP1 - INP6:
X limits on INP1 and INP2
Y limits on INP3 and INP4
Z limits on INP5 and INP6.

The Machine Configuration -> Motor Parameters table specifies which PLC input numbers are used for the minus and plus limit and home switches for each axis. By default, on an Allin1DC mill with no axes requiring direction reversal (i.e. X, Y and Z all have "N" in the "Dir Rev" column) the limit and home numbers for those axes would be:

Code: Select all

X  1  2  1  2
Y  3  4  3  4
Z  5  6  5  6
However, if you need to set Direction Reversal = "Y" (for "yes") on an axis, then you need to swap the input numbers, and you need to connect your limit switches accordingly. For example, on an Allin1DC mill with direction reversal on the Y axis, the limit and home numbers would be:

Code: Select all

X  1  2  1  2
Y  4  3  4  3
Z  5  6  5  6
... and you would wire your Y- limit switch to INP4, and wire your Y+ limit switch to INP3.