RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
599
Delayed Short
List Command
save_and_restart_timer
Function Stores the current value of the RTC6 Timer and resets it to zero.
Call
save_and_restart_timer()
Comments • The stored RTC6 Timer value can be read by get_time.
• save_and_restart_timer is useful for measuring the execution time of a marking
process, see Chapter 8.12 ”Time Measurements”, page 281.
• The RTC6 Timer only counts list-command clock cycles. Counting is paused during
interruptions by set_wait or pause_list.
• By get_lap_time the number of elapsed list-command clock cycles since the reset to
zero can be queried.
• To compare RTC6-internal save_and_restart_timer time measurements to external
time measurements by the BUSY Pin, you should insert a list_nop between
save_and_restart_timer and set_end_of_list. This ensures that any scanner delay
completes before set_end_of_list. Without list_nop, save_and_restart_timer
includes the scanner delay in its measurement even though it completes only after
set_end_of_list (and therefore the BUSY Pin is already low).
• A 32-bit “Timestamp Counter” and a 64-bit “Timestamp Counter” are available in
addition to the RTC6 Timer, see also Chapter 8.12 ”Time Measurements”, page 281.
RTC4RTC6 Unchanged functionality.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References get_lap_time, get_time