Using Logix Pro for PLC
1. Open the Bottle Line Simulator program from the Simulation Tab.
2. Download the Lab5 Start program from Canvas.
This program will increment the conveyor spot one at a time and display the correct numbers on the BCD output displays. To use the BCD displays, use the following Integer registers in your program:
- Store Small bottle count in N7:0
- Store Large bottle count in N7:1
- Store Broken bottle count in N7:2
3. Write a program to achieve the following:
a) Count how many Small, Large, and Broken bottles are on the line.
b) The conveyor must be stopped and the bottle sensor (I:1/6 NO Switch) must be on before the program can count a bottle.
c) Small and Large sensor is I1/7 (NO Switch) and broken bottle sensor is I1/8 (NO Switch).
d) Calculate the total number of GOOD bottles.
- The number of bottles per minute should be updated every 10 seconds.
e) Reset the values when the Stop PB is pressed for 3 seconds.