DocBrown86

DL05 D0-05DR

2 posts in this topic

I have an 8 In / 6 Out Relay PLC. I am trying to write a fairly basic program in DirectSoft5 where Y2 and Y3 control separate powered magnets (cause doors to lock). Y3 resets (unlocks) and requires X3 (a door sensor) and X1 (btn) to be closed, at which point is SETs Y3 (Locks door). At this point I need it to release Y2 to allow the second door to be opened, as it is still SET on. Trouble is, lets say I have it to RST Y2 when Y3 is closed, as long as one magnet is energized, the other will not. I would also like to disable the X1 (door lock btn) once the magnet is energized and only have it enable when the magnet allows the door to be opened... Suggestions??

Share this post


Link to post
Share on other sites
Write it out as a series of If/Then statements. Then try translating those to ladder logic. Maybe this will get you started. If Y3 is off and X3 is on and X1 is off then turn on Y3. If Y3 is on then turn off Y2.

Share this post


Link to post
Share on other sites

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