RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
474
Ctrl Command set_scale
Function uses a specified scaling factor common to the X and Y axes to define the scaling matrix M
S
for
all subsequent
coordinate transformations (see "Coordinate Transformations", page
161).
Call
set_scale( HeadNo, Scale, at_once )
Parameters
HeadNo
Number of the scan head connector as an unsigned 32-bit value:
= 1: The definition only affects the primary scan head connector.
= 2: The definition only affects the secondary scan head connector
(activation required)
= 0, 3: The definition affects both scan head connectors.
Only the two least significant bits are evaluated.
Scale
Scaling factor (as a 64-bit IEEE floating point value);
allowed range: [–16 … +16];
if the parameter is set to an invalid value, it will be set to 1;
negative values additionally produce a mirroring around both axes
(corresponding to a 180° rotation).
at_once
This parameter (unsigned 32-bit value) determines when the defined
transformation becomes effective:
= 0: The new total transformation (total matrix and offset) is only
calculated and applied to the current position when the next list
command is executed.
= 1: The new total transformation is calculated immediately (or before the
next list command if a list is currently BUSY or the board is INTERNAL-
BUSY) and applied to the current position. The “laser active” laser
control signals will first be switched off if necessary.
= 2: The new total transformation (total matrix and offset) is only
calculated and applied to the current position when the next
jump_abs, jump_rel, goto_xy or goto_xyz command is executed.
= 3: As with
at_once
= 1, but the laser control signals remain unaffected.
> 3: See
at_once
=2
Comments • See "Coordinate Transformations", page 161.
RTC
®
4
RTC
®
5new command
Version info Last change with version DLL 525, OUT 527: behavior for
at_once
=3
References set_scale_list, set_angle, set_matrix, set_offset