6 SEQUENCE INSTRUCTIONS
6.4 Shift Instructions
139
6
6.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.
Ladder diagram
Structured text
ENO:=SFT(EN,d);
ENO:=SFTP(EN,d);
FBD/LD
Operand
Remarks
Range
Data type
Data type (label)
(d)
Device number to receive shift
Bit
ANY_BOOL
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
(DY)
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(d)
(d)
EN
ENO
d
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: ......