Omron C200HS Garage Door Opener User Manual


 
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