Mode of operation of the PL7_MONOSTABLE monostable function
Original instructions
Description
The following table describes the specific modes of operation of the PL7_MONOSTABLE function:
Effect...
Description
of a cold restart
(%S0=1), causes a reset to zero of the current value, the preset value is reinitialized to the value defined in the configuration and the current value is set at the preset value.
of a warm restart
(%S1=1) has no effect on the current value of the monostable or on the preset value. The current value does not change during a power outage.
a change to stop, deactivation of a task or execution of a breakpoint
Does not freeze the current value.
of a program jump
The fact of not scanning the instructions where the monostable block is programmed does not freeze the current value that continues to decrease towards zero.
Similarly the output bit retains it normal function and can thus be tested by another instruction. On the other hand the output, directly cabled to the output, is not activated as it is not scanned by the PLC
Output bit test
the output bit can change state in mid-cycle.
NOTE: it is recommended to test the output bit of the monostable only once in the program.