Galil Motion Control DMC-18 2 Series User Manual page 63

Table of Contents

Advertisement

Bit Number
†Not used when using new version 7 drivers.
The argument "n" enables interrupts for the first 8 general inputs. To enable interrupts for the desired
inputs, set bit 15 of the "m" argument, then set the desired inputs using the 8-bit mask for the "n"
argument. For example, to enable interrupt on inputs 1-4, set EI32768,15. Note that the input interrupts
must be reset for all inputs after any input has caused an interrupt.
Bit number
User Interrupts (UI command)
The DMC-18x2 also provides 16 User Interrupts which can be sent by executing the command UIn to
the DMC-18x2, where n is an integer between 0 and 15. The UI command does not require the EI
command. UI commands are useful in DMC programs to let the host application know that certain
points within the DMC program have occurred.
52 ● Chapter 4 - Software Tools and Communications
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Condition
0
X motion complete
1
Y motion complete
2
Z motion complete
3
W motion complete
4
E motion complete
5
F motion complete
6
G motion complete
7
H motion complete
8
All axes motion complete
9
Excess position error*
10
Limit switch
11
Watchdog timer
12
Reserved
13
Application program stopped
14
Command done †
15
Inputs* (uses n for mask)
0
1
2
3
4
5
6
7
Input
Input 1
Input 2
Input 3
Input 4
Input 5
Input 6
Input 7
Input 8
DMC-18x2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dmc-1812Dmc-1822Dmc-1832Dmc-1842

Table of Contents