
5 SEQUENCE INSTRUCTIONS
5.4 Shift Instructions
125
5
5.4
Shift Instructions
Shifting bit devices
SFT(P)
• In case of bit device:
These instructions shift the ON/OFF status of the device before the device specified by (d) to the device specified by (d).
• When bit of word device is specified:
These instructions shift the 1/0 status of the bit before the bit specified by (d) to the bit specified by (d).
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1
T, ST, C cannot be used.
Processing details
■
In case of bit device
• This instruction shifts the ON/OFF status of the device before the device specified by (d) to the device specified by (d). The
device before the device specified by (d) turns OFF.
Ex.
When M11 is specified by the SFTP instruction and the SFTP instruction is executed, the ON/OFF status of M10 is shifted to
M11 and M10 is turned OFF.
• Turn ON the first device to be shifted by the SET instruction.
• When the SFT(P) instruction is used consecutively, create the program to start from the device with the largest number.
Ladder diagram
Structured text
ENO:=SFT(EN,d);
ENO:=SFTP(EN,d);
Operand
Remarks
Range
Data type
Data type (label)
(d)
Device number to receive shift
Bit
ANY_BOOL
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
(DY)
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(d)
(d)
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
Shift input
First device of shift
Shift range
(1) X2 ON
(3) After the 2nd shift input
(2) After the 1st shift input
(4) X2 ON
(5) After the 3rd shift input
(7) After the 5th shift input
(6) After the 4th shift input
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......