![Omron SYSMAC C200H Скачать руководство пользователя страница 166](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423166.webp)
153
For the results, the seconds is placed in bits 00 through 07 and the minutes
is placed in bits 08 through 15 of R. The hours is placed in R+1. The maxi-
mum will be 9,999 hours, 59 minutes, and 59 seconds.
Flags
ER:
S and S+1 or R and R+1 are not in the same data area.
S and/or S+1 do not contain BCD or exceed 36,000,000 seconds.
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ:
Turns ON when the result is zero.
Example
When 00000 is OFF (i.e., when the execution condition is ON), the following
instruction would convert the seconds given in HR 12 and HR 13 to hours,
minutes, and seconds and store the results in DM 0100 and DM 0101 as
shown.
STH(66)
HR 12
DM 0100
000
00000
HR 12
5
9
2
7
HR 13
1
0
1
3
DM 0100
3
2
0
7
DM 0101
2
8
1
5
10,135,927 s
2,815 hrs, 32 min, 07 s
Address
Instruction
Operands
00000
LD NOT
00000
00001
STH(66)
HR
12
DM
0100
000
5-16-7
4-TO-16 DECODER – MLPX(76)
S: Source word
IR, SR, AR, DM, HR, TC, LR
Di: Digit designator
IR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R: First result word
IR, AR, DM, HR, LR
MLPX(76)
S
Di
R
@MLPX(76)
S
Di
R
The rightmost two digits of Di must each be between 0 and 3.
All result words must be in the same data area.
When the execution condition is OFF, MLPX(76) is not executed. When the
execution condition is ON, MLPX(76) converts up to four, four-bit hexadeci-
mal 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,
Limitations
Description
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 ...