Galil Motion Control DMC-1000 User Manual page 16

Table of Contents

Advertisement

Debugging Programs ............................................................................................................... 88
Program Flow Commands ....................................................................................................... 90
Mathematical and Functional Expressions ............................................................................ 100
Variables................................................................................................................................ 102
Operands................................................................................................................................ 104
Arrays .................................................................................................................................... 105
Input of Data (Numeric and String)....................................................................................... 109
Output of Data (Numeric and String) .................................................................................... 110
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 Triggers & Trippoints ..................................................................................... 90
Event Trigger Examples:........................................................................................... 91
Conditional Jumps..................................................................................................... 94
Subroutines................................................................................................................ 97
Stack Manipulation.................................................................................................... 97
Automatic Subroutines for Monitoring Conditions...................................................97
Mathematical Expressions....................................................................................... 100
Bit-Wise Operators.................................................................................................. 101
Functions ................................................................................................................. 102
Assigning Values to Variables: ............................................................................... 103
Special Operands (Keywords)................................................................................. 105
Defining Arrays....................................................................................................... 105
Assignment of Array Entries ................................................................................... 106
Automatic Data Capture into Arrays ....................................................................... 107
Deallocating Array Space........................................................................................ 108
Input of Data............................................................................................................ 109
Sending Messages ................................................................................................... 110
Interrogation Commands ......................................................................................... 111
Formatting Variables and Array Elements .............................................................. 113
Converting to User Units......................................................................................... 114
Digital Outputs ........................................................................................................ 114
Digital Inputs........................................................................................................... 115
Input Interrupt Function .......................................................................................... 116
Analog Inputs .......................................................................................................... 117
Wire Cutter.............................................................................................................. 118
X-Y Table Controller .............................................................................................. 119
Speed Control by Joystick....................................................................................... 121
Position Control by Joystick.................................................................................... 122
Backlash Compensation by Sampled Dual-Loop .................................................... 122
Output Protection Lines........................................................................................... 125
Input Protection Lines ............................................................................................. 125
Programmable Position Limits ................................................................................ 126
Off-On-Error ........................................................................................................... 126
Automatic Error Routine ......................................................................................... 127
Limit Switch Routine .............................................................................................. 127
125
129
Contents • ix

Advertisement

Table of Contents
loading

Table of Contents