131
Sequence Instructions
3
SEQUENCE PROGRAMMING
3.25.8 Shift Instructions : Bit device shift ... SFT, SFTP
Functions
(1) Shifts the ON/OFF status of the device preceding the one specified at to the
specified device, and turns off the preceding device.
(2) Use the SET instruction to turn on the first device from which data will be shifted.
(3) When using the SFT or SFTP instructions consecutively, program in order of
larger to smaller device numbers.
Usable Devices
Digit
Designation
Error
Flag
Bit devices Word (16-bit) devices Constants Level
XYMTCDKHN
(M9010,
M9011)
{{
D
SFT commands
Set data
Device number to which
data will be shifted
D
D
X02 ON
After first shift input
After second shift input
X02 ON
After third shift input
After fourth shift input
After fifth shift input
*At M8 to 15, 1 indicates ON and 0 indicates OFF.
Shift input
5)
6)
7)
Shift range
1)
2)
3)
4)
5)
6)
7)