EasyManua.ls Logo

Omron SYSMAC CV Series - Double Bcd-To-Double Binary: Binl(102)

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(102)
BINL 0010 D00200
0000
00
221
0D00150 F F F
0D00160 0 0 0
0D00150 F F F
4D00160 0 9 5
Before
execution
After
execution
The bit contents of words D00150 and D00160 after execution are:
0000111111111111
0FFF
D00150
0100000010010101
4095
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 AreasLadder 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 115 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

Table of Contents

Related product manuals