Shift Instructions - Mitsubishi Electric M800VW Series Programming Manual

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
7 Basic Instructions

7.4 Shift Instructions

7.4 Shift Instructions
SFT, SFTP: Device shift
Setting
Bit device
data
X
Y
M
L
F
D
[Instruction symbol] [Execution condition]
SFT
SFTP
 Setting data
Setting data
D
Number of device to shift
 Functions
[When bit device is used]
 Shifts to a device designated by (D) the ON/OFF status of the device immediately prior to the one designated, and turns the
prior device OFF.
Shift input
M0
SFTP M14
SFTP M13
SFTP M12
SFTP M11
X2
SET M10
First device to shift
For example, if M11 has been designated by the SFT instruction, when the SFT instruction is executed, it will shift the ON/
OFF status of M10 to M11, and turn M10 OFF.
 Turn the first device to be shifted ON with the SET instruction.
 When the SFT and SFTP are to be used consecutively, the program starts from the device with the larger number.
IB-1501667-B
Usable devices
B SB
T SM V
T
C
Command
Command
Meaning
Shift range
M15 M14M13 M12 M11 M10 M9 M8
0 0 0 0 0
0 0 0 0 1
0 0 0 1 0
0 0 0 1 0
0 0 1 0 1
0 1 0 1 0
0 0 1 0 0
*At M8 to 15, "1" indicates ON and "0" indicates OFF.
Word device
D
R/ZR W SW SD
Z
K
X02 ON
1 1
0
0
After first shift input
0 1
0
0
After second shift input
0 1
0
X02 ON
1 1
0
0
0 1
0
After third shift input
0
After fourth shift input
0 1
0
0
0 1
0
After fifth shift input
150
Digit
Con-
Pointer
designa-
Index
stant
tion
H
P
SFT
D
SFTP
D
Data type
Bit

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents