7. Basic Commands
SFT, SFTP
- 136 -
{ SFT, SFTP ... Device shift
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
D
{ { { {
{
3
SFT
SFTP
Shift command
SFT D
SFTP
D
Setting data
D
Device No. to
be shifted
Function
(1) The device that designates the ON/OFF state of the device that is one number smaller than the
device designated with D (destination) is shifted, and the device that is one number smaller is
turned OFF.
(2) Turn the head device to be shifted ON with the SET command.
(3) When using SFT in succession, program from the largest device No.
Shift input
SFT M14
SFT
M13
SFT M12
SFT
M11
SET M10
X02
M0
(Pulse coding)
①
②
③
⑤
④
⑥
M15M14
M13M12M11M10 M9 M8
00000 0
00 00 0 0
000 000
00 000 0
000000
00 00 00 0
11
11
11
11
11
1
State before initial shift
After 1st shift input
After 2nd shift input
After 3rd shift input
After 4th shift input
After 5th shift input
* In M8 to M15, "1" indicates ON and "0" indicates OFF.
Operation of shift command