RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
848
Normal List
Command
wait_for_timestamp_counter
Function Waits for a 32-bit “Timestamp Counter” value.
Call
wait_for_timestamp_counter( TimeStampCounter )
Parameters
TimeStampCounter
32-bit offset to wait for.
As an unsigned 32-bit value.
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 from the point in time
TimeStampStorage
to be
established when loading a list. Accuracy: 10 µs.
• If the specified time has already passed when wait_for_timestamp_counter is
reached, a full 32-bit “Timestamp Counter” cycle is waited for
(duration: approx. 12 hours). This can be canceled by stop_execution or /STOP.
• wait_for_timestamp_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 617, OUT 617, RBF 623.
References store_timestamp_counter, store_timestamp_counter_list,
wait_for_timestamp_counter_mode