CNC Z32 - Programming Guide (LATHES)
Jump to a CMOS subprogram with label (! GOP.. –N..!)
It is possible to jump in a CMOS subprogram starting the execution from a given label.
Example:
N10
…
N50 !GOP10-N30!
N60
…
Sottoprogramma CMOS 10:
N10
…
N30
…
…
N100 G26
The main program is executed up to line N50, then the execution switches to subprogram 10, executed
from line N30 to line N100. The G26 instruction indicates the end of subprogram, then the execution
switches back to the calling program continuing from line N60.
Warning: In order to use the N… numbers as destinations for a jump, it is necessary for the N character to
be the first character present in the line, without leading spaces.
5.2.9
Jump to a CMOS subprogram with two labels (! GOP.. –N.. –N..!)
It is possible to jump in a CMOS subprogram starting the execution from a given label.
Example:
N10
…
N50 !GOP10-N30-N70!
N60
…
Sottoprogramma CMOS 10:
N10
…
N30
…
N70
…
N100 G26
The main program is executed up to line N50, then the execution switches to subprogram 10, executed
from line N30 to line N70. After execution of line N70, the calling program continues the execution from line
N60.
Warning: In order to use the N… numbers as destinations for a jump, it is necessary for the N character to
be the first character present in the line, without leading spaces.
61
Summary of Contents for CNC Z32 Florenz Series
Page 2: ......