Programmcode
; ----------------------------------------------------------
; Kinematisches Element: X-Achse
; ----------------------------------------------------------
$NK_NAME[C_NKE]
$NK_NEXT[C_NKE]
$NK_PARALLEL[C_NKE]
$NK_TYPE[C_NKE]
;
$NK_OFF_DIR[C_NKE, 0] = 1.0
$NK_OFF_DIR[C_NKE, 1] = 0.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: 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
;
;
Sonderfunktionen
Funktionshandbuch, 01/2015, 6FC5397-2BP40-5AA2
= "X-Achse"
= "Y-Achse"
= "Z-Achse"
= "AXIS_LIN"
; X
; Y
; Z
= "X1"
= 0.0
; naechstes Kinematisches Element
= "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
K9: Kollisionsvermeidung - nur 840D sl
7.4 Beispiel
295