Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 142

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

• When the SFT(P) instruction is used consecutively, create the program to start from the device with the largest number.
M0
X2
(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
■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.
b15
(1)
0 1
0
0
1
D0
(2)
0 1
0
0
1
(1): Before shift execution
(2): After shift execution
Operation error
Error code
Remarks
(SD0/SD8067)
2820H
The device specified by (d) exceeds the corresponding device range.
6 SEQUENCE INSTRUCTIONS
140
6.4 Shift Instructions
(1)
SFTP
M14
(2)
SFTP
M13
(3)
(4)
SFTP
M12
(5)
SFTP
M11
(6)
(7)
SET
M10
(8)
...
...
b5 b4
b0
0
0
0
1
1
0
1
0
0
0
1
0
0
0
0
1
1
1
0
0
0
0
1
(9)
M15 M14
M13
M12
M11
M10
M9
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
1
0
0
1
0
1
0
0
1
0
1
0
0
0
0
1
0
0
0
M8
1
0
0
1
0
0
1
0
1
0
0
1
0
0
1
0
0
1
0

Hide quick links:

Advertisement

loading