hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 266

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 (DBCD and DBCDP)
This instruction converts the binary (BIN) data of [
transfers the converted BCD data to [
• The data of [
• The table below shows digit specification for [
Command
input
FNC 18
DBCD
D
[
+1,
K1Y000
K2Y000
K3Y000
K4Y000
K5Y000
K6Y000
K7Y000
K8Y000
Related instruction
Instruction
BIN (FNC 19)
Cautions
1. When using SEGL (FNC 74) or ARWS (FNC 75) instruction
Because conversion between binary-coded decimal data and binary data is automatically executed in SEGL (FNC 74)
and ARWS (FNC 75) instructions, BCD 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.
Errors
In BCD or BCDP (16-bit type) instructions, an operation error occurs when the
0 to 9999.
In DBCD or DBCDP (32-bit type) instructions, an operation error occurs when the
from 0 to 99,999,999.
264
D
S
+1,
S
] can be converted if it is ranging from K0 to K99999999 (BCD).
S
D
When "K8Y000" is specified
Number of digits
D
]
1
2
3
4
5
6
7
8
Converts binary-coded decimal (BCD) data into binary (BIN) data.
9.9 FNC 18 – BCD / Conversion to Binary Coded Decimal
S
+1,
S
+1,
].
D
S
+1,
S
] and [
DBCD (FNC 18)
...
...
...
Y034 Y030 Y024 Y020 Y014 Y010 Y004 Y000
Y037 Y033 Y027 Y023 Y017 Y013 Y007 Y003
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
9 Move and Compare – FNC 10 to FNC 19
] into binary-coded decimal (BCD) data, and
D
+1,
D
].
PLC
...
...
...
...
Function
S
value is outside the range from
S
value is outside the range
BIN
...
BCD

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents