Converting Decimal Ascii Data To Bcd 4-Digit Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Converting decimal ASCII data to BCD 4-digit data

DABCD(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert decimal ASCII data to BCD 4-digit data.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
DABCD
DABCDP
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)
Device for storing the conversion result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=DABCD(EN,s,d);
ENO:=DABCDP(EN,s,d)
Range
Data type
String
BCD 4-digit
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
6.6 Data Conversion Instructions
Data type (label)
ANYSTRING_SINGLE
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
6 BASIC INSTRUCTIONS
6
451

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents