Double Bcd-To-Double Binary: Binl(102) - Omron SYSMAC CVM1 Series Operation Manual

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Conversion Instructions

5-17-3 DOUBLE BCD-TO-DOUBLE BINARY: BINL(102)

Ladder Symbol
(102)
BINL
Variations
j BINL(102)
Description
Precautions
Flags
Example
0000
00
D00150
D00160
The bit contents of words D00150 and D00160 after execution are:
S
R
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 and S+1 must be BCD.
Note Refer to page 101 for general precautions on operand data areas.
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
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.
(102)
BINL
0010 D00200
Before
execution
0
F
F
F
0
0
0
0
0
F
D00150
0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1
4
0
D00160
0 1 0 0 0 0 0 0 1 0 0 1 0 1 0 1
Operand Data Areas
S: Source word
CIO, G, A, T, C, DM
R: Result word
CIO, G, A, DM
S + 1
BCD
R + 1
Binary
Section 5-17
After
execution
D00150
0
F
F
F
D00160
4
0
9
5
F
F
9
5
S
R
Address Instruction
00000
LD
00001
BINL(102)
Operands
000000
0010
D00200
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents