PLC School project advice

1 post in this topic

The project is to scan and sort boards of four different lengths. One of four pneumatic kickers will trigger based on the board size. I am using an array to store the data, and using bit shift left to identify when to activate the appropriate kicker.

Currently, I have the size and location hardcoded using Bools pointing to the location and size of the boards.

This is being done on an Allen-Bradley ControlLogix PLC. I am using a photoeye and a high-speed counter for detection.

Attached is the routine for reference. The hardcoded detection are on rungs 13-18.

I am wondering if there is a better way of programming when the appropriate kicker should trigger?

Any ideas are greatly appreciated.

Final Project - PLC MainRoutine - v8.pdf

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