Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Bo Tu v 16 starts and runs the special bit instruction.
Bo Tu v 16 starts and runs the special bit instruction.
Use the instructions of Rade and FBD

The basic explanation is as follows:

Every time an instruction is executed, the rising edge of the signal is queried. When the rising edge of the signal is detected, the signal state of will remain set to "1" for one program cycle. In any other case, the signal state of the operand is "0".

In the operand placeholder above the instruction, specify the operand to query (). In the operand placeholder below the instruction, specify the edge storage bit ().

In this example, I0.0 is the operand 1 and M20 is the operand 2. Only when the logical operation result (RLO) of the coil input is "1" will this instruction be executed. If the signal flows through the coil (rlo = "1"), the specified operand is set to "1". If the RLO of the coil input is "0" (no signal flows through the coil), the signal state of the specified operand will remain unchanged.

In this example, when the I0.0 signal rises, M2. 1 is set.

Only when the logical operation result (RLO) of the coil input is "1" will this instruction be executed. If the signal flows through the coil (rlo = "1"), the specified operand is set to "1". If the RLO of the coil input is "0" (no signal flows through the coil), the signal state of the specified operand will remain unchanged.

In this example, when I0. 1 signal is 1, M2. 1 is reset.