EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - Page 98

Scanlab RTC 5 PC Interface Board
622 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC
®
5 PC Interface Board
Rev. 1.9 e
7 Basic Functions for Scan Head and Laser Control
98
innovators for industry
// 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 list buffer 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 RTC
®
5 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.
laser_on_list( 5 ); // Turning on the laser control signals for 50 µs
// Marking a square around the center point:
jump_abs( -20000, -20000 ); // Jump to the bottom left corner of the square
// A jump delay is automatically inserted after the jump.
mark_abs( -20000, 20000 ); // Marking the left edge of the square
mark_abs( 20000, 20000 ); // Marking the top edge of the square
mark_abs( 20000, -20000 ); // Marking the right edge of the square
mark_abs( -20000, -20000 ); // Marking the bottom edge of the square
// The laser control signals are automatically switched on with the first mark command after a LaserOn delay
// and remain on for all four mark commands. A polygon delay is automatically inserted after the first three
// mark commands, each. Initiated by the following non-marking command (jump command, see below), a mark delay
// is automatically inserted after the last mark command and the laser control signals are automatically switched off
// after the last mark command and a LaserOff delay (afterwards standby pulses are outputted).
// Marking a circle around the center point:
jump_abs( 0, -10000 ); // Jump to the bottom edge of the circle
// A jump delay is automatically inserted after the jump.
arc_abs( 0, 0, 360.0 ); // Marking the circle
// The laser control signals are automatically switched on with the arc command after a LaserOn delay. Initiated by
// the following non-marking command (set_end_of_list command, see below), a mark delay is automatically inserted
// after the arc command and the laser control signals are automatically switched off after the arc command and a
// LaserOff delay.
// Defining the end of the list and the end of command transfer to the RTC
®
5 board
set_end_of_list();
// Starting the transferred list (and thereby the marking process)
execute_list( 1 );

Table of Contents

Related product manuals