![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436272.webp)
262
Example
The following examples shows the use of four MCRO(99) instructions that ac-
cess the same subroutine. The program section on the left shows the same pro-
gram without the use of MCRO(99).
10000
00000
10001
10000
10001
00001
00002
10500
00200
10501
10500
10501
00201
00202
12000
00500
12001
12000
12001
00501
00502
15000
01000
15001
15000
15001
01001
01002
29400
29000
29401
29400
29401
29001
29002
RET(93)
MCRO(99)
090
000
100
25313
MCRO(99)
090
002
105
MCRO(99)
090
005
120
MCRO(99)
090
010
150
Always ON Flag
5-23-6 INTERRUPT CONTROL – INT(89)
C: Control code
# (000, 001, 002, 100, or 200)
N: Interrupt type
# (000 or 004)
Ladder Symbols
Operand Data Areas
D: Control data
IR, AR, DM, HR, TC, LR, #
INT(89)
C
N
D
@INT(89)
C
N
D
Limitations
D must be between 0000 and 00FF when N=000 and C=000 or 001.
D must be BCD between 0001 and 9999 when N=004 and C=000 or 001.
Subroutines and Interrupt Control
Section 5-23
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...