RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
843
Multiple List
Command
wait_for_encoder_in_range
Function Waits until both encoder counters simultaneously lie within the specified range (including
limits).
Call
wait_for_encoder_in_range( EncXmin, EncXmax, EncYmin, EncYmax )
Parameters
EncXmin
Limit value.
As a signed 32-bit value.
Allowed value range: [–2
31
…+(2
31
–1)].
EncXmax
Like
EncXmin
(analogously).
EncYmin
Like
EncXmin
(analogously).
EncYmax
Like
EncXmin
(analogously).
Comments • For usage of wait_for_encoder_in_range, see Chapter 9.3.3 ”Synchronization by
Encoder Signals”, page 298 and Chapter 8.6.7 ”Synchronizing Processing-on-the-fly
Applications”, page 252.
• wait_for_encoder_in_range 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.
• If
EncXmin
>
EncXmax
, then both values are interchanged.
• If
EncYmin
>
EncYmax
, then both values are interchanged.
• If no encoder-based Processing-on-the-fly correction is active, then
wait_for_encoder_in_range merely creates a waiting period (without
galvanometer scanner motion).
• If
EncXmin
=
EncXmax
(or
EncYmin
=
EncYmax
), then waiting until a specific encoder value
is possible.
• wait_for_encoder_in_range is available even if the Option Processing-on-the-fly is not
enabled.
• wait_for_encoder_in_range does not 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 Signals for “Laser Active” Operation (for example, a
list_nop).
• The active Processing-on-the-fly mode determines whether the galvanometer scanners
remain stationary during the wait or move in accordance with encoder changes, see
Chapter 8.6.7 ”Synchronizing Processing-on-the-fly Applications”, page 252: They
move with set_fly_2d, but otherwise remain stationary.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References wait_for_encoder_mod
e, park_position,
park_return