RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
850
Normal List
Command
wait_for_timestamp_counter_mode
Function Like wait_for_timestamp_counter. In addition, it can be defined what should happen
after a timeout.
Call
wait_for_timestamp_counter_mode( TimeStampCounter, Mode )
Parameters
TimeStampCounter
32-Bit offset to wait for.
As an unsigned 32-bit value.
Mode
Routines after a timeout.
As an unsigned 32-bit value.
= 0: Ignore the RTC6 command.
Continue with next list command.
= 1: Abort list by stop_execution.
= 2: Abort list by simulate_ext_stop including forward to all
slaves, see Chapter 6.6.3 ”Master/Slave Operation”, page 124
and Chapter 9.3.1 ”Starting and Stopping Lists by External
Control Signals and Master/Slave Synchronization”, page 289.
> 2: Wait for a full 32-bit “Timestamp Counter” cycle
(as with wait_for_timestamp_counter).
Comments • wait_for_timestamp_counter waits until the current 32-bit “Timestamp Counter”
has reached the value
TimeStampStorage
(from store_timestamp_counter /
store_timestamp_counter_list) +
TimeStampCounter
.
• Delayed short list commands are executed first.
• This allows absolute time references with an accuracy of 10 µs from the point in time
TimeStampStorage
to be established when loading a list. Accuracy: 10 µs.
• An error flag is set, if:
– The specified point in time has already passed when
wait_for_timestamp_counter_mode is reached
The error flag can be read out by get_startstop_info( Bit #5 ).
The
Mode
parameter determines how to proceed in case of a timeout.
• wait_for_time
stamp_counter is
synonymous with
wait_for_timestamp_counter_mode(
Mode
> 2).
• Synchronization with other RTC6 commands, such as wait_for_encoder or conditional
commands, depends on external hardware.
• See Chapter 8.12 ”Time Measurements”, page 281.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 619, OUT 619, RBF 624.
References store_timestamp_counter, store_timestamp_counter_list,
wait_for_timestamp_counter