K9: Kollisionsvermeidung, intern
7.4 Beispiel
Programmcode
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Schutzbereich 4: Z-Achse
; ----------------------------------------------------------
$NP_PROT_NAME[C_NPC]
$NP_PROT_TYPE[C_NPC]
$NP_CHAIN_ELEM[C_NPC] = "Z-Achse"
$NP_1ST_PROT[C_NPC]
$NP_PROT_COLOR[C_NPC] = 'HFFA0A0A4'
$NP_BIT_NO[C_NPC]
$NP_INIT_STAT[C_NPC]
;
C_NPC = C_NPC + 1
;
; ----------------------------------------------------------
; Schutzbereichselement 4.1: SBE-Horizontaler Staender
; ----------------------------------------------------------
$NP_NAME[C_NPE]
$NP_NEXT[C_NPE]
$NP_NEXTP[C_NPE]
$NP_TYPE[C_NPE]
;
$NP_PARA[C_NPE,0]
$NP_PARA[C_NPE,1]
$NP_PARA[C_NPE,2]
;
$NP_OFF[C_NPE,0]
$NP_OFF[C_NPE,1]
$NP_OFF[C_NPE,2]
;
$NP_DIR[C_NPE,0]
$NP_DIR[C_NPE,1]
$NP_DIR[C_NPE,2]
;
$NP_ANG[C_NPE]
;
$NP_COLOR[C_NPE]
$NP_D_LEVEL[C_NPE]
$NP_USAGE[C_NPE]
$NP_FILENAME[C_NPE] = ""
;
C_NPE = C_NPE + 1
;
350
= "Z-Achse"
= "MACHINE"
= "SBE-Z-Achse"
; AARRGGBB
= -1
= "A"
; naechster Schutzbereich
= "SBE-Z-Achse"
= ""
= ""
= "BOX"
= 160.0
= 600.0
= 160.0
=
0.0
= 200.0
= 130.0
= 0.0
= 0.0
= 0.0
= 0.0
= 0
= 0
= "A"
; naechstes Schutzbereichselement
Funktionshandbuch, 12/2017, 6FC5397-2BP40-6AA1
Sonderfunktionen