EasyManua.ls Logo

Omron SYSMAC CV Series - Page 242

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...
230
The digits of Di are set as shown below.
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 (See note.)
0: Leftmost bit
1: Rightmost bit
Process
0: 16-to-4
1: 256-to-8
Digit number: 3210
Note The encoding bit can be specified for version-2 CVM1 CPUs only. For earlier
CPUs, only the leftmost bit can be encoded.
Some example Di values and the word-to-digit conversions that they produce
are shown below for 16-bit conversion.
0
1
2
3
R
Di: 0011
S
S + 1
0
1
2
3
S
S + 1
S + 2
S + 3
Di: 0030
R
S
S + 1
S + 2
S + 3
0
1
2
3
Di: 0032
R
Di: 0013
0
1
2
3
S
S + 1
R
Some example Di values and the digit-to-word conversions that they produce
are shown below for 256-bit conversion.
0
1
R
R + 1
etc.
R+15
R+16
R+17
etc.
R+31
S
Di: 1011Di: 1010
0
1
R
R + 1
etc.
R+15
R+16
R+17
etc.
R+31
S
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 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
Improper digit designator.
Content of a source word is 0.
Digit Designator
Precautions
Conversion Instructions Section 5-17

Table of Contents

Related product manuals