Converting Binary Data To Bcd 8-Digit Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Converting binary data to BCD 8-digit data

DBCD(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions convert the specified 32-bit binary data to BCD 8-digit data.
Ladder
(s)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
DBCD
DBCDP
Setting data
■Description, range, data type
Operand
Description
(s)
Binary data or the start device where the binary data is
stored
(d)
Start device for storing the converted BCD data
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
380
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:=DBCD(EN,s,d);
ENO:=DBCDP(EN,s,d);
Range
0 to 99999999
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
32-bit signed binary
ANY32
BCD 8-digit
ANY32
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents