RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
703
Comments
(cont’d)
• For the transmission, the type assignment must be coded into the 3 least significant
bits of the data word according to:
– McBSPValue = ( Value << 3 ) | Type
The RTC6 board stores the data word according to:
– Memory[ McBSPValue & 0x7 ] = (long) McBSPValue >> 3
• For more on type assignments, see read_multi_mcbsp.
• The remaining (most significant) 29 bits are available for the data word itself. There are
no further restrictions other than the type-dependent value ranges themselves. The
transmitted values are not checked with respect to their ranges. Clipping or data
overflow may occur.
• The 4 extra parameters are not the same as the free variables, see Chapter 6.9.1 ”Free
Variables”, page 135, although they can be used for similar purposes. Upon program
start, they are initialized with 0 and this command does not further modify them. The
transmitted values merely get copied into type-sorted memory.
• If more than 4 McBSP transfers complete within a 10 µs clock cycle, then prior values
might get overwritten.
• If the Option Processing-on-the-fly is enabled, then set_multi_mcbsp_in activates a
Processing-on-the-fly application with positional values for the three coordinate
directions x, y and z. The memory values of their respective types are initialized with 0.
• Additionally, laser power can be varied by outputting the transmitted type 3 value at
the port assigned by the
Ctrl
parameter. The initialization value
P
gets put out
immediately.
• For
Mode =
0, subsequent type-3 transfers are outputted directly at the port assigned
by
Ctrl
. For
Mode =
1, the transferred value is handled as a multiplication factor in
accordance with Normalization 1.0 = 16384 (14 bits). Thus, the following is put out:
(
P
× the transmitted value / 16384).
This mode is an alternative to laser power
variation by “freely definable wobbel shapes”.
• These laser power variation method can be combined with the “vector-controlled laser
control” (with parameterized commands). It cannot be combined with other
“Automatic Laser Control“ methods. It overwrites other variations sharing the same
Ctrl
parameter. Though unidentical
Ctrl
parameters are allowed, they serve no
practical purpose.
• If
Ctrl
= 0, then laser power variation is switched off. The values transmitted by McBSP
continue to be copied into type-sorted memory, but are not put out.
• Special case: if a “freely definable wobbel shape” is active, then
P
is always regarded
(irrespective of the
Mode
parameter) as relative laser power and multiplicatively coupled
with the wobbel-shape’s laser power (see set_wobbel_vector). Because this wobbel
shape defines its own laser power (see set_wobbel_control), the command’s
Ctrl
parameter has no relevance. It should be set to an invalid value (for example, with
Ctrl
= 0) to avoid doubled or meaningless output.
Ctrl Command set_multi_mcbsp_in