![Omron CVM1D Operation Manual Download Page 215](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532215.webp)
(103)
BCDL
0010 D00100
0000
00
210
0
0
2
0
0
0
5
0
x10
3
x10
2
x10
1
x10
0
x10
7
x10
6
x10
5
x10
4
0
0
0
3
0
D
7
2
x16
3
x16
2
x16
1
x16
0
x16
7
x16
6
x16
5
x16
4
S+1: CIO 0011
S: CIO 0010
R+1: D00201
R: D00200
200050=3X16
4
+13X16
2
+7X16
1
+2X16
0
5-17-4 DOUBLE BINARY-TO-DOUBLE BCD: BCDL(103)
(103)
BCDL
S
R
R: Result word
CIO, G, A, DM
S: Source word
CIO, G, A, T, C, DM
Operand Data Areas
Ladder Symbol
Variations
j
BCDL(103)
When the execution condition is OFF, BCDL(103) is not executed. When the
execution condition is ON, BCDL(103) converts the 32-bit binary content of S
and S+1 into eight digits of BCD data and outputs the converted data to R and
R+1.
S + 1
S
R + 1
R
BCD
Binary
If the content of S exceeds 05F5E0FF, the converted result will exceed
99999999, BCDL(103) will not be executed, and the Error Flag (A50003) will be
turned ON. When the instruction is not executed, the content of R and R+1 re-
main unchanged.
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
Content of S and S+1 exceeds 05F5E0FF.
EQ (A50006):
0 has been placed in R
Example
When CIO 000000 is ON in the following example, the hexadecimal value in
CIO 0011 and CIO 0010 is converted to a BCD value and stored in D00200 and
D00201.
Address
Instruction
Operands
00000
LD
000000
00001
BCDL(103)
0010
D00100
Description
Precautions
Conversion Instructions
Section 5-17
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...