RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
101
innovators for industry
Ctrl Command release_wait
Function
resumes execution of a list that was interrupted by a
command
Result
wait state as an unsigned 16-bit value
Integration
Pascal:
procedure release_wait;
C:
void release_wait(void);
Basic:
sub release_wait()
Comments
• The command
can only be used if the RTC
®
4 is actually in a wait state
(i.e. a wait marker was reached and processing has stopped).
• The command
resets the wait_word to zero.
References
,
Ctrl Command restart_list
Function
enables the laser again and resumes execution of a list that was interrupted using the
command
Integration
Pascal:
procedure restart_list;
C:
void restart_list(void);
Basic:
sub restart_list()
References
Ctrl Command rtc4_count_cards
Function
returns the number of detected RTC
®
4 boards
Result
number of RTC
®
4 boards as an unsigned 16-bit value
Integration
Pascal:
function rtc4_count_cards: word;
C:
unsigned short rtc4_count_cards(void);
Basic:
function rtc4_count_cards()%
List Command
save_and_restart_timer
Function
stores the current value of the RTC
®
4 timer and resets it to zero
Integration
Pascal:
procedure save_and_restart_timer;
C:
void save_and_restart_timer(void);
Basic:
sub save_and_restart_timer ()
Comments
• The stored timer value can be read by the
command.
• The command is useful for measuring the marking time of a marking process.
References