725
Subroutines
Section 3-19
3-19-2 MACRO: MCRO(099)
Purpose
Calls the subroutine with the specified subroutine number and executes that
program using the input parameters in S to S+3 and the output parameters in
D to D+3.
Ladder Symbol
Variations
1
5
2
4
3
A
→
S1-1
→
S2
→
S1-2
→
B
A
→
S1-1
→
S1-2
→
B
A
→
B
A
→
B
CIO 000000 ON
CIO 000001 ON
Order of execution
Subroutine 1
Subroutine 2
1
2
2
1
N: Subroutine number
S: First input parameter word
D: First output parameter word
MCRO(099)
N
S
D
Variations
Executed Each Cycle for ON Condition
MCRO(099)
Executed Once for Upward Differentiation
@MCRO(099)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...