![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268857.webp)
818
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
CIO 000000 ON
CIO 000001 ON
1
2
2
1
A
→
S1-1
→
S2
→
S1-2
→
B
A
→
S1-1
→
S1-2
→
B
A
→
B
A
→
B
Subroutine 1
Subroutine 2
Order of execution
MCRO(099)
N
S
D
N
: Subroutine number
S
: First input parameter word
D
: First output parameter word
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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...