PLC Learning 1

Source: Internet
Author: User

PLC Learning 1

By: Chen Hao

Hardware plc: OMRON cp1h xa40dr-a.

 

 

Example 1

Function Description: One switch controls one lamp.

Hardware wiring :.

L1 and L2/N: connected to AC 220 V

COM and 00 (0ch channel): Access the Input Switch DC 24 V (I corresponds to the input address of 0.00)

COM (first from the left of 100ch) and 00 (100ch): both ends are equivalent to one switch. 220v power supply and 220v lamp are connected in series with these two ends. (The output address of Q is 100.00)

1. Create a project. The trapezoid diagram is as follows:

2. After compiling the trapezoid chart, set the address or value]

3. Online work

4. TransferProgramTo the PLC, run OK

 

5. Press the switch. The light is on.

 

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.