EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Get_Dll_Version; Get_Encoder

Scanlab RTC6 PCIe Board
1004 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...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
397
innovators for industry
Ctrl Command get_dll_version
Function Returns the version number of the RTC6 DLL.
Call
DLLVersion = get_dll_version()
Result Version number.
As an unsigned 32-bit value.
Comments The RTC6 DLL version numbers are in the range 600…699.
get_dll_version is available even without explicit access rights to a specific
RTC6 board.
get_dll_version is not available as a multi-board command.
The board-specific error variables
LastError
and
AccError
, see Chapter 6.8 ”Error
Handling”, page 130, are neither generated nor altered by get_dll_version.
RTC4RTC6 Unchanged functionality.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References get_hex_version, get_rtc_version
Ctrl Command get_encoder
Function Returns the current counts of the two internal encoder counters.
Call
get_encoder( &Encoder0, &Encoder1 )
Returned
parameter
values
Encoder0
Current count of encoder counter “Encoder0”.
As a pointer to a signed 32-bit value.
Encoder1
Current count of encoder counter “Encoder1”.
As a pointer to a signed 32-bit value.
Comments For usage of get_encoder, see Chapter 8.6 ”Processing-on-the-fly”, page 242 and
Chapter 9.3.3 ”Synchronization by Encoder Signals”, page 298.
If the workpiece movement is registered with an incremental encoder:
Encoder counter “Encoder0” is triggered by the signals at encoder input port
ENCODER X
Encoder counter “Encoder1” is triggered by the signals at encoder input port
ENCODER Y
If an encoder simulation has been started by simulate_encoder, the encoder counters
are triggered by an internal periodic 1 MHz clock signal.
RTC4RTC6 Unchanged functionality. In addition: increased value range.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References store_encoder, read_encoder, set_fly_x, set_fly_y, set_fly_rot, wait_for_encoder

Table of Contents