RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
842
Normal List
Command
wait_for_encoder
Function Waits until the selected encoder counter has overstepped or understepped the specified
count for the first time.
Call
wait_for_encoder( Value, EncoderNo )
Parameters
Value
Count.
As a signed 32-bit value.
Allowed value range: [–2
31
…+(2
31
–1)].
EncoderNo
Number of the to-be-used encoder counter. As an unsigned 32-bit value.
Allowed values:
= 0: Encoder counter “Encoder0”.
= 1: Encoder counter “Encoder1”.
Comments • wait_for_encoder is synonymous with wait_for_encoder_mode with parameter
Mode
= 0 (see comments there).
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References wait_for_encoder_mode