52
●
Chapter 4 - Software Tools and Communications
DMC-18x2
Bit Number
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)
†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
Input
0 Input
1
1 Input
2
2 Input
3
3 Input
4
4 Input
5
5 Input
6
6 Input
7
7 Input
8
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание DMC-18 2 Series
Страница 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 5: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 11: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...