1. Ordinary output coil OUT

1. Ordinary output coil OUT

1.1. Instruction Description

Write the new value to the specified bit register. When the instruction is executed, it will turn on or off the bits in the specified bit register;

1.2. The valid operands of the instruction

Input/Output Data Type operand Description
OUT ON/OFF Y/M/S, word to Bit(D/V/Z), Local variable(LB) output

1.3. Example

Instruction table:

NETWORK 000

LD X000

OUT Y000 // output Y000

OUT1

图1 OUT1

1.4. Error examples

Attention: Do not repeat the coil output

If there is an error instance where X0 is conducting but X1 is not conducting, then during the sequential execution of the ladder diagram, X0 leads to Y0 with output, while X1 is not conducting and Y0 is prohibited from output. Therefore, Y0 cannot output at all, and auxiliary relay M can be used to solve this problem.

Instruction table:

NETWORK 000

LD X000

OUT Y000 // First output Y000

LD X001

OUT Y000 // Second output Y000

OUT2

图2 OUT2