140
6 SEQUENCE INSTRUCTIONS
6.4 Shift Instructions
• When the SFT(P) instruction is used consecutively, create the program to start from the device with the largest number.
■
When bit of word device is specified:
• This instruction shifts the 1/0 status of the bit before the bit specified by (d) to the bit specified by (d). The bit before the bit
specified by (d) becomes 0.
Ex.
When D0.5 (bit 5 (b5) of D0) is specified by the SFT(P) instruction and the SFT(P) instruction is executed, the 1/0 status of b4
of the D0 is shifted to b5 and b4 is set to 0.
Operation error
(1): X2 ON
(2): After the 1st shift input
(3): After the 2nd shift input
(4): X2 ON
(5): After the 3rd shift input
(6): After the 4th shift input
(7): After the 5th shift input
(8): First device of shift
(9): Shift range
(1): Before shift execution
(2): After shift execution
Error code
(SD0/SD8067)
Remarks
2820H
The device specified by (d) exceeds the corresponding device range.
0
0
M15 M14
0
M13
0
M12
0
M11
1
M10
1
M9
0
M8
0
0
1
0
0
0
1
0
0
0
0
0
1
0
1
0
0
0
0
1
0
0
1
0
0
0
0
1
0
1
1
0
0
0
1
0
1
0
1
0
1
0
0
1
0
0
1
0
0
0
0
0
0
M0
M14
SFTP
M13
SFTP
M12
SFTP
M11
SFTP
M10
SET
X2
(8)
(9)
(1)
(3)
(2)
(4)
(5)
(7)
(6)
0
0
0
0
0
0
0
b15
b5 b4
b0
0
1
1
1
1
1
0
0
0 1
0
0
0
1
0
0
0
1
0
1
1
1
0
0
0 1
…
…
D0
(1)
(2)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......