RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
840
Multiple List
Command
wait_for_2_axes
Function “Fly Extension” Command: Waits until the values for both modes (see Mode) are within or
outside the specified range.
Call
wait_for_2_axes( ModeX, MinValueX, MaxValueX, ModeY, MinValueY, MaxValueY,
WaitMode, LaserMode )
Parameters
ModeX
Mode from Table 4, page 261.
As an unsigned 32-bit value.
MinValueX
Lower limit for the x axis Mode value to be waited for.
As a signed 32-bit value.
MaxValueX
Upper limit for the x axis Mode value to be waited for.
As a signed 32-bit value.
ModeY
Mode from Table 4, page 261.
As an unsigned 32-bit value.
MinValueY
Lower limit for the y axis Mode value to be waited for.
As a signed 32-bit value.
MaxValueY
Upper limit for the y axis Mode value to be waited for.
As a signed 32-bit value.
WaitMode
0: Within limit values.
< 0: Outside limit values.
The galvanometer scanner follow the object movement.
WaitMode
+16: The galvanometer scanners stop.
As a signed 32-bit value.
LaserMode
= 0: The laser remains unchanged.
> 0: The laser is switched off after a LaserOff Delay.
As an unsigned 32-bit value.
Comments • Being an “Fly Extension” Command, wait_for_2_axes must not be used mixed with
“Classic“ Processing-on-the-fly commands (see Footnote, page 242).
• See Chapter 8.6 ”Processing-on-the-fly”, page 242 and Section
”“Fly Extension” Commands”, page 259.
• wait_for_2_axes requires two RTC6 List Memory positions. The first part is executed
as an undelayed short list command prior to the second part, which executes as a
normal list command. Any pending delayed short list commands execute first.
• Depending on the set Mode, it can be waited for an encoder value or (any) McBSP value
to be inside or outside the limits. In case of McBSP, a corresponding
Processing-on-the-fly correction should be enabled. Make sure that the data is
transferred in the correct format.
• With
wait_for_1_axis
and
wait_for_2_axes
, Mode 1…4 must not be specified. Instead,
Mode 17…20 is to be used. Mode 17…18 is to be used with an scan system with
SCANahead control, if waiting is yet to occur within
PreviewTime
. Outside of this, Mode
19…20 can be used. Mode 17…18 and Mode 19…20 are identical with
intelliSCAN systems.