1. Alternating pulse output ALTP

1. Alternating pulse output ALTP

1.1. Instruction Description

When the specified operand changes from OFF to ON, the instruction alternates the specified operand between 1 (ON) and 0 (OFF) once.

1.2. The valid operands of the instruction

Input/Output data type operands 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

ALTP Y000 // When X000 changes from 0 to 1, Y000 alternates between 0 and 1

ALTP

图1 ALTP