Fellowes Posted November 7 Report Posted November 7 I'm creating a Sysmac Studio 1.56 program on an NX1P21040DT1 controller with an NX-PG0232-5 expansion module and I encountered this problem. I need to stop the motor using limit switches. In the axis settings, I set expansion module inputs 1 and 2 as limit switch inputs. When the motor hits one of the limit switches, it stops and stops moving. The PLC displays an error indicating that the limit switch has tripped. After resetting, the motor still doesn't move. Is it possible to make it so that when the motor hits one of the switches, the PLC will only prevent the motor from moving in the direction of that limit switch?
IO_Rack Posted Monday at 01:08 PM Report Posted Monday at 01:08 PM On 11/7/2025 at 1:00 PM, Fellowes said: Is it possible to make it so that when the motor hits one of the switches, the PLC will only prevent the motor from moving in the direction of that limit switch? This operation is possible using Software Limits.
Crossbow Posted Monday at 09:55 PM Report Posted Monday at 09:55 PM When the switch is hit, it should create an error and prevent further motion in that direction. You should still be able to move in the opposite direction.
Fellowes Posted Wednesday at 05:11 AM Author Report Posted Wednesday at 05:11 AM On 11/10/2025 at 5:08 PM, IO_Rack said: This operation is possible using Software Limits. Thanks for the advice, but I don't have home position sensors. Therefore, the machine coordinates aren't reset. Software limits won't work.
Fellowes Posted Wednesday at 05:15 AM Author Report Posted Wednesday at 05:15 AM On 11/11/2025 at 1:55 AM, Crossbow said: When the switch is hit, it should create an error and prevent further motion in that direction. You should still be able to move in the opposite direction. It should, but for some reason it doesn't work for me. The controller simply returns an error and stops executing the program. I did this, maybe it will help someone.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now