RTC6 boards
Doc. Rev. 1.0.21 en-US
Contents
6
6.4.1 Loading Lists .................................................................................................................... 105
“Unconditional” Loading ............................................................................................ 105
Loading with Protection ............................................................................................. 106
Terminating Lists ........................................................................................................ 106
6.4.2 List Status ........................................................................................................................ 107
6.4.3 List Execution Status ........................................................................................................ 108
6.4.4 Starting and Stopping Lists .............................................................................................. 109
6.4.5 Interrupting Lists for Synchronization of Processing ........................................................ 110
6.4.6 Changing Lists Automatically ........................................................................................... 110
One-Time List Change ................................................................................................. 110
Alternating List Changes ............................................................................................. 111
6.5 Structured Programming ............................................................................................................ 112
6.5.1 Subroutines ...................................................................................................................... 112
Non-Indexed Subroutines ........................................................................................... 112
Indexed Subroutines ................................................................................................... 113
General Information on Calling Subroutines ............................................................... 114
Index Management and Defragmentation .................................................................. 115
Subsequent Protection and Conversion of Non-Indexed Subroutines ......................... 116
Unprotecting Subroutines .......................................................................................... 117
6.5.2 Character Sets and Text Strings ........................................................................................ 118
Defining Indexed Character Sets ................................................................................. 118
Calling Indexed Characters ......................................................................................... 119
Defining Indexed Text Strings for Time, Date and Serial Number ............................... 119
Calling Indexed Text Strings ........................................................................................ 120
Managing Indexed Characters and Text Strings .......................................................... 120
6.5.3 Jumps .............................................................................................................................. 120
6.5.4 RTC4-Circular Queue Mode .............................................................................................. 121
6.5.5 Loops ............................................................................................................................... 122
6.6 Using Several RTC6 PCIe Boards in One PC .................................................................................. 123
6.6.1 Multi-Board Programming ............................................................................................... 123
Examples (Pascal) ....................................................................................................... 123
6.6.2 Single-Board Programming .............................................................................................. 124
6.6.3 Master/Slave Operation .................................................................................................... 124
Initialization with RTC6 Software Package 1.5.0 ( RBF 619) ................................... 125
Initialization with RTC6 Software Package < V1.5.0 ( RBF 618) ................................ 125
Synchronous Starts and Synchronous Stops ............................................................... 126
Example Code (Delphi) ............................................................................................... 127
6.7 Usage of RTC6 PCI Express Boards by Several User Programs ...................................................... 128
6.7.1 Notes on Board Acquisition by a User Program ................................................................ 128
6.8 Error Handling ............................................................................................................................ 130
6.8.1 Download Verification ..................................................................................................... 131
6.8.2 Checking for Overruns ..................................................................................................... 132
6.8.3 Example Code (C) ............................................................................................................. 133
6.9 Miscellaneous ............................................................................................................................. 135
6.9.1 Free Variables ................................................................................................................... 135
7 Basic Functions for Scan Head Control and Laser Control ............................................................ 136
7.1 Marking Dots, Lines and Arcs ...................................................................................................... 136
7.1.1 Marking with Vector Commands and “Arc” Commands .................................................. 136
Jump Commands ........................................................................................................ 137
Mark Commands ........................................................................................................ 137
Arc Commands ........................................................................................................... 137
Polylines ..................................................................................................................... 137