RTC6 boards
Doc. Rev. 1.0.21 en-US
7 Basic Functions for Scan Head Control and Laser Control
204
Encoder-Speed-Dependent Laser Control
set_auto_laser_control(
Mode
= 5 ) is intended for a
pure encoder speed-dependent correction, if only the
workpiece moves and the galvanometer scanners
(ideally) are idle.
The 100% reference speed is defined by
set_encoder_speed_ctrl or set_encoder_speed.
Processing-on-the-fly should not be active at the
same time.
For a combination of galvanometer scanner speeds
and encoder speeds in a
Processing-on-the-fly Session, see
Mode
= 6 = 2 + 4.
Loading and Determining the Nonlinearity
Curve
• For the Scale(Percent) nonlinearity curve,
load_auto_laser_control loads a table from an
ASCII text file.
• The ASCII text file can contain one or several
tables.
(1)
• Each table can contain up to 50 data points
(Percent | Scale(Percent)).
• The Scale(Percent) function is linearly
interpolated from the data points.
For the tables, the following rules apply:
• Each table must begin with the line:
[AutoLaserCtrlTable<No>]
<No>
represents the table number.
• If the table contains several
[AutoLaserCtrlTable<No>]
entries with the same
<No>
, then only the lines after the first entry are
used. Only lines up to the next ’[’ character (that
is not preceded by a semicolon) are used.
• Each data point (Percent | Scale(Percent)) is
defined as follows:
Percent<n> = <Value>
Scale<n> = <Value>
where
<n>
corresponds to the index (1
<n>
50)
of the data point. The values
<Value>
can be
specified as (unsigned) floating point numbers.
Decimal separator: period (
.
).
• If the table contains multiple data points with the
same Index
<n>
, then the most recently read one
is used.
• If the table contains multiple data points with the
same percent value Percent, then the data point
with the largest Index
<n>
is used. Equality is
checked to within ±0.01°.
(1) Even of another type, see table 1, page 153.