EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - Page 5

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
Contents
5
innovators for industry
6 Developing User Applications .......................................................................................................... 61
6.1 RTC
®
5 Software Basics .................................................................................................................. 61
6.1.1 Controlling Scan Systems and Lasers – An Introductory Example ....................................... 61
6.1.2 List Commands and Control Commands ............................................................................ 61
6.2 Initialization and Program Start-Up ............................................................................................... 62
6.2.1 DLL Call .............................................................................................................................. 62
6.2.2 Importing Commands ........................................................................................................ 62
Pascal ........................................................................................................................... 62
C ................................................................................................................................... 63
C++ ............................................................................................................................... 63
C# ................................................................................................................................. 63
6.2.3 Initializing the DLL and Board Management ...................................................................... 64
6.2.4 Start of Operation .............................................................................................................. 65
RTC
®
5 Initialization ...................................................................................................... 65
RTC
®
5 Configuration .................................................................................................... 65
Scan System Initialization ............................................................................................. 65
Laser Control Initialization ............................................................................................ 66
Loading and Executing Lists ......................................................................................... 66
6.2.5 Example Code .................................................................................................................... 67
6.3 List Memory .................................................................................................................................. 69
6.3.1 Lists and the Protected Buffer Area .................................................................................... 69
Lists .............................................................................................................................. 69
Protected Buffer Area ................................................................................................... 69
6.3.2 Configuring the List Memory ............................................................................................. 70
6.4 List Handling ................................................................................................................................. 71
6.4.1 Loading Lists ...................................................................................................................... 71
“Unconditional” Loading .............................................................................................. 71
Loading with Protection ............................................................................................... 72
Terminating Lists ........................................................................................................... 72
6.4.2 List Status .......................................................................................................................... 72
6.4.3 List Execution Status .......................................................................................................... 73
6.4.4 Starting and Stopping Lists ................................................................................................ 74
6.4.5 Interrupting Lists for Synchronization of Processing .......................................................... 74
6.4.6 Automatic List Changing .................................................................................................... 75
One-Time List Change ................................................................................................... 75
Alternating List Changes ............................................................................................... 75
6.5 Structured Programming .............................................................................................................. 76
6.5.1 Subroutines ........................................................................................................................ 76
Non-Indexed Subroutines ............................................................................................. 76
Indexed Subroutines ..................................................................................................... 76
Calling Subroutines ...................................................................................................... 77
Subsequent Protection and Conversion of Non-Indexed Subroutines ........................... 78
Deprotecting Subroutines ............................................................................................. 79
Index Management and Defragmentation .................................................................... 79
6.5.2 Character Sets and Text Strings .......................................................................................... 80
Defining Indexed Character Sets ................................................................................... 80
Calling Indexed Characters ........................................................................................... 80
Defining Indexed Text Strings for Times, Dates and Serial Numbers .............................. 80
Calling Indexed Text Strings .......................................................................................... 81
Management of Indexed Characters and Text Strings ................................................... 81
6.5.3 Jumps ................................................................................................................................ 81
6.5.4 Circular Queue Mode ......................................................................................................... 82

Table of Contents

Related product manuals