RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
728
Ctrl Command set_scanahead_params
Function Only for scan systems with SCANahead technology, for example, the excelliSCAN.
Activates the SCANahead functionality suitable to control an SCANahead system on the
RTC6 board. The laser control and digital inputs/outputs for the peripherals are prepared
for a SCANahead system, that is, delayed by
PreviewTime
.
To have also the Scanner Delays and Laser Delays calculated automatically,
activate_scanahead_autodelays must be called.
Restriction set_scanahead_params can only be executed, if no list is currently active.
Otherwise, get_last_error return code gets set to
RTC6_BUSY
and error code 5 is returned.
set_scanahead_params can only be executed, if the Option “SCANa“ is enabled.
Otherwise, get_last_error return code gets set to
RTC6_REJECTED
and error code 1 is
returned.
Call
Error = set_scanahead_params( Mode, HeadNo, TableNo, PreviewTime, Vmax, Amax )
Parameters
Mode
= 0: Deactivates the RTC6-SCANahead functionality. The additional
parameters
TableNo, PreviewTime, Vmax, Amax
are not taken into
account. Default after load_program_file.
Mode, for example, for operating intelliSCAN scan heads.
= 1: Queries parameters of the scan head with the specified
HeadNo
and
applies them. The parameters
PreviewTime, Vmax, Amax
are not taken
into account. See also comments that follow.
Mode for operating attached SCANahead systems.
= 2: Uses the parameters of set_scanahead_params.
Mode, for example, for software development. A SCANahead system
does not need to be connected.
As an unsigned 32-bit value.
HeadNo
Number of the scan head connector.
Allowed values:
= 1: Scan head connector 1.
= 2: Scan head connector 2.
Option “Second Scan Head Control” required.
As an unsigned 32-bit value.
TableNo
Allowed value range: 1…8. A correction file should have been loaded by
load_correction_file(
No
). This is used for converting the parameters
Amax
and
Vmax
from control bits (galvanometer scanner rotation angle) into
programing bits (
Image Field coor
dinates). See get_scanahead_params.
As an unsigned 32-bit value.