EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Page 334

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
334
innovators for industry
Comments
(cont’d)
After initialization of the RTC6, drift compensation is turned off (gain = 1.0,
offset = 0). However, previously determined reference values are still available.
If no appropriate Home-In reference values were stored or the scan system is not
equipped with Home-In sensors, then the measurement routine for
auto_cal(
Command
= 1) (axis-specific) automatically aborts and restores the prior state.
auto_cal is not executed, if a
HeadNo
or
Command
value is invalid
(return value 6, get_last_error return code
RTC6_PARAM_ERROR
). This also applies for
HeadNo
= 2 if the Option “Second Scan Head Control” is not enabled (return value 6).
auto_cal is not executed (return value 3, get_last_error return code
RTC6_BUSY
), if:
the BUSY list execution status is set
the INTERNAL-BUSY list execution status is set
auto_cal is even executed, if:
a list has been paused by set_wait (PAUSED list execution status set)
For
RTC6_PARAM_ERROR
, the BUSY list execution status is not checked; therefore return
codes
RTC6_BUSY
and
RTC6_PARAM_ERROR
do not occur simultaneously.
For
Command
= 0, 1 or 2, a valid correction table must be loaded and assigned.
Otherwise, unexpected jumps can occur when gain/offset values are updated.
Gain and offset correction can also be directly set by set_hi (even for systems without
Home-In sensors).
Reference values determined and stored by auto_cal(
Command
= 0, 1 or 3) can be
queried by get_hi_pos.
ASC hardware checks are performed not just by auto_cal(
Command
= 4), but also
automatically for
auto_cal(
Command
= 0) and
the first call of auto_cal(
Command
= 1) and auto_cal(
Command
= 3) if neither
auto_cal(
Command
= 0) nor auto_cal(
Command
= 4) were previously executed.
In each case, the detected ASC hardware type gets stored in the Flash Memory and can
be subsequently queried by get_auto_cal. For automatic
Command
= 4 execution,
however, no corresponding return value is generated. The return value is instead
simply that of the primary
Command
call (see above).
When an error occurs, a corresponding error code gets saved to the Flash Memory
(therefore, get_auto_cal does not return 100 or 200). As soon as hardware
functionality is restored, you can clear the error from the Flash Memory by explicitly
calling auto_cal
(Command = 0)
or auto_cal
(Command = 4)
. auto_cal
(Command = 1 )
and
auto_c
al
(Command = 3 )
c
annot be executed as long as the error is still in the Flash
Memory. The error is not cleared by these calls from the Flash Memory.
Ctrl Command auto_cal

Table of Contents