Explanation for the Command

Một phần của tài liệu Catalog bien tan delta VFD CT2000 (Trang 407 - 412)

Mnemonic Function LD Load A contact

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399 Operand

9 9 9 9 9 -

L The LD command is used on the A contact that has its start from the left BUS or the A contact that is the start of a contact circuit. Function of the command is to save present contents, and at the same time, save the acquired contact status into the accumulative register.

Command code Operation

LD X0 Load contact A of X0 AND X1 Connect to contact A of

X1 in series Example Ladder diagram

X0 X1

Y1

OUT Y1 Drive Y1 coil Mnemonic Function

LDI Load B contact

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399 Operand

9 9 9 9 9 -

The LDI command is used on the B contact that has its start from the left BUS or the B contact that is the start of a contact circuit. Function of the command is to save present contents, and at the same time, save the acquired contact status into the accumulative register.

Command code: Operation:

LDI X0 Load contact B of X0 AND X1 Connect to contact A of

X1 in series Example Ladder diagram:

X0 X1

Y1

OUT Y1 Drive Y1 coil

Chapter 16 PLC Function |CT2000 Series

16-38

Mnemonic Function AND Series connection- A contact

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399

Operand

9 9 9 9 9 -

The AND command is used in the series connection of A contact. The function of the command is to readout the status of present specific series connection contacts first, and then to perform the “AND” calculation with the logic calculation result before the contacts, thereafter, saving the result into the accumulative register.

Command code: Operation:

LDI X1 Load contact B of X1

AND X0 Connect to contact A of X0 in series Example

Ladder diagram:

X1 X0

Y1

OUT Y1 Drive Y1 coil

Mnemonic Function ANI Series connection- B contact

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399 Operand

9 9 9 9 9 -

The ANI command is used in the series connection of B contact. The function of the command is to readout the status of present specific series connection contacts first, and then to perform the “AND” calculation with the logic calculation result before the contacts, thereafter, saving the result into the accumulative register.

Command code: Operation:

LD X1 Load contact A of X1

ANI X0 Connect to contact B of X0 in series Example

Ladder diagram:

X1 X0

Y1

OUT Y1 Drive Y1 coil

Mnemonic Function OR Parallel connection- A contact

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399

Operand

9 9 9 9 9 -

The OR command is used in the parallel connection of A contact. The function of the command is to readout the status of present specific series connection contacts, and then to perform the “OR” calculations with the logic calculation result before the contacts, thereafter, saving the result into the accumulative register.

Chapter 16 PLC Function |CT2000 Series

16-39

Command code: Operation:

LD X0 Load contact A of X0

OR X1 Connect to contact A of X1 in parallel OUT Y1 Drive Y1 coil Example

Ladder diagram:

X0 X1

Y1

Mnemonic Function ORI Parallel connection- B contact

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399 Operand

9 9 9 9 9 -

The ORI command is used in the parallel connection of B contact. The function of the command is to readout the status of present specific series connection contacts, and then to perform the “OR” calculations with the logic calculation result before the contacts, thereafter, saving the result into the accumulative register.

Command code: Operation:

LD X0 Load contact A of X0 ORI X1 Connect to contact B of

X1 in parallel OUT Y1 Drive Y1 coil Example Ladder diagram:

X0 X1

Y1

Mnemonic Function ANB Series connection (Multiple Circuits)

Operand None

To perform the “ANB” calculation between the previous reserved logic results and contents of the accumulative register.

Command code: Operation:

LD X0 Load contact A of X0 ORI X2 Connect to contact B of

X2 in parallel

LDI X1 Load contact B of X1 OR X3 Connect to contact A of

X3 in parallel

ANB Connect circuit block in series

Example Ladder diagram:

X1 X3

Y1 X0

X2

ANB

Block A Block B

OUT Y1 Drive Y1 coil

Mnemonic Function ORB Parallel connection (Multiple circuits)

Operand None

ORB is to perform the “OR” calculation between the previous reserved logic results and contents of the accumulative register.

Chapter 16 PLC Function |CT2000 Series

16-40

Command code: Operation:

LD X0 Load contact A of X0 ANI X1 Connect to contact B of

X1 in series

LDI X2 Load contact B of X2 AND X3 Connect to contact A of

X3 in series

ORB Connect circuit block in parallel

Example Ladder diagram:

X1 X3

Y1 X0

X2

ORB Block A

Block B

OUT Y1 Drive Y1 coil Mnemonic Function

MPS Store the current result of the internal PLC operations

Operand None

To save contents of the accumulative register into the operation result. (the result operation pointer pluses 1)

Mnemonic Function MRD Reads the current result of the internal PLC operations

Operand None

Reading content of the operation result to the accumulative register. (the pointer of operation result doesn’t move)

Mnemonic Function MPP Reads the current result of the internal PLC operations

Operand None

Reading content of the operation result to the accumulative register. (the stack pointer will decrease 1)

Command code: Operation:

LD X0 Load contact A of X0 MPS Save in stack

AND X1 Connect to contact A of X1 in series

OUT Y1 Drive Y1 coil MRD

Read from the stack (without moving pointer)

AND X2 Connect to contact A of X2 in series

OUT M0 Drive M0 coil

MPP Read from the stack OUT Y2 Drive Y2 coil

Example Ladder diagram:

X0

Y1 X1

M0 X2

Y2 END

MPP MRD

MPS

END End program

Chapter 16 PLC Function |CT2000 Series

16-41

Mnemonic Function OUT Output coil

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399 Operand

- 9 9 - - -

Output the logic calculation result before the OUT command to specific device.

Motion of coil contact:

OUT command Contact Operation

result Coil A contact (normally open)

B contact (normally closed) FALSE Off Non-continuity Continuity

TRUE On Continuity Non-continuity

Command code: Operation:

LD X0 Load contact B of X0 AND X1 Connect to contact A of

X1 in series Example Ladder diagram:

X0 X1

Y1

OUT Y1 Drive Y1 coil

Mnemonic Function SET Latch (ON)

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399 Operand

- 9 9 - - -

When the SET command is driven, its specific device is set to be “ON,” which will keep “ON” whether the SET command is still driven. You can use the RST command to set the device to “OFF”.

Command code: Operation:

LD X0 Load contact A of X0 AN Y0 Connect to contact B of

Y0 in series Example

Ladder diagram:

Y0 X0

Y1 SET

SET Y1 Y1 latch (ON)

Mnemonic Function RST Clear the contacts or the registers

X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399 Operand

- 9 9 9 9 9

When the RST command is driven, motion of its specific device is as follows:

Device Status

Y, M Coil and contact will be set to “OFF”.

T, C Present values of the timer or counter will be set to 0, and the coil and contact will be set to “OFF.”

D The content value will be set to 0.

When the RST command is not driven, motion of its specific device is unchanged.

Chapter 16 PLC Function |CT2000 Series

16-42

Command code: Operation:

LD X0 Load contact A of X0 Example Ladder diagram

X0

RST Y5 RST Y5 Clear contact Y5

Mnemonic Function TMR 16-bit timer

T-K T0~T159, K0~K32,767 Operand

T-D T0~T159, D0~D399

Một phần của tài liệu Catalog bien tan delta VFD CT2000 (Trang 407 - 412)

Tải bản đầy đủ (PDF)

(486 trang)