RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
115
innovators for industry
Ctrl Command set_softstart_mode
Function
initializes the softstart mode.
Parameters
All parameters are unsigned 16-bit values.
Parameter
Allowed Values
Description
mode
= 0
= 1, 11
= 2, 12
= 3, 13
= 1 ... 3
= 11 ... 13
disables the softstart mode, but does not remove previously loaded
softstart values.
enables the analog output signal ANALOG OUT1.
enables the analog output signal ANALOG OUT2.
enables the LASER1 signal.
The change from one Level to the next occurs with the leading edge of
the laser pulse.
The change from one Level to the next occurs with the trailing edge of
the laser pulse.
number
1 … 1000
(1) is the number of softstart values to be transmitted.
restartdelay
0 … 65535
(1 bit equals 10
µ
s)
defines the laser idle time after which the softstart is executed upon
restarting the laser.
Integration
Pascal:
procedure set_softstart_mode (mode, number, restartdelay: word);
C:
void set_softstart_mode (unsigned short mode, unsigned short number,
unsigned short restartdelay);
Basic:
sub set_softstart_mode (ByVal mode%, ByVal number%, ByVal
restartdelay%)
Comments
• The
command must be called
before
first-time use of the
command.
• The 0 ...
number
softstart values are set by calling the command
(
number
+1) times
• The pulse width or power of the first laser pulse is determined by level
[0]
if the values
are assigned with the
leading
edge of the laser pulse selected, or by level
[1]
if the
trailing
edge of the laser pulse is selected.
• Also see section
References
•