![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532214.webp)
(102)
BINL
0010 D00200
0000
00
209
0
D00150
F
F
F
0
D00160
0
0
0
0
D00150
F
F
F
4
D00160
0
9
5
Before
execution
After
execution
The bit contents of words D00150 and D00160 after execution are:
0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1
0
F
F
F
D00150
0 1 0 0 0 0 0 0 1 0 0 1 0 1 0 1
4
0
9
5
D00160
5-17-3 DOUBLE BCD-TO-DOUBLE BINARY: BINL(102)
(102)
BINL
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
BINL(102)
When the execution condition is OFF, BINL(102) is not executed. When the
execution condition is ON, BINL(102) converts an 8-digit BCD number in S and
S+1 into 32-bit binary data, and outputs the converted data to R and R+1.
S + 1
S
R + 1
R
BCD
Binary
S and S+1 must be BCD.
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Content of S or S+1 is not BCD.
Content of
*
DM word is not BCD when set for BCD.
EQ (A50006):
0 has been placed in R.
N (A50008):
OFF
Example
When CIO 000000 is ON in the following example, the BCD value in CIO 0010
and CIO 0010 is converted to a hexadecimal (binary) value and stored in
D00200 and D00201.
Address
Instruction
Operands
00000
LD
000000
00001
BINL(102)
0010
D00200
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...