EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - reset_error; restart_list

Scanlab RTC 5 PC Interface Board
622 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
393
innovators for industry
Ctrl Command reset_error
Function resets the cumulative error code
Call
reset_error( Code )
Parameter
Code
OR connection of the error codes = sum by means of 2
Bitnumber
of all bits to
be reset
as an unsigned 32-bit value
Comments For error handling see page 87.
The cumulative error code can be reset bitwise (individually for each error type, e.g.
bit #5 and bit #6 via
Code
= 2
5
|2
6
or via
Code
=
RTC5_BUSY
|
RTC5_REJECTED
) or
completely (via
Code
= “–1”, therefore via
Code
= 2
32
–1). The meanings of bit numbers,
error types and error constants is described in the command get_error (page 263).
reset_error will not delete the error code of another application currently assigned
access rights to the board.
The commands reset_error and n_reset_error are also available without explicit access
rights to a specific RTC
®
5 board.
The board-specific error variable
LastError
(see "Error Handling", page 87) is neither
generated nor altered by reset_error. In contrast,
AccError
will be altered as specified
by
Code
.
RTC
®
4
RTC
®
5new command
References get_error, get_last_error
Ctrl Command restart_list
Function reenables “laser active” laser control signals and resumes execution of a list that was
interrupted via the command pause_list or stop_list.
Call
restart_list()
Comments The restart_list command will only be executed if a list was previously halted via
pause_list or stop_list and if the BUSY and PAUSED statuses (queryable with
get_status) are set. Otherwise (e.g. if a list was halted with set_wait), the command
will be ignored (get_last_error return code
RTC5_BUSY
).
restart_list will reset the PAUSED status. The BUSY status will be left unchanged.
RTC
®
4
RTC
®
5 essentially unchanged functionality, however:
the RTC
®
5 also provides a PAUSED status that is set with pause_list and stop_list and
reset with restart_list.
References pause_list, stop_list, release_wait

Table of Contents

Related product manuals