Omron CVM1D Operation Manual page 220

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Conversion Instructions
Digit Designator
Precautions
Flags
The digits of Di are set as shown below.
Digit number:
Some example Di values and the digit-to-word conversions that they produce
are shown below for 4-bit conversion.
Di: 0010
S
0
1
2
3
Di: 0031
S
0
1
2
3
Some example Di values and the digit-to-word conversions that they produce
are shown below for 8-bit conversion.
Di: 1010
S
0
1
The rightmost two digits of Di must each be between 0 and 3; the leftmost digit
must be 0 to 1.
All result words must be in the same data area. MLPX(110) requires either 4 or
32 result words, depending on the type of conversion performed.
Note Refer to page 101 for general precautions on operand data areas.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
Improper digit designator.
3 2 1 0
0
Specifies the first digit to be converted
4-to-16: 0 to 3
8-to-256: 0 or 1
Number of digits to be converted
4-to-16: 0 to 3 (1 to 4 digits)
8-to-256: 0 or 1 (1 or 2 digits)
Process
0: 4-to-16
1: 8-to-256
R
R + 1
R
R + 1
R + 2
R + 3
S
R
0
R + 1
etc.
1
R+15
R+16
R+17
etc.
R+31
Section 5-17
Di: 0030
S
R
0
R + 1
1
R + 2
2
R + 3
3
Di: 0023
S
R
0
R + 1
1
R + 2
2
3
Di: 1011
R
R + 1
etc.
R+15
R+16
R+17
etc.
R+31
215

Advertisement

Table of Contents
loading

Table of Contents