Mitsubishi Electric FX3G SERIES Programming Manual page 608

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
FNC193
DBK-P
1)
"2n" 32-bit binary data starting from [
[
S
+1,
1
[
[
S
1
[
S
1
[
+2n-3,
S
1
[
+2n-1,
S
1
2)
A (32-bit) constant from -2,147,483,648 to +2,147,483,647 can be directly specified in [
[
[
S
1
[
S
1
[
+2n-3,
S
1
[
+2n-1,
S
1
Related instruction
Instruction
BK+ (FNC192)
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
K-32768(H8000)
K32767(H7FFF)
- In the case of 32-bit operation
K-2,147,483,648(H80000000)
K2,147,483,647(H7FFFFFFF)
• 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].
606
S
S
1
2
S
], and the operation result is stored in "2n" points starting from [
1
b31
b0
+1,
]
K8765
S
S
1
1
+3,
+2]
K8888
S
1
+5,
+4]
K9325
S
1
+2n-4]
K50000
S
1
+2n-2]
K4352
S
1
b31
b0
+1,
]
K8765
S
S
1
1
+3,
+2]
K8888
S
1
+5,
+4]
K9325
S
1
+2n-4]
K50000
S
1
+2n-2]
K4352
S
1
Adds binary block data.
K2(H0002)
K-2(HFFFE)
D
n
S
+1,
S
] are subtracted from "2n" 32-bit binary data starting from
2
2
[
+1,
S
2
[
+3,
S
2
[
+5,
"n"
S
2
points
[
+2n-3,
S
S
2
2
[
+2n-1,
S
S
2
2
"n"
[
+1,
]
S
S
2
2
points
Description
K32766(H7FFE)
K-32767(H8001)
K2(H00000002)
K-2(HFFFFFFFE)
25 Block Data Operation – FNC190 to FNC199
25.2 NFC193 – BK– / Block Data Subtraction
D
+1,
b31
b0
]
K1234
S
2
+2]
K5678
S
2
+4]
K9876
"n"
S
2
points
+2n-4]
K4321
+2n-2]
K4000
b31
[
+1,
]
D
D
[
+3,
+2]
D
D
[
+5,
+4]
D
D
[
+2n-3,
+2n-4]
D
D
[
+2n-1,
+2n-2]
D
D
S
2
K8880
b31
[
+1,
]
D
D
[
+3,
+2]
D
D
[
+5,
+4]
D
D
[
+2n-3,
+2n-4]
D
D
[
+2n-1,
+2n-2]
D
D
K2,147,483,646(H7FFFFFFE)
K-2,147,483,647(H80000001)
D
].
b0
K7531
K3210
K-551
"n"
points
K45679
K352
+1,
S
].
2
b0
K-115
K8
K445
"n"
points
K41120
K-4528

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents