RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
98
innovators for industry
List Command
long_delay
Function
stops execution of the list for the specified time
Parameter
delay
delay time in
bits
as an unsigned 16-bit value.
1 bit equals 10
µ
s
.
Allowed range: 0
≤
delay
≤
65500.
Integration
Pascal:
procedure long_delay(delay: word);
C:
void long_delay(unsigned short delay);
Basic:
sub long_delay(ByVal delay%)
Comments
• This command should always be called after changing the lamp current of a YAG laser
to obtain a constant laser power.
List Command
mark_abs
Function
marking along a straight line from the current position to the specified position
Parameters
xval,
yval
absolute coordinates of the vector end point in
bits
as signed 16-bit values.
Integration
Pascal:
procedure mark_abs(xval, yval: smallint);
C:
void mark_abs(short xval, short yval);
Basic:
sub mark_abs(ByVal xval%, ByVal yval%)
Comments
• The marking speed is set with the command
• The laser is turned on at the beginning of the command after a LaserOn delay.
• If another mark or arc command follows, a polygon delay is inserted, and the laser stays
on. Otherwise a mark delay is inserted and the laser is turned off after a LaserOff delay.
• If a marking vector is followed by a zero jump or marking vector or a zero arc command,
then the MarkDelay is
not
executed.
• See
chapter 4.2 "Scan Head And Laser Control", page 15
References
,
List Command
mark_rel
Function
marking along a straight line from the current position to the specified position
Parameters
dx, dy
relative
coordinates of the vector end point in
bits
as signed 16-bit values.
Integration
Pascal:
procedure mark_rel(dx, dy: smallint);
C:
void mark_rel(short dx, short dy);
Basic:
sub mark_rel(ByVal dx%, ByVal dy%)
Comments
• The coordinates are relative to the current position.
• The maximum value for the
absolute
coordinates is ±32767 bits.
• The marking speed is set with the command
• The laser is turned on at the beginning of the command after a LaserOn delay.
• If another mark or arc command follows, a polygon delay is inserted, and the laser stays
on. Otherwise a mark delay is inserted and the laser is turned off after a LaserOff delay.
• If a marking vector is followed by a zero jump or a marking vector or a zero arc
command, then the MarkDelay is
not
executed.
• See
chapter 4.2 "Scan Head And Laser Control", page 15
References
,