Setting The Protection Area State (Prots); Determining The Clearance Of Two Protection Areas (Protd) - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

K9: Collision avoidance - only 840D sl
7.3 Programming
See also
Setting the protection area state (PROTS) (Page 278)
7.3.3

Setting the protection area state (PROTS)

Function
The PROTS() procedure sets the state of protection areas to the specified value.
Syntax
PROTS(<state>{, <name>})
Meaning
PROTS:
<state>:
<name>:
1) The activation/deactivation is performed via: DB10.DBX234.0 - DBX241.7
2) The status is set to the NC-internal value of the initialization status, i.e. to the value that the system
variable $NP_INIT_STAT (Page 230) had at the time of the last PROTA( ) (Page 277) call.
7.3.4

Determining the clearance of two protection areas (PROTD)

Function
The PROTD() function calculates the clearance of two protection areas.
278
Sets the state of protection areas
The status is set for all defined protection areas if a protection area is not specified.
Supplementary condition: Must be alone in the block
State to which the specified protection areas are to be set
Data type:
CHAR
Value
Status
"A"or "a"
Active
"I"or "i"
Inactive
"P"or "p"
Preactivated or PLC-controlled
"R"or "r"
NC-internal value of the initialization status
Name of one or more protection areas that are to be set to the specified state.
(optional)
Note
The maximum number of protection areas that can be specified as parameters
depends only on the maximum possible number of characters per program line.
Data type:
STRING
Range of values: Parameterized protection area names
1)
2)
Function Manual, 01/2015, 6FC5397-2BP40-5BA2
Special functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents