Siemens PLC Learning note 18-(with parameter FC Programming II)

Source: Internet
Author: User

This article is still the practice of FC programming with parameters, this implementation function:

A total of 4 motors, each motor requires Y-buck start. Start, press the Start button, M1 Motor start, and then every 10s start one, and finally M1 to M4 four motor all start. When the stop button is pressed, M4 first stop, after 10s after the M3 stop, after 10s M2 stop, and then 10SM1 motor stop. At the same time any motor start, the control power of the contactor and the Y-mode contactor connected to the power supply 6s, the Y-type contactor disconnect, 1s after the contactor action connected.

The implementation code of this requirement program is as follows:

1. Symbol table


2. The function block writing code is as follows


3. The main program is written as follows


This program code can be downloaded here.

Siemens PLC Learning note 18-(with parameter FC Programming II)

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.