EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - get_encoder

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
262
innovators for industry
Ctrl Command get_encoder
Function returns the current counts of the two internal encoder counters.
Call
get_encoder( &Encoder0, &Encoder1 )
Returned para-
meter values
Encoder0
,
Encoder1
current counts as pointers to signed 32-bit values
Comments For usage of this command see "Processing-on-the-fly (Optional)", page 177 and
"Synchronization via Encoder Signals", page 215.
If incremental encoders are used to detect the motion of the parts to be processed,
encoder counter Encoder0 will be triggered by the signals at encoder input ENCODER X
and encoder counter Encoder1 by the signals at encoder input ENCODER Y. In contrast,
if an encoder simulation has been started via simulate_encoder, both encoder
counters will be triggered by an internal periodic 1 MHz clock signal.
RTC
®
4
RTC
®
5 unchanged functionality (except for the extended range of values)
References store_encoder, read_encoder, set_fly_x, set_fly_y, set_fly_rot, wait_for_encoder

Table of Contents

Related product manuals