Function Block TRIG

The Function Block TRIG generates a pulse when a value changes.

Input VAR

The input detects a change in a value. This can be a string, a number or a boolean value.

Note: Detecting a change between NULL, FALSE or an empty string is not possible.

Output Q

Outputs a pulse for one cycle if the input VAR changes.