RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
519
Ctrl Command load_z_table_20b
Function Loads coefficients A, B and C into the currently assigned 3D correction table.
For a focus length value l in the RTC6 20-bit range [–524,288…+524,287].
Restriction Like load_z_table_no_20b.
Call
ErrorNo = load_z_table_20b( A, B, C )
Parameters
A
Coefficient A of the parabolic function z
out
= A + Bl +Cl
2
which is used for
calculating the Z output values
(focus length value l in the RTC6 20-bit range [–524,288…+524,287].
As a 64-bit IEEE floating point value.
Allowed value range: [–1,073,741,824.0…+1,073,741,824.0].
Out-of-range values are clipped to the boundary values.
B
Like
A
(analogously).
Allowed value range: [–2,048.0…+2,048.0].
C
Like
A
(analogously).
Allowed value range: [–1.0…+1.0].
Result Like load_z_table_no_20b.
Comments • load_z_table_20b is not executed (get_last_error return code
RTC6_BUSY
), if:
– the BUSY list execution status is set
– the INTERNAL-BUSY list execution status is set
• load_z_table_20b is even executed, if:
– a list has been paused by set_wait (PAUSED list execution status set)
• load_z_table_20b should always be used after load_correction_file, since
load_correction_file sets the three coefficients to the default values of the loaded
correction table.
• The
ABC
values are lost by select_cor_table.
• See also other comments at load_z_table_no.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 631, OUT 632.
References get_z_distance, re
ad_abc_from_file_20b, write_abc_to_file_20b,
load_z_table_no_20b, select_cor_table, load_z_table_no_20b