Define control areas
A work or protection space is defined directly in the NC program in a sequence of path motions enclosed in plain text commands. In this case, path motions must always be programmed in absolute dimensions. The contour of the control area in the plane is defined either with a closed polygon formed by linear blocks (target 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 plain text command.
Start of control area definition:
#CONTROL AREA BEGIN [ ID<expr> WORK | PROT POLY | CIRC MIN_EXCUR<expr> MAX_EXCUR<expr> ] (modal, program and CNC reset global active) |
ID<expr> | Identification number of the control area (ID). The definition is global valid after program end and RESET. Up to 20 different control areas can be defined. |
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 in [mm, inch]. |
MAX_EXCUR<expr> | Limitation of the control area in the third dimension in positive direction in [mm, inch]. |
End of control area definition:
#CONTROL AREA END (modal) |
Each control area has to be closed by the command #CONTROL AREA END. Only then can further control areas be defined.
Notice
A deactivated area can be overwritten by reprogramming using the same ID.
Attention
Active Cartesian transformations #(A)CS are not considered in the definition of monitored spaces. Work and protection spaces are always defined as Cartesian in the MCS coordinate system.
Programing Example
Defining control areas
(Defining a polygonal work space:
:
N10 #CONTROL AREA BEGIN [ID1 WORK POLY MIN_EXCUR=-50 MAX_EXCUR=50]
N20 G01 F1000 G90 X-150 Y75 (Starting 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 starting point)
N140 #CONTROL AREA END
:
(Define a cylindrical protection space:
:
N210 #CONTROL AREA BEGIN [ID2 PROT CIRC MIN_EXCUR=-70 MAX_EXCUR=70]
N220 G01 X100 Y0 F10000 (Starting point for cylindrical prot. space)
N230 G02 G162 I50 J0
N240 #CONTROL AREA END
: