Programmierbeispiel
Programmierbeispiel
Nut- und Steg-Messung
; touchprobe activtion
T1 D1
; deactivation of the zero offset
G53
; positioning to the starting point
G0 X0 Y0 Z5
#VAR
;input parameters
V.L.WebWidth = 20
V.L.ZeroOffsetNumber = 54
V.L.SafetyDistance = 5
V.L.PositioningZ = -10
V.L.CrossOver = 10
;output variables
V.CYC.SysRetY
V.CYC.SysRetLengthY
#ENDVAR
;cycle call
L CYCLE [NAME="SysMeasWcs15.ecy"\
@P3=V.L.WebWidth\
@P7=V.L.ZeroOffsetNumber\
@P13=V.L.SafetyDistance\
@P19=V.L.PositioningZ\
@P33=V.L.CrossOver]
; print result
#FILE NAME [MSG="SysMeasWcsResult.txt"]
#MSG SAVE ["V.CYC.SysRetY =%f", V.CYC.SysRetY]
M30