RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
844
Multiple List
Command
wait_for_encoder_in_range_mode
Function Waits until both encoder counters simultaneously lie within the specified range (including
limits).
Call
wait_for_encoder_in_range_mode( EncXmin, EncXmax, EncYmin, EncYmax, Mode )
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).
Mode
Mode.
As a signed 32-bit value.
= 0 or 1: Waits for direct encoder values
(“classical behavior“).
= 2: Waits for encoder values that are expected to be present in
(set_scanahead_params parameter)
PreviewTime
(SCANahead System behavior).
Comments • For usage, see Chapter 8.6.7 ”Synchronizing Processing-on-the-fly Applications”,
page 252 and Chapter 9.3.3 ”Synchronization by Encoder Signals”, page 298.
• See also comments on wait_for_encoder_in_range.
• Use
Mode
like in wait_for_encoder_mode:
– 0, 1 for intelliSCAN or SCANahead Systems outside an marking process
– 2 for SCANahead Systems during an marking process
• wait_for_encoder_in_range is synonymous with
wait_for_encoder_in_range_mode
(
Mode
= ,0 ).
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 612, OUT 612, RBF 617.
References wait_for_encoder_mode