RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
408
Result error code as an unsigned 32-bit value:
0 No error.
1 no primary scan head active
2 no iDRIVE
®
scan system (intelliSCAN
®
, intelliSCAN
de
®
, intelliDRILL
®
, intellicube
®
, intelliWELD
®
, varioSCAN
de
)
active
3 invalid
Ctrl
value
4 invalid
Mode
value
5 access denied (board locked, get_last_error return code
RTC5_ACCESS_DENIED
)
Comments • For information on using the command, see "Automatic Laser Control", page 140.
•
MinValue
and
MaxValue
will be automatically exchanged if
MinValue
>
MaxValue;
if necessary,
MinValue
will be clipped to
Value
and
MaxValue
clipped to
Value
.
• The control data for position- and/or speed-dependent laser control will be exclusively derived
from the scan system data at the primary scan head connector and then also applied for the
secondary scan head connector (if that connector has been activated and a scan system is
attached). At the time the command is issued, the primary scan head connector must already
have been assigned a correction table, otherwise error code 1 will be returned and
Ctrl
will
be set to 0. If only the secondary scan head connector is being used and/or the scan system at
the primary scan head connector is shut off, then speed-dependent laser control will not func-
tion.
•For
Mode
= 2, a functioning iDRIVE
®
scan system must be attached to the primary scan head
connector. If this is not the case, then error code 2 will be returned and
Ctrl
set to 0. If the
iDRIVE
®
scan system has reacted, then the queried data type for the primary scan head
connector and both axes will be set to “actual velocity” via control_command (
Data
= 0506
H
).
Only thereafter will the command be sent to the RTC
®
5, whereby the other parameters will be
applied. As a result, control_command will be unavailable for the primary scan head
connector as long as this mode selection is in effect. For
Mode
= 0 or 1, control_command is
available without any restriction.
• Encoder-speed-dependent laser control (
Mode
= 5) will function even if no scan heads are
attached to the scan-head connectors at runtime. The Processing-on-the-fly option doesn’t
need to be activated here either.
• If the values for
Ctrl
or
Mode
are invalid, then set_auto_laser_control will not be executed
(return value 3 or 4, get_last_error return code:
RTC5_PARAM_ERROR
).
• Automatic laser control shouldn’t be combined with the variable laser power of
set_multi_mcbsp_in.
RTC
®
4
RTC
®
5new command
In RTC
®
4 compatibility mode for
Ctrl
= 1/2, the specified values for
Value
,
MinValue
and
MaxValue
are internally multiplied by 4. For
Ctrl
=4/5 in RTC
®
4 compatibility mode, the
parameter values for
Value
,
MinValue
and
MaxValue
must be specified in units of 1/8 µs. They will
then be internally converted to 1/64 µs units (i.e. multiplied by 8). The permissible range of values
is correspondingly smaller.
References load_position_control, load_auto_laser_control
Ctrl Command set_auto_laser_control