
4.CONVERSATIONAL MACRO FUNCTION AND AUXILIARY MACRO FUNCTION B-63943EN-2/01
- 76 -
4.2.1 Execution and Termination
Execution
After power-on, the auxiliary macro function is always executed.
Which P-CODE is executed on each path is set in parameter (No.
9050).
After the auxiliary macro function enters the constant execution state,
it executes the auxiliary macro main program with the value of the
control variable for executing an auxiliary macro (#8530) as the
program number. When the power is turned on, the value of compile
parameter (No. 9039) is set for the control variable for executing an
auxiliary macro (#8530).
NOTE
During reader/punch interface control using an
auxiliary macro, the screen display does not switch
to any other screen.
An error may occur and execution may not be able
to be continued. Such an error includes the case
where no P-CODE macro is found as the auxiliary
macro with the value of the control variable for
executing an auxiliary macro (#8530) as the
program number. In this case, a message
indicating that a fatal error occurs is displayed on
the conversational macro screen. (For details,
see Section 4.6, "Fatal Error.")
Termination
The auxiliary macro function does not terminate because it is always
executed. Setting the control variable for executing an auxiliary
macro (#8530) to 0 places the auxiliary macro function in the wait
state when a program end command (execution control code M99 or
M99Pp) in the main program is executed. The function remains in the
wait state until a program number is set for the control variable for
executing an auxiliary macro (#8530) again.
Program an auxiliary macro as a cyclic program like a conversational
macro.