RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
509
• For laser power variation with
Ctrl
= 5 (half period),
dPower
needs to have the opposite
sign. Unlike with automatic laser control, the multiplication factor can’t be inverted.
• By using an “empty” wobbel shape
set_wobbel_vector(0.0, 0.0, 1, 0.0)
,
you can
also multiplicatively vary the nominal laser power P0 without needing to explicitly
wobbel (for another alternative, see set_multi_mcbsp_in).
• When you switch off the wobbel shape (not by deactivation via set_wobbel_mode),
the nominal laser power P0 will be emitted at the port assigned via
Ctrl
if
set_wobbel_control was last called with
Value
= 0xFFFFFFFF. Otherwise, the laser
power P0 multiplied by the external factor from set_multi_mcbsp_in will be emitted.
• If the wobbel shape gets switched off while the wobbel mode remains active, then the
shape will automatically switch to
Mode
= 1 (horizontal figure-8).
• The wobbel mode with “freely definable wobbel shapes” also needs to be switched on
via set_wobbel_mode.
• Variable laser power for wobbel shapes can’t be combined with variable laser power for
automatic or vector-based laser control (parameterized mark commands). Wobbel vari-
ation overwrites other variations if the respective
Ctrl
parameters are identical. Though
unidentical
Ctrl
parameters are allowed, they serve no practical purpose.
• When defining “freely definable wobbel shapes” make sure that the microvectors of
each individual wobbel vector does not exceed the maximum positioning speed signi-
ficantly. Otherwise, a galvanometer overheating may occur, see also chapter 8.4.1
"Wobbel Shapes – Important Notes on Choosing Appropriate Parameter Values"
RTC
®
4
RTC
®
5new command
Version info Available as of version DLL 537, OUT 537
Comments set_multi_mcbsp_in, set_multi_mcbsp_in_list, set_wobbel_control
Ctrl Command simulate_encoder
Function activates or deactivates encoder simulation for the specified encoder.
Call
simulate_encoder( EncoderNo )
Parameter
EncoderNo
Encoder number as an unsigned 32-bit value; allowed values:
= 1: ENCODER X pulses will be simulated and encoder counter
Encoder0 thereby incremented.
= 2: ENCODER Y pulses will be simulated and encoder counter
Encoder1 thereby incremented.
= 3: Pulses for ENCODER X and ENCODER Y will be simulated.
= 0: The encoder simulation is deactivated.
Comments • The encoder simulation is driven by an internal 1 MHz clock (also see "Encoder Simula-
tion" on page 216).
• simulate_encoder does not trigger a reset of the encoder counter.
•If
EncoderNo
> 3, then simulate_encoder will be ignored (get_last_error return code
RTC5_PARAM_ERROR
).
RTC
®
4
RTC
®
5 unchanged
References get_encoder, store_encoder, read_encoder, wait_for_encoder, set_fly_x, set_fly_y,
set_fly_rot
Undelayed
Short List
Command
set_wobbel_vector