RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
768
Undelayed
Short List
Command
set_wobbel_control
Function Specifies laser control parameters for laser power variation with “freely definable wobbel
shapes”.
Call
set_wobbel_control( Ctrl, Value, MinValue, MaxValue )
Parameters
Ctrl
Control parameter for initializing or deactivating laser power variation.
As an unsigned 32-bit value.
= 0: Deactivates laser power variation.
= 1…6: Defines which signal parameter to vary.
On the meaning, see set_auto_laser_control.
= 7: Deactivates laser power variation
(get_last_error return code
RTC6_PARAM_ERROR
).
= 8: Activates laser power variation where
ANALOG OUT1 and ANALOG OUT2 alternate.
> 8: Same as 7.
Value
Nominal laser power P0 (100%).
As an unsigned 32-bit value.
Allowed value range: see set_auto_laser_control; the maximum is
[0…65,535] or 0xFFFFFFFF (with
Ctrl
= 1…6) or 0xFFFF (with
Ctrl
= 8).
Excessive values are clipped.
MinValue
Limit that cannot be exceeded, see set_auto_laser_control.
As an unsigned 32-bit value.
The allowed value range depends on the selected
Ctrl
parameter and on
Value
.
MaxValue
See
MinValue
.
Comments • Any still-pending delayed short list command executes first.
• For
Ctrl
= 0,
Ctrl
= 7 and
Ctrl
> 8, laser power variation is switched off
(initialization state after load_program_file). The values for McBSP multi transfers are
then not used.
•
Ctrl
= 8 activates a laser power variation where ANALOG OUT1 and ANALOG OUT2
alternate. The “Free definable wobbel figure” starts with ANALOG OUT1.
Subsequently, alternation occurs with every Microstep. See also
set_wobbel_vector_2.
• With
Ctrl
= 8,
Value
,
MinValue
and
MaxValue
are to be interpreted as 2 independent
16-bit values:
– The upper 16 bits apply to ANALOG OUT2
– The lower 16 bits apply to ANALOG OUT1
• set_wobbel_control(
Ctrl
= 8 ) and set_wobbel_mode(
Mode
= 3 ), see page 778,
cannot be combined.