RTC6 boards
Doc. Rev. 1.0.21 en-US
7 Basic Functions for Scan Head Control and Laser Control
143
// Setting the jump speed and mark speed:
set_jump_speed( 1000.0 );
set_mark_speed( 250.0 );
// In RTC4 Compatibility Mode the
RTC6 board
multiplies the speed values by 16.
// Jump speed = 1000.0 bits/ms.
// Marking speed = 250.0 bits/ms.
// Setting the laser timing, see Chapter 7.4 ”Laser Control”, page 184.
set_laser_pulses( 800, 400 );
// In RTC4 Compatibility Mode the timing parameters are specified in units of 1/8 µs.
// The
RTC6 board
multiplies the specified values by 8 to convert them to
// integer-multiple of 1/64 µs. Laser HalfPeriod = 100 µs.
// Laser pulse length = 50 µs.
// Setting the Laser Delays, see Chapter 7.2.1 ”Laser Delays”, page 145.
set_laser_delays( 100, 100 );
// In RTC4 Compatibility Mode the Laser Delays are specified in units of 1 µs.
// The
RTC6 board
multiplies the specified values by 32 to convert them to
// integer-multiple of 1/64 µs.
// LaserOn Delay = 100 µs.
// LaserOff Delay = 100 µs.
// Defining the end of the list and the end of command transfer to the
RTC6 board
set_end_of_list();
// Execute the list commands for initialization
execute_list( 1 );
// Marking procedure
// Waiting for list 1 to be not busy. (load_list( 1, 0 ) returns 1 if successful, otherwise 0);
// if list 1 is not (no longer) busy:
// opening the RTC6 List Memory for writing of list commands and setting the input pointer
// to the start of list 1
while ( !load_list( 1, 0 ) );
// In the following the list commands for marking point, square and circle are defined and transferred
// to the
RTC6 board
.
// Marking the center point of the Image Field:
jump_abs( 0, 0 ); // Jump to center point
// A Jump Delay is automatically inserted after the jump.
// Turning on the Laser Control Signals for 50 µs (+ LaserOff Delay - LaserOn Delay):
laser_on_list( 5 );