
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
• 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
.
•
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
) is neither
generated nor altered by
reset_error
. In contrast,
AccError
will be altered as specified
by
Code
.
RTC
®
4
RTC
®
5 new command
References
Ctrl Command restart_list
Function
reenables “laser active” laser control signals and resumes execution of a list that was
interrupted via the command
or
.
Call
restart_list()
Comments
• The
restart_list
command will only be executed if a list was previously halted via
and if the BUSY and PAUSED statuses (queryable with
) are set. Otherwise (e.g. if a list was halted with
), the command
will be ignored (
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
and
reset with
restart_list
.
References