
3.EXECUTION MACRO FUNCTION B-63943EN-2/01
- 18 -
Call code
Program number
called
Common
variable for
storing a
specified code
Parameters to be set Remarks
Subprogram call using
second auxiliary function
code
O9028 #146
Compile parameter BSC
(No. 9105#1)
Subprogram call using
specific code
O9004, O9005
#146
#147
Compile parameters
ACL1/ACL2 (No. 9002#1
or #2)
Parameters
(No.6090 and 6091)
Subprogram call for user
program (*2)
Specified at
address P.
None
Compile parameter
(No. 9033)
A user program in
program memory is
called from an
execution macro.
P-CODE workpiece
number search
Set for a control
variable.
None
Compile parameter
PWSR (No. 9002#6)
An execution macro is
called preceding the
main program at the
start of automatic
operation.
*2 Function specific to execution macros. This function calls no
execution macro.
NOTE
1 The correspondence between codes used for
macro and subprogram calls and the numbers of
called programs, and whether to call a
subprogram/macro are determined by compile
parameters. The compile parameters are
registered in the F-ROM at compile time. Be sure
to specify the compile parameters at compile time.
2 Set a code for a subprogram call using a specific
code in parameters (Nos. 6090 and 6091) at
execution time.