5 - 19
Displayable Range with BCD Instruction
The displayable range of data with the BCD instruction (to be converted from
BIN into BCD) is between 0 and 9999. Any data which is outside the range
causes an error.
(Error code 4100: OPERATION ERROR)
To display a timer current value more than 9,999, use the DBCD instruction.
The instruction can handle 8-digit values (up to 99,999,999).
Y53
Y52
Y51
Y50
Y4F
Y4E
Y4D
Y4C
Y4B
Y4A
Y49
Y48
Y47
Y46
Y45
Y44
Y43
Y42
Y41
Y40
80000
40000
20000
10000
8000
4000
2000
1000
800
400
200
100
80
40
20
10
8
4
2
1
0000 1010 1011 0100 1001
COM
Programmable controller Output module
Output power supply
X3
T5
K18000
SM400
(always on)
K5Y40
T52DBCD
0
H
Applicable device
Internal device
(system or user)
File
register
MELSECNET/
10 (H) Direct
Jn\
Index
register
Constant
Pointer
Level
Bit Word R Bit Word
Intelligent
function
module
Un\G
Z K H P I N
Digit
Number of basic
steps
S
BCD
DS
D
K1
to
K4
3