RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
405
Ctrl Command set_angle
Function uses a specified rotation angle to define the rotation matrix M
R
for
all subsequent
coordinate transformations (see "Coordinate Transformations", page 161).
Call
set_angle( HeadNo, Angle, 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.
Angle
Rotation angle in ° (as a 64-bit IEEE floating point value); positive angles result
in a counterclockwise rotation around the centerpoint of the image field.
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_angle_list, set_matrix, set_offset, set_scale