# Configuration files

The SysCalibConfigLaser.nc file must be present in the form of a subroutine. It contains the laser parameters. Approximate values are sufficient for the position of the laser focal point for calibration. They are used to pre-position the tool. The exact position values are determined during calibration-

Variables | Description
V.CYC.LASER_POS_X | Position of the laser focal point in the X axis
V.CYC.LASER_POS_Y | Position of the laser focal point in the Y axis
V.CYC.LASER_POS_Z | Position of the laser focal point in the Z axis
V.CYC.DIRECTION | Definition of measuring and positioning direction: 0- Measurement takes place in X- direction 1- Measurement takes place in Y- direction 2- Measurement takes place in X+ direction 3- Measurement takes place in Y+ direction
V.CYC.LASER_Z_START_POS | Start point of first measurement in Z.
V.CYC.LASER_Z_END_POS | End point of first measurement in Z.
V.CYC.MEAS_FEED_SLOW | Measuring feedrate for precision measurement.
V.CYC.MEAS_FEED_FAST | Measuring feedrate for fast measurement
V.CYC.LASER_BRAKEOFFSET | Return clearance for precision measurement

For example, the configuration file SysCalibConfigLaser.nc may look like this:

## Programing Example

Configuration file

%SysCalibConfigLaser.nc

; Position of the focal point of the laser

V.CYC.LASER_POS_X = 10

; Position of the focal point of the laser

V.CYC.LASER_POS_Y = 20

; Position of the focal point of the laser

V.CYC.LASER_POS_Z = 35

; Position/measurement direction

V.CYC.DIRECTION = 1

; Retraction distance for precision measurement

V.CYC.LASER_BRAKEOFFSET = 0.5

; Measurement feedrate for fast measurement

V.CYC.MEAS_FEED_FAST = 500

; Measurement feedrate for precision measurement

V.CYC.MEAS_FEED_SLOW = 100

; Start point of first meas in Z

V.CYC.LASER_Z_START_POS = V.CYC.LASER_POS_Z + 20

; End point of first meas in Z

V.CYC.LASER_Z_END_POS = V.CYC.LASER_POS_Z - 10

M17

Optionally, the two subroutines below can be saved. They control the activation and deactivation of the lasers:

1. SysCalibConfigLaserOn.nc
2. SysCalibConfigLaserOff.nc

A distinction is made between push and pull measurements.