PLC ladder programming eight necessary steps

(1) Determine the actions and order required by the system.

When using a programmable controller, the most important part is determining the inputs and outputs required by the system. Input and output requirements:

(1) The first step is to set the number of system inputs and outputs.

(2) The second step is to determine the control sequence, the corresponding relationship of each device, and the response.

(2) Numbers of input and output devices

Each input and output, including timers, counters, built-in registers, etc., has a unique number that cannot be mixed.

PLC

(3) Draw a ladder diagram.

Draw a ladder diagram according to the motion requirements of the control system.

Ladder design rule

(1) The contacts should be drawn on a horizontal line and drawn according to the left-to-right, top-down principle and the control path to the output coil.

(2) Branches that do not contain contacts should be placed in the vertical direction to facilitate identification of the combination of contacts and the control path to the output coil.

(3) When several series circuits are connected in parallel, the series circuit with more contacts should be placed at the top of the ladder diagram. When several parallel circuits are connected in series, the parallel circuit with the most contacts should be placed on the leftmost side of the ladder diagram. This arrangement has a simple and clear procedure and fewer statements.

(4) The contact cannot be drawn to the right of the coil.

(4) Converting the ladder diagram into a program

Convert the relay ladder diagram into the code of the programmable controller. When the ladder diagram is completed, the next step is to compile its code into a program that the programmable controller can recognize.

This programming language consists of a sequence number (ie address), an instruction (control statement), and a device number (ie, data). The address is the location where the control statement and data are stored or placed. The instruction tells the programmable controller how to use the device to perform the corresponding action.

(5) Enter the program with the keyboard in the programming mode.

(6) Programming and design control procedures.

(7) Test the error of the control program and modify it.

(8) Preserving the complete control program.

Auto Zinc Alloy Die Casting

Auto Zinc Alloy Die Casting,Zinc Aluminum Casting,Custom Zinc Die Casting,Leather Zinc Alloy Die Casting

Dongguan Metalwork Technology Co., LTD. , http://www.diecast-pro.com