
Programming manual.
CNC 8070
SUBROUTINES.
14.
Interrup
ti
on subrou
ti
nes.
·287·
(R
EF
: 1709)
14.8.1
Repositioning axes and spindles from the subroutine (#REPOS).
The #REPOS can only be used inside the interruption subroutines and allows repositioning
axes and spindles before ending that subroutine. The CNC does not reposition the axes
when the instruction is executed, it does when returning from the subroutine to the program
as the last action associated with the subroutine.
An interruption subroutine may contain several #REPOS instructions, but they all must be
programmed at the end of the subroutine, in the blocks before the end of the subroutine
(#RET, M17, M29). Blocks programmed between the last #REPOS instruction and the end-
of-subroutine block will cause an error.
Programming.
This instruction must be programmed at the end of the subroutine, before the end-of-
subroutine block. When programming this instruction, you must define the axes to be
repositioned. Optionally, it is possible to indicate whether the reposition point for the axes
is the point where the program was interrupted or the starting point of the interrupted block.
Programming format.
The programming format is the following; the list of arguments appears between curly
brackets and the optional ones between angle brackets.
#REPOS <{point}> X~C <X~C>
Sequence of axes and spindles to be repositioned.
The CNC repositions the axes in the program sequence, except the axes of the active plane
that reposition simultaneously when the first of them repositions. Since there may be several
#REPOS instructions in the same subroutine, axes or spindles repeated (duplicated) in the
same instruction or in a previous one are ignored.
Reposition point.
This parameter is defined with one of the following commands; if not programmed, the
instruction assumes the INT value.
The same subroutine may have several #REPOS instructions, but all of them must have the
same INT/INI reposition point.
{point}
Optional. Reposition point. This parameter is set with one of the INT/INI
values.
X~C
Sequence of axes and spindles to be repositioned.
#REPOS A1 A2 S1
The reposition point is the point where the program was interrupted.
#REPOS INT X A1 U Z S
The reposition point is the point where the program was interrupted.
#REPOS INI X Y Z
The reposition point is the starting point of the interrupted block.
Value.
Meaning.
INT
The reposition point for the axes is the point where the
program was interrupted when activating the subroutine.
INI
The reposition point for the axes is the starting point of the
interrupted block.
Summary of Contents for 8070 BL
Page 1: ... Ref 1709 8070 CNC Programming manual ...
Page 8: ...BLANK PAGE 8 ...
Page 12: ...BLANK PAGE 12 ...
Page 14: ...BLANK PAGE 14 ...
Page 26: ...BLANK PAGE 26 ...
Page 28: ...BLANK PAGE 28 ...
Page 30: ...BLANK PAGE 30 ...
Page 60: ...Programming manual CNC 8070 2 MACHINE OVERVIEW Home search 60 REF 1709 ...
Page 72: ...Programming manual CNC 8070 3 COORDINATE SYSTEM Coordinate programming 72 REF 1709 ...
Page 96: ...Programming manual CNC 8070 5 ORIGIN SELECTION Polar origin preset G30 96 REF 1709 ...
Page 178: ...Programming manual CNC 8070 9 TOOL PATH CONTROL MANUAL INTERVENTION Variables 178 REF 1709 ...
Page 304: ...Programming manual CNC 8070 16 C AXIS Machining of the turning side of the part 304 REF 1709 ...
Page 442: ...Programming manual CNC 8070 23 CNC VARIABLES 442 REF 1709 ...
Page 443: ...Programming manual CNC 8070 443 User notes REF 1709 ...