RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
89
innovators for industry
Ctrl Command goto_xy
Function direct jump to the specified position
Parameters
xpos, ypos
coordinates of the jump position in bits as signed 16-bit values
Integration Pascal:
procedure goto_xy(xpos, ypos: smallint);
C:
void goto_xy(short xpos, short ypos);
Basic:
sub goto_xy(ByVal xpos%, ByVal ypos%)
Comments • With DSP program files
RTC4D2.HEX
/
RTC4D3.HEX
, version 2.417 / 3.417 or higher the
jump speed is set with the commandl set_jump_speed (see page 107). With older DSP
program file versions, a goto_xy command jump will always be executed at a speed of
50000 bits / ms.
• Usually scan systems are optimized for scanning vectors (not for jumps). Therefore,
after executing a jump via the goto_xy command with a high jump speed, a large over-
shoot may occur. Then – depending on the jump distance – the set positions may be
reached only after a longer settling time. Therefore an appropriate low jump speed
should be previously set via the set_jump_speed command. As with DSP program files
RTC4D2.HEX
/
RTC4D3.HEX
, version 2.416 / 3.416 or lower the jump speed is always set
to maximum value of 50000 bits / ms, jumps should be realized via the list commands
jump_abs or jump_rel with this DSP program file versions.
• The command will be ignored if a list is executing at the moment.
• Image field correction will be applied.
• If an image transformation is defined with the commands set_matrix / set_offset,
it will be applied.
References get_xy_pos, set_jump_speed, jump_abs, jump_rel
Ctrl Command home_position
Function activates the home jump mode and defines the home position
Parameters
xhome,
yhome
coordinates of the home position in bits as signed 16-bit values.
Integration Pascal:
procedure home_position (xhome, yhome: smallint);
C:
void home_position (short xhome, short yhome);
Basic:
sub home_position (ByVal xhome%, ByVal yhome%)
Comments • This command is intended for a laser system that does not allow fast switching of the
laser. After calling the command, the laser focus moves to the specified home position
whenever no list is executing.
• At the beginning of the next list, the laser focus automatically jumps to the start point
of the first list vector. The RTC
®
2 command field_jump is no longer needed.
•A beam dump should be placed in the home position.
• The home jump mode is deactivated with the command
home_position(0, 0)
.