Omron CVM1D Operation Manual page 223

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Conversion Instructions
Digit Designator
Precautions
Flags
218
The digits of Di are set as shown below.
Digit number:
3 2 1 0
Some example Di values and the word-to-digit conversions that they produce
are shown below for 16-bit conversion.
S
S + 1
S
S + 1
Some example Di values and the digit-to-word conversions that they produce
are shown below for 256-bit conversion.
Di: 1010
R
R + 1
etc.
R+15
R+16
R+17
etc.
R+31
The rightmost two digits of Di must each be between 0 and 3.
All source words must be in the same data area. DMPX(111) requires either 4 or
32 source 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.
Content of a source word is 0.
Specifies the first digit to receive converted data
16-to-4: 0 to 3
256-to-8: 0 or 1
Number of digits to be converted
16-to-4: 0 to 3 (1 to 4 digits)
256-to-8: 0 or 1 (1 or 2 digits)
Encoding bit
0: Leftmost bit
1: Rightmost bit
Process
0: 16-to-4
1: 256-to-8
Di: 0011
R
0
1
2
3
Di: 0013
R
0
1
2
3
S
0
R + 1
etc.
1
R+15
R+16
R+17
etc.
R+31
Section 5-17
Di: 0030
R
0
S
1
S + 1
2
S + 2
3
S + 3
Di: 0032
R
0
S
1
S + 1
2
S + 2
3
S + 3
Di: 1011
S
R
0
1

Advertisement

Table of Contents
loading

Table of Contents