![Omron CVM1D Скачать руководство пользователя страница 222](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532222.webp)
217
For 16-bit conversion, DMPX(111) determines the position of the highest ON bit
in SB, encodes it into one-digit hexadecimal value corresponding to the bit num-
ber of the highest ON bit, then transfers the hexadecimal value to the specified
4-bit digit in R. The digits to receive the results are specified in Di, which also
specifies the number of digits to be encoded.
The following is an example of a one-digit encode operation to digit number 1 of
R, i.e., here Di would be 0001.
Result word
First source word
C
0
0
0
1
0
0
0
1
0
0
0
1
0
1
1
0
C transferred to indicate bit number 12 as
the highest ON bit.
For 256-bit conversion, DMPX(111) determines the position of the highest ON
bit in SB to SB+15, encodes it into two-digit hexadecimal value corresponding to
the bit number of the highest ON bit, then transfers the hexadecimal value to the
specified 8-bit digit in R. The first digit to receive the results is specified in Di,
which also specifies the number of digits to be encoded.
The following is an example of a one-digit encode operation to digit number 1 of
R, i.e., here Di would be 1001.
Result word
First source word: SB
12
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
12 transferred to indicate that the 18th bit
is the highest ON bit.
SB + 1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
The number of digits (words) to be encoded and the first digit to receive con-
verted data are specified in Di. If more digits are designated than remain in R
(counting from the designated first digit), the remaining digits will be placed at
digits starting back at the beginning of R.
The final word(s) to be converted must be in the same data area as SB.
Conversion Instructions
Section 5-17
Содержание CVM1D
Страница 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Страница 463: ...iv...
Страница 465: ...vi...