Normal
wait_for_mcbsp
List Command
Function
waits until the input value at the McBSP interface has reached, overstepped or
understepped the specified value for the first time.
Call
wait_for_mcbsp( Axis, Value, Mode )
Parameters
Axis
Value
Mode
Comments
• For information on using the command, see
McBSP Signals", page
• The command is similar to wait_for_encoder_mode, but the McBSP interface is
queried.
• If
set_fly_x_pos
consist of two 16-bit half-words (see
which half-word will be used for evaluation. In all other cases, Axis is irrelevant and
Value will be interpreted as a signed 32-bit value.
• Axis must be either 0 or 1 (even if it is irrelevant). Otherwise, the command will be
replaced by
• If neither set_fly_x_pos,
command merely creates a waiting period (without galvanometer scanner motion) that
allows implementation of an externally triggered synchronization (as an alternative to
external starts,
• The command is available even if the Processing-on-the-fly option is not enabled.
• The command doesn't alter the laser control signals. If you want the laser off during
the wait, then this command must be preceded by some other command that switches
off the "laser active" laser control signals (e.g. a list_nop).
®
®
RTC
4 RTC
5 new command
References
wait_for_encoder_mode
Ctrl Command write_8bit_port
Function
writes a value to the 8-bit digital output port on the EXTENSION 2 connector.
Call
write_8bit_port( Value )
Parameter
Value
Comments
• Also see section
®
®
RTC
4 RTC
5 unchanged functionality
References
write_8bit_port_list
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
Selects which half-word of the input value should be used for evaluation (see
below) as an unsigned 32-bit value, allowed values:
= 0:
lower half-word (X axis, galvanometer scanner 2)
= 1:
upper half-word (Y axis, galvanometer scanner 1)
Threshold value as a signed 32-bit value
signed 32-bit value:
= 0:
waits for equality
> 0:
waits for overstepping
< 0:
waits for understepping
216.
and
set_fly_y_pos
are simultaneously activated, then Value will
list_nop (get_last_error
set_fly_y_pos
set_wait
or if_cond, etc.).
8-bit output value (DATA0...DATA7) as an unsigned 32-bit value
(only the least significant 8 bits are evaluated).
"8-Bit Digital Output Port", page
"Synchronization and Online Positioning via
page
180). Only in this case does Axis control
return code RTC5_PARAM_ERROR).
nor
set_fly_rot_pos
are activated, then the
204.
556
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?