Mitsubishi Electric FX3G SERIES Programming Manual page 269

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 (DBIN and DBINP)
This instruction converts the binary-coded decimal (BCD) data of [
transfers the converted binary data to [
• The data of [
S
• The table below shows digit specification for [
Command
input
FNC 19
DBIN
[
S
+1,
S
K1X000
K2X000
K3X000
K4X000
K5X000
K6X000
K7X000
K8X000
Related instruction
Instruction
BCD (FNC 18)
Cautions
1. When using DSW (FNC 72) instruction
Because conversion between binary-coded decimal data and binary data is automatically executed in DSW (FNC 72)
instruction, BIN instruction is not required.
2. Handling of BCD inputs and outputs
Binary data is used in all operations in PLCs including arithmetic operations (+, −, × and ÷), increment and decrement
instructions.
• When receiving the digital switch information in the binary-coded decimal (BCD) format into a PLC, use BIN (FNC
19) instruction for converting BCD data into binary data.
• When outputting data to the seven-segment display unit handling binary-coded decimal (BCD) data, use BCD (FNC
18) instruction for converting binary data into BCD data.
Error
When the data of
error latch) does not turn ON.
D
+1,
+1,
] can be converted if it is ranging from 0 to 99,999,999 (BCD).
S
S
D
When "K8X000"
is specified
X034 X030 X024 X020 X014 X010 X004 X000
X037 X033 X027 X023 X017 X013 X007 X003
Number of digits
]
1
2
3
4
5
6
7
8
Converts binary (BIN) data into binary-coded decimal (BCD) data.
S
is not binary-coded decimal (BCD), M8067 (operation error) turns ON. But M8068 (operation
9 Move and Compare – FNC 10 to FNC 19
9.10 FNC 19 – BIN / Conversion to Binary
S
+1,
D
].
S
+1,
S
] and [
D
+1,
2
3
4
5
...
...
...
...
DBIN (FNC 19)
PLC
Data range
0 to 9
00 to 99
000 to 999
0000 to 9999
00000 to 99999
000000 to 999999
0000000 to 9999999
00000000 to 99999999
Function
S
] into binary (BIN) data, and
D
].
BCD
6
7
8
9
...
...
...
...
BIN
1
2
3
4
5
6
7
8
9
10
267

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents