How to Create Controller Tags and Three-Wire Control Logic for a Conveyor Motor
Controller Tags for Devices:
A) N/C Emergency Stop push button: E_STOP
B) N/O Start push button: START
C) Green pilot light: GREEN_LIGHT
D) Red pilot light: RED_LIGHT
E) Yellow pilot light: YELLOW_LIGHT
F) A5 second on delay timer: ON_DELAY_TIMER
G) A5 second off delay timer: OFF_DELAY_TIMER
H) Production part count (max 5000): PART_COUNT
Three-Wire Control Logic for Conveyor Motor:
The logic for controlling a conveyor motor with three-wire control involves ensuring the motor runs smoothly and indicators are activated correctly.
Here is how you can create the logic:
Power Flow Rung:
The motor will be energized when either the start button is pressed or the on-delay timer is timing.
Rung 1:
- Checks if the motor is enabled but not running.
- When true, the yellow light will be on.
- When false, the yellow light will be off.
- Flashing the yellow light every half second is achieved by using a flashing bit and a timer.
- The timer is triggered by the motor enable signal and flashes the bit every half second.
- When the timer finishes timing, the flashing bit will alternate between true and false, causing the yellow light to flash.
- The yellow light will stop flashing when the motor starts running.
Rung 2:
- Checks if the motor is stopped or the stop button is pressed.
- When true, the red light will be on.
- When false, the red light will be off.
Rung 3:
- Checks if the start button is pressed and the motor is not running.
- When true, the on-delay timer will be triggered.
- The timer will time for 5 seconds before activating the motor.
Rung 4:
- Checks if the motor is running.
- When true, the green light will be on.
- When false, the green light will be off.
End of Logic:
This logic ensures smooth operation of the conveyor motor with proper indicator lights for troubleshooting and monitoring.