Defining workspaces and protection spaces
Time of definition
No workspaces/protection spaces are pre-defined when the controller starts up. A definition in the configuration lists is currently not possible. Workspaces/protection spaces are exclusively defined directly in the NC program.
The NC command for defining a control space contains the following syntax elements:
#CONTROL AREA START | END [ ID <expr> WORK | PROTPOLY | CIRC MIN_EXCUR <expr> MAX_EXCUR <expr> ] (modal)
ID <expr> | Unique identification of the diverse workspaces/protection spaces. |
WORK | PROT | Distinction between definition of a workspace (WORK) or a protection space (PROT). |
POLY | CIRC | Distinction between whether the basic geometric shape of the workspace or protection space is polygonal (POLY) or circular (CIRC). |
MIN_EXCUR<expr> | Low limit of extension in the third dimension. |
MAX_EXCUR <expr> | High limit of extension in the third dimension. |
Sequence of NC command for defining a workspace/protection space
Every control space definition begins with #CONTROL AREA START and must be terminated with #CONTROL AREA END. Between these two commands, the basic geometric form of the workspace or protection space is programmed by means of DIN 66025 motion commands. A valid feed rate (F word) must be active.
Depending on the configured geometric shape, G02 or G03 is expected in the case of cylindrical control spaces and G01 in the case of a polygonal one, with corresponding motion blocks.
| |
During the definition of the control space all positions must be programmed in absolute dimension (G90)! |
Polygonal control spaces "POLY"
A two-dimensional polygon is defined by a string of linear NC motion commands. The string of points is checked for a convex profile. This means that connections between two adjacent points must not overlap. For the third dimension (third main axis), the minimum and maximum limits are defined in the start command.
![]() | First and last points identical When defining polygonal control spaces, note that the first and last points must be identical. This rule makes sure that a closed contour is defined as a polygon. |
Programming example: Definition of a polygonal workspace
N10 #CONTROL AREA START [ID3 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


Cylindrical control spaces "CIRC"
When cylindrical control spaces are defined, two NC motion commands are needed in conformity with DIN 66025. The first motion command defines the starting point of the full circle and thus the absolute position of the control space. A circular NC motion command (G02/G03) is absolute expected as the second motion command. For the third dimension (third main axis), the minimum and maximum limits are defined in the start command.
Programming example: Definition of a cylindrical protection space
N10 #CONTROL AREA START [ID4 PROT CIRC MIN_EXCUR=-70 MAX_EXCUR=70]
N20 G01 X100 Y0 F10000 (Start point for cyl. protection space)
N30 G02 G162 I50 J0
N40 #CONTROL AREA END


Overwriting of control spaces
A control space can be overwritten by programming the same ID again. The prerequisite, however, is that the control space with this ID is not activated at this time.