RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
319
Variable
List Command
activate_fly_2_axes
Function “Fly Extension” Command: Activates a 2-Axes-Processing-on-the-fly application.
Restriction If the Option Processing-on-the-fly is not enabled, then activate_fly_2_axes terminates
the Processing-on-the-fly process (even though it could not have been activated).
Call
activate_fly_2_axes( ModeX, ScaleX, OffsetX, ModeY, ScaleY, OffsetY)
Parameters
ModeX
Mode from Table 4, page 261.
As an unsigned 32-bit value.
ScaleX
Scaling factor.
As a 64-bit IEEE floating point value.
Allowed value range:
• 1/256 |
Scale
| 16.000,0 with linear axis (
1
or
2
)
Scale
can be + or –. Only the absolute value is restricted.
OffsetX
Offset to the encoder value.
As a signed 32-bit value.
ModeY
Like
ModeX
.
ScaleY
Like
ScaleX
.
OffsetY
Like
OffsetX
.
Comments • Being an “Fly Extension” Command, activate_fly_2_axes must not be used mixed with
“Classic“ Processing-on-the-fly commands (see Footnote, page 242).
• See Chapter 8.6 ”Processing-on-the-fly”, page 242 and Section
”“Fly Extension” Commands”, page 259.
• The Axes are automatically
1
and
2
. The modes need to be two physically different
encoder modes (Mode 1 and 3 or 2 and 4 are not allowed).
• activate_fly_2_axes occupies two RTC6 List Memory positions.
• activate_fly_2_axes requires two 10 µs clock cycles for execution.
• At Axis
1
and
2
, neither a Processing-on-the-fly correction nor a rotation correction
must be active. However, the Axes can be combined as linear axes with the third
linear axis.
• With an unallowed parameter value, activate_fly_2_axes is replaced by a list_nop
(get_last_error return code
RTC6_PARAM_ERROR
).
• If an xy positioning stage compensation is defined and active (see load_fly_2d_table),
then it is carried out automatically. See also comments on activate
_fly_2d (encoder
re
set, error bit, get_marking_info).