1. Rising edge pulse PLS

1. Rising edge pulse PLS

1.1. Instruction Description

When the result before executing this instruction has a rising edge from OFF to ON, a pulse occurs (only the current scanning cycle is set to ON).

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

PLS Y000 //Y000 undergoes a pulse change during the rising edge, with a period equal to the current scanning period

PLS

图1 PLS