EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Auto_Cal

Scanlab RTC6 PCIe Board
1004 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
332
innovators for industry
Ctrl Command auto_cal
Function Controls the functions for (automatic self-) calibration of the scan system attached to the
specified scan head connector.
Call
ErrorCode = auto_cal( HeadNo, Command )
Parameters
HeadNo
Number of the scan head connector. As an unsigned 32-bit value.
Allowed values:
= 1: First scan head connector.
= 2: Second scan head connector.
Requires Option “Second Scan Head Control”.
Command
Control parameter. As an unsigned 32-bit value.
Allowed value range: [0…4].
= 0: The RTC6 detects the current Home-In positions, stores them in the
RTC6 DLL and in the Flash Memory as Home-In reference values and
initializes the gain and offset values (Gain = 1.0, Offset = 0).
= 1: The RTC6 detects the current Home-In positions,
calculates and sets the new gain and offset values and thereby
activates drift compensation.
= 2: The RTC6 deactivates drift compensation by initializing the gain and
offset values (Gain = 1.0, Offset = 0).
= 3: The RTC6 detects the current Home-In positions
(but – in comparison to
Command
= 1 – leaves the gain and offset
values unchanged and that is, does not activate drift compensation
= 4: The RTC6 checks the ASC hardware whether a scan system
attached to the specified scan head connector is equipped
with an internal sensor system for automatic self-calibration – Home-
In sensors) and returns the type and status of the detected sensor
system. The detected type is also stored in the Flash Memory.
Result Error code or type of sensor system.
As an unsigned 32-bit value.
3 auto_cal cannot be executed because the BUSY list execution status or
INTERNAL-BUSY list execution status is currently set.
6 Parameter error.
The following error codes are only returned after
Command
= 0…3:
0 No error.
1, 10, 11 Home-In sensor not found (this could also mean a Home-In sensor is defective)
(1: for x axis (galvanometer scanner 2)
10: for y axis (galvanometer scanner 1)
11: for both axes).
2, 20, 22 The spread in measured values during a measurement cycle is too high
(2: for x axis / 20: for y axis / 22: for both axes).
4, 40, 44 Reference data not found (only for
Command
= 1 and 3)
(4: for x axis / 40: for y axis / 44: for both axes).

Table of Contents