Design a PLC ladder logic program for an Automatic Bottle Filling System with the following requirements:
- Conveyor Belt Motor (M1): Moves the bottles into position under the filling nozzle.
- Filling Valve (V1): Opens to fill the bottle when it is in the correct position.
- Start Button (PB_Start): Starts the entire system.
- Stop Button (PB_Stop): Stops the system.
- Bottle Detection Sensor (S1): Detects when a bottle is in the correct position for filling.
- Filling Time: The filling valve must remain open for exactly 5 seconds for each bottle.
- Maximum Bottles: After 10 bottles have been filled, the system should stop automatically.
- Reset Button (PB_Reset): Resets the bottle counter back to zero and restarts the system.
Operational Sequence:
- Pressing the Start Button starts the conveyor belt (M1).
- When a bottle is detected by Sensor S1, the conveyor should stop.
- Valve V1 should open for 5 seconds to fill the bottle.
- After the bottle is filled, the conveyor should start again, moving the next bottle into position.
- The system should automatically stop after 10 bottles are filled.
- Pressing the Reset Button should reset the counter and allow the system to fill another 10 bottles.
Inputs:
- Start Button (PB_Start)
- Stop Button (PB_Stop)
- Reset Button (PB_Reset)
- Bottle Detection Sensor (S1)
Outputs:
- Conveyor Belt Motor (M1)
- Filling Valve (V1)
0 Comments