RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
554
innovators for industry
List Multi-
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,
EncXmax,
EncYmin,
EncYmax
Limit values as signed 32-bit values; allowed range: [–2
31
… +(2
31
–1)]
Comments
• For usage of this command, see
"Synchronization via Encoder Signals", page 215
"Synchronization of Processing-on-the-fly Applications", page 188
.
• The command requires two list memory positions. The first part will be 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 will execute first.
• If
EncXmin
>
EncXmax
, then both values will be interchanged. If
EncYmin
>
EncYmax
, then
both values will be interchanged.
• If no encoder-based Processing-on-the-fly correction is active, then the command
merely creates a waiting period (without galvanometer scanner motion).
• If
EncXmin
=
EncXmax
(or
EncYmin
=
EncYmax
), then waiting until a specific encoder
value is possible.
• 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
).
• 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
): They move with
, but otherwise remain stationary.
RTC
®
4
RTC
®
5 new command
Version info
Available beginning with version DLL 536, OUT 536
References