SFT
- 66 -
{ SFT ... Device shift
Usable device
Bit device
Word device
Con-
stant
Pointer Level
X Y M L SM F T C D R Z K H P N
Digit
desig-
nation
No. of
steps
Index
D
4
SFT
SFT command
SFT 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 15, "1" indicates ON and "0" indicates OFF.
1
2
3
4
5
6
Operation of shift command