Interrupt Control - Int(89) - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Subroutines and Interrupt Control
Main
program
Subroutines
Flags
Caution
!
5-20-4
INTERRUPT CONTROL – INT(89)
Limitations
Caution
!
The following diagram illustrates program execution flow for various execu-
tion conditions for two SBS(91).
A
SBS(91)
00
B
SBS(91)
01
C
SBN(92)
00
D
RET(93)
SBN(92)
01
E
RET(93)
END(01)
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.
SBS(91) will not be executed and the subroutine will not be called when ER is
ON.
Ladder Symbols
INT(89)
@INT(89)
CC
N
D
D may be a constant only when CC is 000 or 001. D must be a word address
when CC is 002. See below for details.
INT(89) cannot be used during execution of step programs or in C2000H Duplex
CPUs. Refer to 5-21 Set Instructions for details on step programs.
OFF execution conditions for
subroutines 00 and 01
A
B
C
ON execution condition for
subroutine 00 only
A
D
B
ON execution condition for
subroutine 01 only
A
B
E
ON execution conditions for
subroutines 00 and 01
A
D
B
CC
N
D
IR, AR, DM, HR, TC, LR, TR, #
Section 5-20
C
C
E
C
Operand Data Areas
CC: Control code
# (000 to 002)
N: Interrupt designator
# (000 to 004)
D: Control data
185

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents