Programming instructions

64
Another method for pulsing contacts is the rising edge and falling edge pulse bits.
These bits activate only for one scan similar to the PLS and PLF instructions.
RISING EDGE PULSE. The rising edge pulse is a one scan pulse
based on the address shown above the contact. Instead of using
X003 as an input and then a PLS instruction on an M bit, this
command issues a one scan pulse to the logic following it.
FALLING EDGE PULSE. The falling edge pulse is a one scan
pulse based on the address shown above the contact. Instead of
using X004 as an input and then a PLF instruction on an M bit, this
command issues a one scan pulse to the logic following it.
ALT – Toggle Bit
The ALT command toggles the state of the specified bit. If the bit is on, it is
turned OFF. If it off, the bit is turned ON.
ZRST – Zone Reset
The ZRST (zone reset) command is used to reset a range of addresses. Rather
than reset a single bit as RST does, the starting and ending addresses are
specified. The range of addresses can be bits, words, timers, or counters. When
word addresses are specified, they are reset to a value of 0. The second
parameter (end address) must be higher than the first parameter (start address).