![Xinje XD Series User Manual Download Page 146](http://html.mh-extra.com/html/xinje/xd-series/xd-series_user-manual_887444146.webp)
145
BCD
D10
D0
S·
D·
X0
This instruction can change the binary value to BCD code.
4-8-6. Hex converts to ASCII [ASCI]
1. Summary
Hex. convert to ASCII [ASCI]
16 bits
ASCI
32 bits
-
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands Function
Data Type
S
Source soft element address
2 bits, HEX
D
Target soft element address
ASCII code
n
Transform character quantity
16 bits, BIN
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
ASCI
D100
D200
K4
S·
D·
n
X0
Transform the source Hex data to ASCII code, and store in . The transformation chacters
are n.
Will store one ASCII code.
Description
source (BIN)→destination (BCD)
Operand
System
Constant Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S
●
●
●
●
●
●
●
●
D
●
●
●
●
●
●
n
●
●
●
●
●
●
●
Word
Description
D·
D·