Configuration file
The following items are required to successfully configure the touch probe:
- the radius of the touch probe sphere, the offsets in X and Y and the length of the touch probe must be defined using the tool data.
- The configuration file SysCalibConfigTouchprobe.nc was created, containing at least the measuring and positioning feed rates.
Detailed description
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 rate. |
V.CYC.SysConf_Probes_feed_max | Positioning feed rate 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). Touch probe must be in initial position before the start of the cycle. 1 = touch probe is positioned |
V.CYC.SysConf_Probes_feed_repeat | Measuring feed rate for a second probing at a slow speed. If defined with a value > 0, the probe is retracted slightly after the first probing and the measurement is repeated. Default value = 0. |
V.CYC.SysConf_Probes_dist_repeat | Retraction distance in the measuring direction for the second probing at a slow speed. Only used if V.CYC.SysConf_Probes_feed_repeat is greater than zero. Default value = 2. |
V.CYC.SysConf_Spindle_angle | Definition of the basic angle specified to position the touch probe. Only used if V.CYC.SysConf_Spindle_orientation = 1. Corresponds to the spindle position (M19) required for measuring in the positive X direction. Default value = 0. |
V.CYC.SysConf_Spindle_Pos_Dir | Position of the spindle final position when positioned with M19. Only used if V.CYC.SysConf_Spindle_orientation = 1. 0 = The spindle positions the touch probe clockwise when the touch probe tip is viewed from below (default value). 1 = The spindle positions the touch probe counter clockwise when the touch probe tip is viewed from below. |
V.CYC.SysConf_Probes_spdl_feed | Spindle feed rate for spindle positioning of the touch probe. Default value = 200 |
V.CYC.SysConf_Probes_spdl_wait | Time in seconds to wait for the spindle to reposition before a corresponding measurement run. Default value = 1 |
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 (except for calibration).
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)
The measurement results are calculated to include the offsets between the touch probe tip and the spindle flange and the radius of the touch probe sphere.
For example, the configuration file SysCalibConfigTouchprobe.nc may look like this:
Programing Example
Configuration file
%SysCalibConfigTouchprobe.nc
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