Sign in to follow this  
Followers 0
Joseph 0028

PLC Program for 5 sensors

3 posts in this topic

I was given a logic to program on AB logix designer - controller is AB 5570 - L73 - Language is Ladder Logic

There are total of 5 photocells and a motor to run

1. If none of the photocells are on - then run motor on 200 FPM

2. If any one photocell is on - then run motor on 180 FPM

3. If any two photocell is on - then run motor on 160 FPM

4. If any three photocells are on - then run motor on 140 FPM

5. If any four photocells are on - then run motor on 120 FRM

6. If all 5 photocells are on - Then run motor on 100 FPM 

The motor speed can be just on a move block with Motor speed tag, as this is just a test program...

Can anyone help me with this logic, whats the efficient way to program...  I can do it for condition 1 - none of the photocells on and for condition 6 - all 5 photocells on, but don't know how to do it for the rest... 

Edited by Joseph 0028

Share this post


Link to post
Share on other sites

This should work as described:

Prox Problem.png

1 person likes this

Share this post


Link to post
Share on other sites
10 hours ago, vds said:

This should work as described:

Prox Problem.png

Excellent... that worked... Thanks brother.... 

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
Sign in to follow this  
Followers 0