Chapter 6 Instruction and Flag List
XBC E-Type Main Unit
6-233
Ver. 1
2) DBINDA (Binary to Decimal ASCII)
(1) Converts each digit to ASCII from the upper in regular order when input binary 32-bit 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) If S is a negative number, sign value of “–“ will be output to the first byte of D. Data S will be regarded as
signed.
(4) In DBINDA, operation range is –2147483648(hFFFFFFFF) ~ 2147483647(h7FFFFFFF).
3) Program Example
P00000
BINDAP P1000 P1100
b15
b8
b0
b7
S+1
D
D+1
D+2
D+3
1000000000-digit ASCII code
10000000-digit ASCII code
100000-digit ASCII code
1000-digit ASCII code
Sign data
100000000-digit ASCII code
Upper 16-bit
0
1-digit ASCII code
10-digit ASCII code
100-digit ASCII code
10000-digit ASCII code
D+4
D+5
Lower 16-bit
S
32-bit Binary data
1000000-digit ASCII code
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...