EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Read_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
580
innovators for industry
Ctrl Command read_encoder
Function Returns the counts of the two RTC6 encoder counters that were stored by store_encoder.
Call
read_encoder( &Encoder0_0, &Encoder1_0, &Encoder0_1, &Encoder1_1 )
Returned
parameter
values
Encoder0_0
Count.
As a pointer to a signed 32-bit value.
For parameter “Encodern_m”:
n is the number of the encoder counter (“Encoder0”, “Encoder1”).
m is the number of the storage position (parameter
Pos
of
store_encoder).
Encoder1_0
Like
Encoder0_0
(analogously).
Encoder0_1
Like
Encoder0_0
(analogously).
Encoder1_1
Like
Encoder0_0
(analogously).
Comments See also 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.
For storage positions in which counts were not previously stored by store_encoder,
the value 0 is returned (initialized value).
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References store_encoder, get_encoder, set_fly_x, set_fly_y, set_fly_rot, wait_for_encoder

Table of Contents