Eighth Week PLC Programming exercises

Source: Internet
Author: User

1. Traffic light Control:

requirements : In the scenario where 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.

Ladder diagram Programming:

2. Conveyor Belt Control:

Conveying Scene Map:

Requirements:

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 Programming:

Eighth Week PLC Programming exercises

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.