Definition of control areas
The definition of a work or protection area has to be done directly in NC program. The definition consists of #-commands and a sequence of standard movement blocks. The standard movement blocks must be programmed in absolute dimensions. The contour of the control area in the plane is defined either with a closed polygon formed by linear movement blocks (end point and starting point of the block sequence must be identical) or by a full circle. The excursion in the third dimension and further characteristics of the control area are defined in the assigned #-command.
Start of definition of a control area:
#CONTROL AREA START [ ID <expr> WORK | PROTPOLY | CIRC MIN_EXCUR <expr> MAX_EXCUR <expr> ] (modal)
ID<expr>
WORK Control area is a work space.
PROT Control area is a protection space.
POLY Contour of control area is defined as a closed polygonal shape.
CIRC Contour of control area is defined as a full circle.
MIN_EXCUR<expr> Limitation of the control area in the third dimension in negative direction.
MAX_EXCUR<expr> Limitation of the control area in the third dimension in positive direction.
End of definition of a control area:
#CONTROL AREA END (modal)
Each control area has to be closed with the command #CONTROL AREA END. Only after that further control areas can be defined.
A deselected control area can be redefined by programming the new definition using the same ID. |
Programming example
(Definition of a polygonal work space:)
:
N10 #CONTROL AREA START [ID1 WORK POLY MIN_EXCUR=-50 MAX_EXCUR=50]
N20 G01 F1000 G90 X-150 Y75 (Start point)
N30 X-50 Y150
N40 X50 Y150
N50 X150 Y75
N60 X150 Y0
N70 X50 Y0
N80 X50 Y75
N90 X-50 Y75
N100 X-50 Y0
N120 X-150 Y0
N130 X-150 Y75 (End point identical with start point)
N140 #CONTROL AREA END
:
(Definition of a cylindrical protection space:)
:
N210 #CONTROL AREA START [ID2 PROT CIRC MIN_EXCUR=-70 MAX_EXCUR=70]
N220 G01 X100 Y0 F10000 (Start point for cylindrical prot. space)
N230 G02 G162 I50 J0
N240 #CONTROL AREA END
: