|
Output A2.5 should activate when input E0.0 is closed and deactivate itself 5 seconds after it is reopened.
The operation of the Off-delay timer is shown in the time diagram. The first
line represents the input signal and the second line is the corresponding
output.
The first group of statements of the AWL program activates the timer T2 as a On-delay (SA T2) following the falling edge of the input (U E0.0) with a time constant of 5 seconds loaded in accumulator 1 (L KT500.0). The second group of statements copies the status of the timer (U T2) to the output of the PLC (= A2.5).
More examples: |