Mitsubishi FX3G Series Programming Manual page 321

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

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
2. 32-bit operation (DSUM and DSUMP)
The number of bits in the ON status in [
• The number of bits in the ON status are stored in
• When all bits are OFF in [
Command
input
FNC 43
DSUM
Before
execution
After
execution
3. Operation result
b15
b14
b13
b12
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Series
D
S
+1,
1
D
S
+1,
D
S
], the zero flag M8020 turns ON.
1
1
Number of bits in
S
D
the ON status in
Word data
b31
K21847
S
0 0 0 0 0
(Number of "1" (ON))
K0
K0
D
0
b31
K21847
S
0 0 0 0 0
K0
K9
D
0
according to the
D
D
1
Bit device
b11
b10
b9
b8
b7
b6
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
12 Data Operation – FNC 40 to FNC 49
12.4 FNC 43 – SUM / Sum of Active Bits
D
S
] is counted, and stored to
1
D
D
, and K0 is stored in
1
S
S
[
+1,
32-bit data
...
b17
b16
b15
b14
b13
b12
b11
0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1
9
8
0
0
0
0
0
0
0
0
0
...
b17
b16
b15
b14
b13
b12
b11
0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
value (in 16-bit operation)
D
S
1
S
b5
b4
b3
b2
b1
b0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
1
0
0
0
0
0
1
0
1
0
0
0
1
1
0
0
0
0
1
1
1
0
0
1
0
0
0
0
0
1
0
0
1
0
0
1
0
1
0
0
0
1
0
1
1
1
1
1
0
1
1
1
1
1
1
0
0
1
1
1
1
0
1
1
1
1
1
1
0
1
1
1
1
1
1
D
D
.
1
D
D
+1.
1
]
D
D
+1,
K0 is written
b10
b9
b8
b7
b6
b5
b4
b3
b2
7
6
5
4
3
0
0
0
0
0
0
0
0
0
b10
b9
b8
b7
b6
b5
b4
b3
b2
32 16 8 4 2 1
0
0
0
0
0
1
0
0
0
0
0
1
0
1
0
Word device
D
Decimal
Hexadecimal
0
0000
0
1
0001
1
2
0002
1
3
0003
2
4
0004
1
5
0005
2
6
0006
2
7
0007
3
8
0008
1
9
0009
2
10
000A
2
11
000B
3
−5
FFFB
15
−4
FFFC
14
−3
FFFD
15
−2
FFFE
15
−1
FFFF
16
11
12
b1
b0
13
2
1
0
0
b1
b0
14
0
1
15
M8020
(zero
flag)
ON
OFF
16
OFF
OFF
OFF
OFF
OFF
OFF
17
OFF
OFF
OFF
OFF
OFF
18
OFF
OFF
OFF
OFF
OFF
19
20
319

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents