Chapter 6 Instruction and Flag List
XBC E-Type Main Unit
6-237
Ver. 1
2) DBCDDA (BCD to Decimal ASCII)
(1) Converts each digit to ASCII from the upper in regular order when input binary data is in decimal.
(2) The value converted to ASCII will be saved in starting D by 2 digits per word in regular order.
(3) In DBCDDA, operation range is h00000000 ~ h99999999.
3) Program Example
P00000
BCDDAP P1000 P1100
100 digits
b15
b8
b0
b7
S+1
D
D+1
D+2
D+3
1000000-digit ASCII code
10000-digit ASCII code
100-digit ASCII code
1-digit ASCII code
10000000-digit ASCII code
100000-digit ASCII code
0
10-digit ASCII code
1000-digit ASCII code
S
1,000,000 digits
100,000 digits
10,000 digits
1,000 digit
1 digit
10 digits
b31
b16
b15
b0
10,000,000 digits
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...