![Omron CVM1D Скачать руководство пользователя страница 219](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532219.webp)
214
5-17-8 DATA DECODER: MLPX(110)
Variations
j
MLPX(110)
(110)
MLPX
S
Di
R
Operand Data Areas
Ladder Symbol
S: Source word
CIO, G, A, T, C, DM, DR, IR
R: 1
st
result word
CIO, G, A, DM
Di: Digit designator
CIO, G, A, T, C, #, DM, DR, IR
When the execution condition is OFF, MLPX(110) is not executed. When the
execution condition is ON, MLPX(110) can be used to convert either 4-bit units
or 8-bit units. The type of conversion used is specified in the leftmost bit of Di.
For 4-bit conversion, MLPX(110) converts up to four 4-bit hexadecimal digits
from S into decimal values from 0 to 15, each of which is used to indicate a bit
position. The bit whose number corresponds to each converted value is then
turned ON in a result word. If more than one digit is specified, then one bit will be
turned ON in each of consecutive words beginning with R. (See examples, be-
low.)
The following is an example of a one-digit decode operation from digit number 1
of S, i.e., here Di would be 0001.
Source word
First result word
C
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
Bit C (i.e., bit number 12) turned ON.
For 8-bit conversion, MLPX(110) converts up to two 8-bit digits from S into deci-
mal values from 0 to 255, each of which is used to indicate a bit position in con-
secutive result words. The bit corresponding to each converted value counting
from the first result word is turned ON in the result words. If more than one digit is
specified, then one bit will be turned ON in each set of consecutive words begin-
ning with R. (See examples, below.)
The following is an example of a one-digit decode operation from digit number 1
of S, i.e., here Di would be 1001.
Source word
First result word: R
12
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
18th bit (12 hex is 18 decimal) turned ON.
R + 1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
The first digit and the number of digits to be converted are designated in Di. If
more digits are designated than remain in S (counting from the designated first
digit), the remaining digits will be taken starting back at the beginning of S.
Description
Conversion Instructions
Section 5-17
Содержание CVM1D
Страница 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Страница 463: ...iv...
Страница 465: ...vi...