Np_Index - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Example
The initialization status of the 6th protection area is set to "P" (preactivated or PLC-controlled):
Program code
N100 $NP_INIT_STAT[5] = "P"
The current status depends on the state of the interface signal parameterized in
$NP_BIT_NO (Page 228).
6.2.3.10

$NP_INDEX

Function
For automatic protection areas ($NP_PROT_TYPE (Page 224)), the address, under which the
geometric data of the machine part, tool, etc. to be protected is saved, should be entered in
the system variable. The control then automatically creates the geometrical dimensions of the
protection area from the geometric data.
Example
For example, for an automatic tool protection area ($NP_PROT_TYPE == "TOOL") the
geometrical dimensions of the protection area are created based on the tool data.
Syntax
$NP_INDEX[<m>,<i>] = <value>
Meaning
$NP_INDEX:
<m>:
<i>:
<value>:
Special functions
Function Manual, 01/2015, 6FC5397-2BP40-5BA2
Address of the geometric data for the automatic protection areas
Data type:
INT[ 3 ]
System variable or protection area index
Data type:
INT
Range of values:
0, 1, 2, ... ($MN_MM_MAXNUM_3D_PROT_AREAS - 1)
Index
The meaning of the system variables $NP_INDEX[<m>,<i>], with i = 0, 1, 2, ...
is dependent on the type ($NP_PROT_TYPE) of the automatic protection area.
See type-specific tables.
Data type:
INT
Range of values:
0, 1, 2
Address
Data type:
INT
K8: Geometric machine modeling - only 840D sl
Comment
; 6. Protection area,
; initialization status = "P"
6.2 Commissioning
231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents