Mitsubishi Electric FX3G SERIES Programming Manual page 605

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 (DBK+ and DBK+P)
Command
input
FNC192
DBK+P
1)
"2n" 32-bit binary data starting from [
[
S
+1,
S
1
[
S
1
[
+3,
S
1
[
+5,
S
1
[
+2n-3,
S
S
1
[
+2n-1,
S
S
1
2)
A (32-bit) constant from -2,147,483,648 to +2,147,483,647 can be directly specified in [
[
S
1
[
+3,
S
1
[
+5,
S
1
[
+2n-3,
S
1
[
+2n-1,
S
1
Related instruction
Instruction
BK- (FNC193)
Caution
• When underflow or overflow occurs in the operation result, the following processing is executed. At this time, the
carry flag does not turn ON.
- In the case of 16-bit operation
K32767(H7FFF)
K-32768(H8000)
- In the case of 32-bit operation
K2,147,483,647(H7FFFFFFF)
K-2,147,483,648(H80000000)
• Note that the 32-bit value [n+1, n] is valid when D or R is specified as "n" in a 32-bit instruction.
In the case of "DBK+ D0 D100 D200 R0", "n" is [R1, R0].
S
S
D
1
2
S
], and the operation result is stored in "2n" points starting from [
1
b31
b0
+1,
]
K1234
S
1
+2]
K40000
S
1
+4]
K-2000
S
"n"
1
points
+2n-4]
K-1234
1
+2n-2]
K4000
1
b31
b0
+1,
]
K1234
S
1
+2]
K40000
S
1
+4]
K-2000
S
"n"
1
points
+2n-4]
K-1234
S
1
+2n-2]
K4000
S
1
Subtracts binary block data.
→ K-32767(H8001)
+
K2(H0002)
→ K32766(H7FFE)
+
K-2(HFFFE)
+
K2(H00000002)
+
K-2(HFFFFFFFE)
25 Block Data Operation – FNC190 to FNC199
25.1 FNC192 – BK+ / Block Data Addition
n
+1,
] are added to "2n" 32-bit binary data starting from
S
2
2
b31
[
+1,
]
S
S
2
2
[
+3,
+2]
S
S
2
2
[
+5,
+4]
S
S
2
2
+
[
+2n-3,
+2n-4]
S
S
2
2
[
+2n-1,
+2n-2]
S
S
2
2
[
D
[
D
+
[
+1,
]
K4321
S
S
2
2
[
D
[
D
Description
→ K-2,147,483,647(H80000001)
→ K2,147,483,646(H7FFFFFFE)
D
+1,
D
].
b0
K4000
K1234
K-1234
"n"
points
K5000
K4321
b31
b0
[
+1,
]
K5234
D
D
[
+3,
+2]
K41234
D
D
[
+5,
+4]
K-3234
D
D
+2n-3,
+2n-4]
K3766
D
+2n-1,
+2n-2]
K8321
D
S
+1,
S
2
2
b31
b0
[
+1,
]
K5555
D
D
[
+3,
+2]
K44321
D
D
[
+5,
+4]
K2321
D
D
+2n-3,
+2n-4]
K3087
D
+2n-1,
+2n-2]
K8321
D
21
22
23
24
"n"
points
25
].
26
"n"
points
27
28
29
30
603

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents