Mitsubishi Electric FX3G SERIES Programming Manual page 292

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2. 32-bit operation (DXOR and DXORP)
The exclusive logical sum (XOR) operation is executed to the contents of [
units of bit, and the result is transferred to [
Command
input
FNC 28
DXOR
• While the command input is OFF, the data of the transfer destination [
• While the command input is ON, the data of the transfer source [
change.
• When a constant (K) is specified in the transfer source [
converted into binary format.
• The exclusive logical sum operation is executed in units of bit as shown in the table below (1 ∀ 1 = 0, 0 ∀ 0 = 0,
1 ∀ 0 = 1, 0 ∀ 1 = 1).
Logical operation
(unit: bit)
Program example
By combining WXOR and CML (FNC 14) instructions, the exclusive logical sum not (XORNOT) operation can be
executed.
X000
FNC 28
WXOR
FNC 14
290
S1
S2
S
+1,
1
0
1
0
1
D 10
D 12
D 14
D 14
CML
10 Arithmetic and Logical Operation (+, −, ×, ÷) – FNC 20 to FNC 29
+1,
].
D
D
D
S
S
+1,
1
1
S
1
S
+1,
S
1
S
S
+1,
1
2
D 14
10.9 FNC 28 – WXOR / Logical Exclusive OR
S
+1,
S
] and [
1
1
S
S
D
+1,
+1,
2
2
D
+1,
D
] does not change.
+1,
S
] [
S
+1,
1
2
] [
S
+1,
S
], it is automatically
1
2
2
D
S
2
DXOR (FNC 28) instruction
0
0
1
1
S
+1,
S
] in
2
2
D
S
] do not
2
1: ON, 0: OFF
+1,
D
0
1
1
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents