RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
108
innovators for industry
Ctrl Command set_laser_mode
Function selects the laser control mode of the RTC
®
4
Parameter
mode
=0: CO
2
mode
=1: YAG mode1
=2: YAG mode2
=3: YAG mode3
= 4: laser mode 4
Integration Pascal:
procedure set_laser_mode(mode: word);
C:
void set_laser_mode(unsigned short mode);
Basic:
sub set_laser_mode(ByVal mode%)
Comments • The available laser signals depend on the selected laser control mode. Please refer to
chapter 4.6 "Laser Control", page 32 for a detailed description.
• The command should be used only once at the program start.
Also see chapter 9.3 "Initializing the RTC
®
4", page 63.
References set_laser_timing, set_firstpulse_killer
List Command set_laser_timing
Function defines the output period and the pulse widths for the laser signals LASER1 and LASER2
Parameters
half_period
half of the output period in bits.
1 bit equals 1/8 µs or 1 µs, depending on the selected time base.
Allowed range: [2 … 65500]
pulse_width1,
pulse_width2
Pulse widths of the laser signals LASER1 and LASER2 in bits.
1 bit equals 1/8 µs or 1 µs, depending on the selected time base.
Allowed range: [2 … 65500]
time_base
= 0: sets the time base to 1 MHz (1 bit equals 1 µs)
≠ 0: sets the time base to 8 MHz (1 bit equals 1/8 µs)
Integration Pascal:
procedure set_laser_timing(half_period, pulse_width1, pulse_width2,
time_base: word);
C:
void set_laser_timing(unsigned short half_period, unsigned short
pulse_width1, unsigned short pulse_width2, unsigned short time_base);
Basic:
sub set_laser_timing(ByVal half_period%, ByVal pulse_width1%,
ByVal pulse_width2%, ByVal time_base%)
Comments • The time base setting applies only for the parameters of this command.
• In general, it is recommended to set the time base to 8 MHz.
A time base of 1 MHz should only be chosen if necessary.
•Please refer to chapter 4.6 "Laser Control", page 32, for details.
References set_laser_mode, set_firstpulse_killer, set_standby, set_standby_list