RTC6 boards
Doc. Rev. 1.0.21 en-US
8 Advanced Functions for Scan Head Control and Laser Control
246
Correction via McBSP Interface with
Additional McBSP Input
To activate Processing-on-the-fly correction for linear
motions using McBSP input values (as an alternative
to set_fly_x_pos or set_fly_y_pos), you can also call
set_mcbsp_in or set_mcbsp_in_list (
Mode =
1…3).
These commands offer the advantage of using the
McBSP interface to input additional desired signals
that should not be subjected to Processing-on-the-fly
correction even when it is activated.
For this, all McBSP input values must be coded by
Bit #31.
• Bit #31 = 0: The input value gets copied to
internal memory location 0 and is applied for
Processing-on-the-fly correction.
• Bit #31 = 1: The input value gets copied to
internal memory location 3 but is not applied for
Processing-on-the-fly correction.
Notes
• All input values always get copied alternatingly to
internal memory locations 1 and 2 and
subsequently, in accordance with their Bit #31
coding, to internal memory locations 0 and 3. But
after deactivation of correction by
set_mcbsp_in(0)
or
set_mcbsp_in_list(0)
, they
only get copied to memory locations 1 and 2.
• You can query the data currently stored at
internal memory locations 0 - 3 by read_mcbsp.
• A scaling factor is specified at set_mcbsp_in or
set_mcbsp_in_list. For 2D corrections
(
Mode =
3), the scaling factor applies to both axes
simultaneously. Calibration for determining the
scaling factor is the same as for set_fly_x_pos
and set_fly_y_pos (see above).
• For transferring 1D correction values, 31 bits with
sign are available (Bit #31 is reserved as the
coding bit). In contrast, only 15 bits with sign are
available per axis for transferring 2D correction
values, whereby the x value lies in the lower 16
bits and the y value in the upper 16 bits of the
value at the McBSP interface. For a description of
the interface, see Chapter 4.6.6 ”McBSP/ANALOG
Socket Connector”, page 84.
Correction via McBSP Interface with
Enhanced McBSP Input
As an alternative to the previous chapter’s methods,
you can also activate Processing-on-the-fly correction
of linear motion with set_multi_mcbsp
_in or
se
t_multi_mcbsp_in_list.
These commands have an advantage over
set_mcbsp_in or set_mcbsp_in_list in that they
offer Processing-on-the-fly correction not only in the
x direction and y direction, but also in the z direction
and with laser power variation. Furthermore, up to 4
additional signals can be transmitted for usage as
you wish.
Each 10 µs, data asynchronously transmitted to
McBSP memory locations 0 through 3 gets sorted and
copied to an additional internal memory location.
From there it is available for final usage and can be
read out sorted by signal types using
read_multi_mcbsp.