7.11 String Processing Instructions
7.11.6 Decimal ASCII data to 4-/8-digit BCD data conversion
7-173
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
DABCD, DDAB
C
D
DABCD, DDABCD
7.11.6
Decimal ASCII data to 4-/8-digit BCD data conversion
DABCD, DDABCD
DABCD(P)
DDABCD(P)
P: Executing condition
:
indicates any of the following
instructions.
DABCD
DABCDP
DDABCD
DDABCDP
Input argument,
EN:
Executing condition
:Bit
s:
ASCII data to be converted to BCD value
:Array of ANY16/32 (0..3)
:String (4)/(8)
Output argument,
ENO:
Execution result
:Bit
d:
Conversion result
:ANY16/32
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
$
Others
Bit
Word
Bit
Word
−
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
D
A
B
C
D
EN
ENO
s
d
D
A
B
C
D
(EN,
s
, d);
ENO:=
s
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......