![Omron SYSMAC C200H Скачать руководство пользователя страница 167](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423167.webp)
154
then one bit will be turned ON in each of consecutive words beginning with R.
(See examples, below.)
The following is an example of a one-digit decode operation from digit num-
ber 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.
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. The final word required to store the converted result (R plus the number of
digits to be converted) must be in the same data area as R, e.g., if two digits
are converted, the last word address in a data area cannot be designated; if
three digits are converted, the last two words in a data area cannot be desig-
nated.
The digits of Di are set as shown below.
Specifies the first digit to be converted (0 to 3)
Number of digits to be converted (0 to 3)
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
Not used
Digit number:
3 2 1 0
Some example Di values and the digit-to-word conversions that they produce
are shown below.
0
1
2
3
R
R + 1
R
R + 1
R + 2
0
1
2
3
0
1
2
3
0
1
2
3
R
R + 1
R + 2
R + 3
R
R + 1
R + 2
R + 3
S
Di: 0031
Di: 0023
Di: 0030
Di: 0010
S
S
S
Digit Designator
Data Conversion
Section 5-16
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...