Configuration file
The SysCalibConfigTouchprobe.nc file is executed before each cycle to identify the touch probe parameters. The following variables must then be defined.
Variables | Description |
V.CYC.SysConf_Probes_feed | Measuring feed |
V.CYC.SysConf_Probes_feed_max | Positioning feed between measuring points. |
V.CYC.SysConf_Spindle_orientation | Definition whether the touch probe is to be positioned in the measurement direction before every measurement run. 0=touch probe is not positioned (default value). 1=touch probe is positioned. |
V.CYC.SysConf_Spindle_angle | Definition of the basic angle at which the touch probe is to be positioned Only used if V.CYC.SysConf_Spindle_orientation = 1. Definition of the angle when positioned with M19 (clockwise). Default value = 0. |
Additional configuration data for the touch probe is read from the current tool data. The touch probe must therefore be defined as a current tool and its tool data must be saved. The tool data to be considered includes:
- The radius of the touch probe sphere (V.G.WZ_AKT.R)
- The length of the touch probe (V.G.WZ_AKT.L)
- Horizontal offsets of the touch probe tip relative to the spindle flange (V.G.WZ_AKT.V.X and W.G.WZ_AKT.V.Y)
If the touch probe need not be positioned in the measurement direction before each measuring travel ( V.CYC.SysConf_Spindle_orientation = 0), the offsets of the touch probe tip relative to the spindle flange are considered in the calculation of the measurement result. In this case, the function expects the touch probe to be in initial position at the start of the cycle.
If the touch probe is fitted outside the spindle flange, the offset relative to the spindle flange can also be specified in the related tool data (V.G.WZ_AKT.V.X, W.G.WZ_AKT.V.Y and V.G.WZ_AKT.V.Z).
For example, the configuration file SysCalibConfigTouchprobe.nc may look like this:
Programing Example
Configuration file
V.CYC.SysConf_Probes_feed = 500 (measuring feed rate)
V.CYC.SysConf_Probes_feed_max = 1000 (positioning feed rate)
V.CYC.SysConf_Spindle_orientation = 0 (positioning of probe)
V.CYC.SysConf_Spindle_angle = 0 (probe basic angle)
M17