Programmcode
; ----------------------------------------------------------
; Kinematisches Element: Y-Achse
; ----------------------------------------------------------
$NK_NAME[C_NKE]
$NK_NEXT[C_NKE]
$NK_PARALLEL[C_NKE]
$NK_TYPE[C_NKE]
;
$NK_OFF_DIR[C_NKE, 0] = 0.0
$NK_OFF_DIR[C_NKE, 1] = 1.0
$NK_OFF_DIR[C_NKE, 2] = 0.0
;
$NK_AXIS[C_NKE]
$NK_A_OFF[C_NKE]
;
C_NKE = C_NKE + 1
;
; ----------------------------------------------------------
; Kinematisches Element: Z-Achse
; ----------------------------------------------------------
$NK_NAME[C_NKE]
$NK_NEXT[C_NKE]
$NK_PARALLEL[C_NKE]
$NK_TYPE[C_NKE]
;
$NK_OFF_DIR[C_NKE, 0] = 0.0
$NK_OFF_DIR[C_NKE, 1] = 0.0
$NK_OFF_DIR[C_NKE, 2] = 1.0
;
$NK_AXIS[C_NKE]
$NK_A_OFF[C_NKE]
;
C_NKE = C_NKE + 1
;
;
;===========================================================
; Schutzbereiche mit Schutzbereichselementen
;===========================================================
; Schutzbereich 1: Staender
; ----------------------------------------------------------
$NP_PROT_NAME[C_NPC]
$NP_PROT_TYPE[C_NPC]
$NP_CHAIN_ELEM[C_NPC] = "ROOT"
$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
;
Sonderfunktionen
Funktionshandbuch, 03/2013, 6FC5397-2BP40-3AA1
= "Y-Achse"
= ""
= ""
= "AXIS_LIN"
; X
; Y
; Z
= "Y1"
= 0.0
; naechstes Kinematisches Element
= "Z-Achse"
= ""
= ""
= "AXIS_LIN"
; X
; Y
; Z
= "Z1"
= 0.0
; naechstes Kinematisches Element
= "Staender"
= "MACHINE"
= "SBE-Staender"
; AARRGGBB
= -1
= "A"
; naechster Schutzbereich
K9: Kollisionsvermeidung - nur 840D sl
6.4 Beispiel
307