RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
412
Ctrl Command get_laser_pin_in
Function Returns the current status of the 2-Bit-Digital digital input port at the LASER Connector,
see also Section ”2-Bit Digital Input Port”, page 74.
Call
LaserPinIn = get_laser_pin_in()
Result As an unsigned 32-bit value.
Bit #0
(LSB)
DIGITAL IN1.
Bit #1 DIGITAL IN2.
Bit #2 Reserved.
… …
Bit 31 Reserved.
Comments • –
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References set_laser_pin_out
Ctrl Command get_last_error
Function Returns an error code listing any errors which occurred during execution of the most recent
command.
Call
LastError = get_last_error()
Result Error code.
As an unsigned 32-bit value.
If multiple errors occurred simultaneously, then multiple bits are set. The meanings of bit
numbers, error types and error constants is identical to those for get_error.
Comments • For error handling see Chapter 6.8 ”Error Handling”, page 130.
• get_last_error and n_get_last_error are available even without explicit access rights
to a specific RTC6 board.
• The board-specific error variables
LastError
and
AccError
, see Chapter 6.8 ”Error
Handling”, page 130, are neither generated nor altered by get_last_error.
• Each eth_get_last_error error also leads to a get_last_error error
RTC6_ETH_ERROR
.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References eth_get_last_error, get_error, reset_error, set_verify