Jump to content

Recommended Posts

Posted

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?

setting2.png

setting.png


Posted
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.

Posted

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.

Posted
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.

Posted
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.

lim2.png

lim1.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...