Ctrl Command get_encoder
Function
returns the current counts of the two internal encoder counters.
Call
get_encoder( &Encoder0, &Encoder1 )
Returned para-
Encoder0,
meter values
Encoder1
Comments
• For usage of this command see
"Synchronization via Encoder Signals", page
• 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,
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
current counts as pointers to signed 32-bit values
"Processing-on-the-fly (Optional)", page 177
215.
wait_for_encoder
and
262
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?