RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
776
Undelayed
Short List
Command
set_wobbel_vector
Function Defines a linear section of a wobbel shape.
Call
set_wobbel_vector( dTrans, dLong, Period, dPower )
Parameters
dTrans
dLong
Microstep of a linear wobbel shape section. In bits.
As a 64-bit IEEE floating point value.
Allowed value range: [–256.0…+255.0].
dTrans
is the wobbel excursion perpendicular to the direction of motion
(which is either the laser trajectory (see Glossary entry on page 30) or the
direction of motion defined by set_wobbel_direction).
l
dLong
is correspondingly longitudinal to it.
Period
As an unsigned 32-bit value.
Allowed value range: [0…65,535].
= 1…65,535: number of Microsteps.
= 0: The wobbel shape is switched off.
dPower
Microstep of the relative laser power.
As a 64-bit IEEE floating point value.
Allowed value range: [–1.0…+1.0].
Out-of-range values are clipped to the boundary values.
Comments •
Period
= 0 is not allowed as a shape section.
Period
= 0 means explicitly switch off the
“freely definable wobbel shape” (not the Wobbel Mode itself, see set_wobbel_mode).
Subsequent calls of set_wobbel_vector begin a new wobbel shape.
• Each call of set_wobbel_vector adds a new section at the end of the previous section
independently of when the call is performed.
• Up to 1023 wobbel shape sections can be defined. After 1023 sections, storage
automatically wraps around to the first section and overwrites it. Each further call does
the same to the next section.
• The wobbel shape automatically begins with wobbel vector (0,0), that is, directly on
the marking itself (the “Hard Jump” of “classic” wobbel shapes is eliminated if the
longitudinal amplitude
0) and also ends there without requiring explicit declaration.
• Each wobbel shape section consists of a vector defined by Microsteps and their
number. The parameters
dTrans
,
dLong
get internally rounded to 7 bit decimal places.
At runtime each Microstep is executed within 10 µs. For large
Period
values, you
should therefore take rounding error into account. Positive
dTrans
values cause that in
respect to the direction of movement the start is to the right (which applies to circular
wobbel shapes as well). Positive
dLong
values cause that in respect to the direction of
movement the start is forward. The last section’s endpoint is also the first section’s
start point. Independently of its respective position, it always ends at (0,0) and get
executed as a “Hard Jump”. With the last step the laser power is reset to the initial
nominal laser power.
• The summed up wobbel amplitude may never exceed ±(2
17
-1).