RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
305
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 )
Parameters
OffsetX
,
OffsetY
Reference values of the X and Y axis encoders (signed 32-bit values)
allowable range: depends on the compensation table loaded with
load_fly_2d_table
default value (after load_program_file): = 0
Comments • The final encoder value for the 2D correction (i.e. current encoder value + reference
value) must not exceed the allowable range. Otherwise clipping will occur (also see
load_fly_2d_table).
RTC
®
4
RTC
®
5 new command
Version info Available beginning with version DLL 536, OUT 536
References set_fly_2d, load_fly_2d_table, get_fly_2d_offset