|
The output A2.5 is activated by the closure of input E0.0 and deactivated 5 seconds later. If the input is reopened during this period of time, the output is immediately deactivated.
The operation of the pulse timer is shown in the time diagram above. The
first line represents the input signal and the second line its output.
The first group of statements of the AWL program activates the timer T2 as a pulse (SI T2) following the rising 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: |