Converting decimal ASCII data to BCD 8-digit data
DDABCD(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions convert decimal ASCII data to BCD 8-digit data.
Ladder
(s)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
DDABCD
DDABCDP
Setting data
■Description, range, data type
Operand
Description
(s)
ASCII data to be converted to BCD data or the start device
where the ASCII data is stored
(d)
Start device for storing the conversion result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
6 BASIC INSTRUCTIONS
454
6.6 Data Conversion Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=DDABCD(EN,s,d);
ENO:=DDABCDP(EN,s,d);
Range
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
String
ANYSTRING_SINGLE
BCD 8-digit
ANY32
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$