Mitsubishi Electric M800VW Series Programming Manual page 170

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.3 Output Instructions
FF: Reversing the operation result
Setting
Bit device
data
X
Y
M
L
F
D
[Instruction symbol] [Execution condition]
FF
 Setting data
Setting data
D
Device number to invert
 Functions
 The status of the device designated by (D) is inverted when the inversion command goes from OFF to ON.
Device
Bit device
Bit designation of word device
 Arithmetic errors
 There are no arithmetic errors associated with the FF instruction.
 Program example
 The following program inverts the output of Y10 when X9 goes ON.
X9
0
3
ON
X9 OFF
ON
Y10 OFF
 The following program reverses b10 (bit 10) of D10 when X0 goes ON
X0
0
3
Usable devices
B SB
T SM V
T
C
Command
Meaning
Prior to FF execution
OFF
ON
0
1
[Ladder mode]
FF Y10
END
[Ladder mode]
FF D10.A
END
Con-
Word device
stant
D
R/ZR W SW SD
Z
K
Device status
After FF execution
ON
OFF
1
0
Steps
0
1
3
Steps
0
1
3
149
Digit
Pointer
designa-
Index
tion
H
P
D
FF
Data type
Bit
[List mode]
Inst.
Device
LD
X9
FF
Y10
END
[List mode]
Inst.
Device
LD
X0
FF
D10.A
END
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents