RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
463
Ctrl Command init_fly_2d
Function Initializes the encoder reference values for 2D encoder compensation of a subsequent
set_fly_2d Processing-on-the-fly application and resets both encoder values.
Call
init_fly_2d( OffsetX, OffsetY, No )
Parameters
OffsetX
Reference value of the x axis encoder.
As a signed 32-bit value.
Allowed value range: depends on the compensation table loaded with
load_fly_2d_table. Default values (after load_program_file): = 0.
OffsetY
Like
OffsetX
(analogously).
No
Number of the 2D compensation table to be used.
See also page 250.
Comments • The final encoder value for the 2D correction value + reference value must not exceed
the allowed range. Otherwise, clipping occurs (see also load_fly_2d_table).
•
No
= 1: use table 1.
•
No
= 2: use table 2.
•
No
= 0: use the table that has been used up to now
•
No
> 2: do not use a table.
• The tables to be used must have been validly loaded by load_fly_2d_table
beforehand.
• With
No
> 2, the table remains validly loaded.
• By
load_fly_2d_table
(
Name
= NULL ), the table becomes invalid.
RTC4RTC6 New command.
RTC5RTC6 Changed functionality.
• Parameter
No.
Version info Available as of DLL 614, OUT 614, RBF 619.
References set_fly_2d, load_fly_2d_table, get_fly_2d_offset