I
PROG RAMMI
NG
Shift instructions
Bit device
shift
(SFT, SFTP)
Device number
to
be shifted
SFTP
The SFT, SFTP instructions shift the ONlOFF status of the specified device number
-
1,
to
the specified device number and
turns
OFF the device with the lower number. To
turn
ON
the head device
to
be shifted, use the SET instruction. When the SFT of SFTP
instruction is used consecutively, program the higher device numbers first
so
as not
to
overwrite the original data before shifting.
An example
of
the SFT/SFTP instruction is shown below
114