![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423203.webp)
190
Although subroutines 00 through 31 can be called by using SBS(91), they
are also activated by interrupt signals from Interrupt Input Units. Subroutine
99, which can also be called using SBS(91), is used for the scheduled inter-
rupt. (Refer to the next subsection for details.)
The following diagram illustrates program execution flow for various execu-
tion conditions for two SBS(91).
SBS(91)
00
SBS(91)
01
SBN(92)
00
RET(93)
SBN(92)
01
RET(93)
END(01)
Main
program
Subroutines
A
B
C
D
E
A
A
A
A
B
B
B
B
C
C
C
C
D
D
E
E
OFF execution conditions for
subroutines 00 and 01
ON execution condition for
subroutine 00 only
ON execution condition for
subroutine 01 only
ON execution conditions for
subroutines 00 and 01
Flags
ER:
A subroutine does not exist for the specified subroutine number.
A subroutine has called itself.
Subroutines have been nested to more than sixteen levels.
Caution SBS(91) will not be executed and the subroutine will not be called when ER
is ON.
5-20-4
INTERRUPT CONTROL – INT(89)
CC: Control code
# (000 to 002)
N: Interrupt designator
# (004)
Ladder Symbols
Operand Data Areas
D: Control data
IR, AR, DM, HR, TC, LR, TR, #
INT(89)
CC
N
D
@INT(89)
CC
N
D
Subroutines and Interrupt Control
Section 5-20
Содержание 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 ...