Debugging Programs ............................................................................................................... 88
Program Flow Commands ....................................................................................................... 90
Variables................................................................................................................................ 102
Operands................................................................................................................................ 104
Arrays .................................................................................................................................... 105
Programmable Hardware I/O................................................................................................. 114
Example Applications............................................................................................................ 118
Introduction ........................................................................................................................... 125
Hardware Protection .............................................................................................................. 125
Software Protection ............................................................................................................... 126
Overview ............................................................................................................................... 129
DMC-1000
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Event Trigger Examples:........................................................................................... 91
Conditional Jumps..................................................................................................... 94
Subroutines................................................................................................................ 97
Stack Manipulation.................................................................................................... 97
Bit-Wise Operators.................................................................................................. 101
Functions ................................................................................................................. 102
Defining Arrays....................................................................................................... 105
Input of Data............................................................................................................ 109
Sending Messages ................................................................................................... 110
Interrogation Commands ......................................................................................... 111
Digital Outputs ........................................................................................................ 114
Digital Inputs........................................................................................................... 115
Analog Inputs .......................................................................................................... 117
Wire Cutter.............................................................................................................. 118
X-Y Table Controller .............................................................................................. 119
Output Protection Lines........................................................................................... 125
Input Protection Lines ............................................................................................. 125
Off-On-Error ........................................................................................................... 126
Automatic Error Routine ......................................................................................... 127
Limit Switch Routine .............................................................................................. 127
125
129
Contents • ix