
4.CONVERSATIONAL MACRO FUNCTION AND AUXILIARY MACRO FUNCTION B-63943EN-2/01
- 78 -
4.2.3 Execution Cycle
Whether an auxiliary macro is executed depends on whether a
conversational macro is executed.
When a conversational macro is executed
- Sequential execution (when bit 1 (SEP) of parameter (No. 9033) is set to 0)
Auxiliary macro and conversational macro are sequentially executed.
Each macro is continuously executed until the main program end
instruction (execution control code M99/M99Pp) is executed. When
a main program run ends, control is transferred to another macro.
NOTE
The execution times of an auxiliary macro and
conversational macro affect each other. For
example, if the size of the auxiliary macro (the
number of blocks to be executed) increases, the
conversational macro cannot be executed until the
M99 block of the auxiliary macro is executed. Until
that time, the display of the conversational macro
stops.
- Parallel execution (when bit 1 (SEP) of parameter (No. 9033) is set to 1)
Unlike sequential execution, an auxiliary macro and conversational
macro are executed in parallel.
Auxiliary macro blocks as many as specified in parameter (No. 9066)
are executed at certain time intervals. A conversational macro is
continuous executed, regardless of the state of the auxiliary macro.
So, the execution times of an auxiliary macro and conversational
macro affect each other less in parallel execution than in sequential
execution.
NOTE
The conversational macro is not synchronized with
the auxiliary macro in the parallel execution mode.
When the same macro variable or macro executor
function is to be used, program the conversational
macro and auxiliary macro so that no competition
will occur.
When no conversational macro is executed
The auxiliary macro is repeatedly executed.
Blocks as many as specified are executed at certain time intervals,
regardless of the setting of parameter (No. 9066).