In a scenario like this, when the SW1 switch is turned on, the traffic light controller starts to work and the controller stops working when the SW1 is turned off.
SW2 for control mode selector switch:
When the SW2 is turned off, the green, yellow, and red lights turn on, the specific timing is: green light 100 seconds, flash 5 seconds (every second light off once), yellow light 5 seconds, red light on 100 seconds.
When the SW2 is turned on, the intersection becomes night mode, and the red light is always on, and when a pedestrian presses the PB1 button, it turns green after 10 seconds, and the green light continues after 30 seconds.
Check to implement the required function
Conveyor belt scenes such as:
After opening the SW1 switch, a new workpiece is started and the workpiece is placed on the conveyor belt, moving to the middle point (detected by the X12 sensor), pausing for 5 seconds, then running to the far right of the belt (X11), pausing for 5 seconds, and then moving to the left until the workpiece is removed from the conveyor belt (X10), When the workpiece leaves the conveyor belt, the Y10 Supply command is automatically started to supply the next workpiece with the same motion timing.
Ladder diagram design uses the sensor's rising edge and falling edge signal as a signal to start the relay, guaranteeing immediacy and verifying the feasibility of
PLC Ladder Diagram Design