RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
429
Normal
List Command
set_fly_x
Function activates Processing-on-the-fly correction for compensation of a linear workpiece-
movement in the X direction (based on position values transferred to the RTC
®
5 via
encoder counter Encoder0) and sets the corresponding scaling factor. Encoder counter
Encoder0 may be reset (see comments).
Restriction If the Processing-on-the-fly option is not enabled, then the command terminates the
Processing-on-the-fly process (even though it couldn’t have been activated).
Call
set_fly_x( ScaleX )
Parameter
ScaleX
scaling factor for the X direction (encoder counter Encoder0) in bits/count
(as a 64-bit IEEE floating point value);
allowed range: 1/256 |
ScaleX
| 16000.0
Comments • For Processing-on-the-fly correction and determination of the scaling factor, see
"Processing-on-the-fly (Optional)", page 177.
• If unallowed parameter values are supplied (e.g. for
ScaleX
= 0), then set_fly_x will not
activate a Processing-on-the-fly correction or will deactivate a Processing-on-the-fly
correction previously activated via set_fly_x (but will not deactivate any other
Processing-on-the-fly correction). The latter case leads to a jump (at jump speed) to the
endpoint of the most recently executed vector or arc command (without “set_fly_x“
Processing-on-the-fly correction).
• The various Processing-on-the-fly corrections can’t be arbitrarily combined (see the
page 178).
• For deactivating Processing-on-the-fly correction, see page 186.
•Via set_control_mode, bit#9 can be set in advance to specify whether encoder counter
Encoder0 should reset immediately via set_fly_x or only after the subsequent external
start trigger (i.e. via the subsequent external start signal or simulate_ext_start or
simulate_ext_start_ctrl command, possibly postponed by a track delay set via
simulate_ext_start, set_ext_start_delay or set_ext_start_delay_list; also see
set_control_mode, bit#2).
• You can also switch on set_fly_x/set_fly_y Processing-on-the-fly correction via the
activate_fly_xy command.
RTC
®
4
RTC
®
5 unchanged functionality (except for the extended range of values)
In RTC
®
4 compatibility mode, the RTC
®
5 multiplies the specified scaling factor by 16 (the
permissible range of values is correspondingly reduced).
Version info Last change with version OUT 515
References fly_return, set_fly_y, get_encoder, set_fly_x_pos, set_fly_y_pos, activate_fly_xy,
set_fly_2d