K8: Geometric machine modeling - only 840D sl
6.2 Commissioning
6.2.3.4
$NP_PROT_TYPE
Function
The protection area type should be entered in the system variable:
Type
MACHINE
TOOL
Syntax
$NP_PROT_TYPE[<m>] = "<type>"
Meaning
$NP_PROT_TYPE:
<m>:
<Type>:
Example
The 6th protection area is a machine protection area:
Program code
N100 $NP_PROT_TYPE[5] = "MACHINE"
224
Description
Machine protection area
The protection area body is defined using one or several protection area elements.
$NP_1ST_PROT (Page 225) refers to the first protection area element.
Automatic tool protection area
The control calculates the dimensions of the protection area body from the tool data.
$NP_INDEX (Page 231) refers to the tool.
Type of the protection area
Data type:
STRING
Range of values: "MACHINE", "TOOL"
Default value:
"" (empty string)
System variable or protection area index
Data type:
INT
Range of values: 0, 1, 2, ... ($MN_MM_3D_MAXNUM_PROT_AREAS - 1)
Type
Data type:
STRING
Comment
; 6. Protection area,
; type = "MACHINE"
Function Manual, 01/2015, 6FC5397-2BP40-5BA2
Special functions