1. Ladder diagram component

1. Ladder diagram component

There are three different types of instructions in ladder diagrams: contacts, coils, and rectangles.

1.1. Contactor and coils

contactor command

图1 contactor command

The energy flow is input from the left side, and the text on the upper and lower sides are operands. The calculation result is logically combined with the energy flow, and the logical result is output to the right.

If the touch command has only one operand, it can only be the text on the upper side.

coil command

图2 coil command

Input the energy flow from the left side and operate the operands inside the coil based on the energy flow.

  1. OUT coil. Write the energy stream into the operand. For example, OUT Y0 is a write operation where Y0=EN.

  2. SET coil. Write the operand and subsequent continuous sequence to ON based on whether the current is conductive or not. For example, SET Y0 K1 means that when EN==TRUE, Y0=ON, and SET Y0 K2 will simultaneously turn Y1=ON.

  3. RST coil. Write the operand and subsequent continuous sequence to OFF based on whether the current is conductive or not.

1.2. Rectangle

Rectangle command

图3 Rectangle command

The energy flow is input from the left side, and the execution of instructions is determined based on the energy flow.

Place command names and parameters inside the rectangle, which can be clicked and modified.