Configuration files
The SysCalibConfigLaser.nc file must be present in the form of a subroutine. It contains the laser parameters. Laser position data can be determined using the calibration cycle.
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 subroutine files below can be saved. They control the activation and deactivation of the lasers:
- SysCalibConfigLaserOn.nc
- SysCalibConfigLaserOff.nc
A distinction is made between push and pull measurements.