
7.DEBUGGING FUNCTION B-63943EN-2/01
- 280 -
Debugging an auxiliary macro
The auxiliary macro function allows an auxiliary macro to be
executed immediately after the CNC is turned on if the program
number of the auxiliary macro is set in the auxiliary macro control
variable (#8530). To debug an auxiliary macro starting with the first
block, follow the steps explained below.
(1) Set bit 1 (NDP) of parameter (No. 9000) to 1 to display the P-
CODE macro variable screen.
(2) On the P-CODE macro variable screen, set 0 in #8530.
(3) Start the debugger, and enable single-block execution (ON).
(4) Change the target to the auxiliary macro.
(5) In #8530, set the program number of the auxiliary macro you
want to execute. Then, the first block of the auxiliary macro is
executed then stopped.