
4 - 48 4 - 48
MELSEC-Q
4 SEQUENCE PROGRAM CONFIGURATION AND EXECUTION
CONDITIONS
4.8.3 BCD (Binary Coded Decimal)
(1) BCD notation
BCD notation is binary expression with a carry similar to that of the decimal
notation.
Though it uses 4-bit representation like hexadecimal notation, it dose not use
letters A to F.
Table 4.4 gives numeric expressions by binary, BCD, and decimal notations.
Table 4.4 Comparison of BIN, BCD, and DEC Numeric Expressions
DEC (Decimal)
BIN (Binary)
BCD
(Binary Coded Decimal)
0
0
0
1
1
1
2
10
10
3
11
11
4
100
100
5
101
101
6
110
110
7
111
111
8
1000
1000
9
1001
1001
10
1010
1
0000
Carry
11
1011
1
0001
12
1100
1
0010
(2) BCD numeric expression
High Performance model QCPU registers (data registers, link registers, etc.)
consist of 16 bits.
Therefore, the numeric values expressed in BCD notation can be stored in each
register within 0 to 9999 range.
Содержание QCPU (Q Mode)
Страница 111: ...5 19 5 19 MELSEC Q 5 ASSIGNMENT OF I O NUMBERS MEMO ...
Страница 450: ...App 59 App 59 MELSEC Q APPENDICES MEMO ...