Find Docs

Galil Motion Control - optcom (Page 85)

Wodocs >> Electronics : Motion Control >> Galil Motion Control optcom Page 85
Galil Motion Control - optcom
Optima DMC-1xxx and DMC-18x2 Command Reference
EI
i
74
EI
FUNCTION: Enable Interrupts
DESCRIPTION:
The EI command enables interrupt conditions such as motion complete or excess error. The
conditions are selected by the parameter m where m is the bit mask for the selected
conditions as shown below. Prior to using interrupts, interrupts must first be configured
and an interrupt service routine must first be incorporated in the program on the
controller.
ARGUMENTS: EI m,n where
EI 0 clears the interrupt queue
m is an integer between 1 and 65535. m is used to select the interrupt(s) to be used.
n is an integer between 1 and 255. n is used to select the specific input if the value for m
indicates that inputs are to be used for interrupting.
m and n are integer values which represent binary numbers. These binary numbers are used
to logically "AND" with the interrupt registers as described by the following tables. The
use of the values m and n to select the desired bits from the interrupt register is known as
`masking'.
BIT
NO
m =
(2
BIT NO
)
CONDITION
BIT
NO
m =
(2
BIT NO
)
CONDITION
0 1
A profiled motion
complete
8 256
All axes profiled
motion complete
1
2
B profiled motion complete 9
512
Excess position error*
2
4
C profiled motion complete 10
1024
Limit switch
3 8
D profiled motion
complete
11 2048
Watchdog
timer
4
16
E profiled motion complete 12
4096
Reserved
5 32
F profiled motion
complete
13 8192
Application program
stopped
6 64
G profiled motion
complete
14 16384
Command
done
7 128 H profiled motion
complete
15 32768
Inputs* (uses n for
mask)
The * conditions must be re-enabled after each occurrence.
BIT
NO
n=
(2
BIT NO
)
CONDITION
BIT
NO
n=
(2
BIT NO
)
CONDITION
0
1
Input 1
4
16
Input 5
1
2
Input 2
5
32
Input 6
2
4
Input 3
6
64
Input 7
3
8 Input
4
7
128 Input
8

<< Previous       1 .. 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92       Next >>



Other Documents:
MSDS JEECHEM SHAMPOO CONCENTRATE 1, msds ALOE VERA GEL DECOLORIZED 40 X, msds ALOE VERA OIL EXTRACT Mineral Oil Base, msds ANHYDROUS LANOLIN USP, msds CARROT OIL, msds COTTONSEED OIL, msds JEECHEM 100 CG POWDER, msds JEECHEM 1450, msds JEECHEM 186, msds JEECHEM BUBBLE BATH GSE, msds JEECHEM CA 40, msds JEECHEM CA 9, msds JEECHEM CASTOR OIL PP, msds JEECHEM CER, msds JEECHEM NP 12, msds JEECHEM NP 30, msds JEECHEM NP 6, msds JEECHEM SHAMPOO BWC, msds JEECHEM SHAMPOO COMBE BLEND, msds JEECHEM SHAMPOO CONCENTRATE 2, msds JEECHEM SHAMPOO CONCENTRATE 4, msds JEECHEM SHAMPOO CONCENTRATE 4 CL, msds JEECHEM SHAMPOO CONCENTRATE 5, msds JEECHEM SHAMPOO CONCENTRATE 5 CL, msds JEECHEM SHAMPOO CONCENTRATE 7 CL, msds JEECHEM SHAMPOO ST ARR, msds JEECHEM SML, msds JEECHEM SMS, msds JEECHEM STO, msds JEECHEM STS, msds JEECOL CA 20, msds JEELAN ALCOHOL SP, msds JEELAN ALCOHOL, msds JEELAN L 60, msds JEELATE ALES 2, msds JEELATE ALS 30, msds JEELATE DLS, msds JEEMATE 1000 DPS, msds JEEMATE 1000 ML, msds JEEMATE 200 ML, msds JEEMATE 300 DPS, msds JEEMATE 300 OC, msds JEEMATE 400 DO, msds JEEMATE 400 OC, msds JEEMIDE MEAA, msds JEEMIDE SS 100, msds JEEPHOS P 610, msds JEESILC 74, msds JEESILC CPS 312, msds JEESORB L 10,


WODocs | |
All rights reserved. wodocs.com© 2009
WODocs


New Docs

Documents Category:
Arts (Design, Movies, Music, Radio, Television)
Automotive (Cars, Marine, Motorcycle, ATV, Snowmobiles)
Business (Biotechnology and Pharmaceuticals, Chemicals, Construction and Maintenance, Materials, Real Estate, Services)
Electronics (Computers, Motion Control, Power Supply)
Games (Board, Family, Party, Card, Construction, RC Toys)
Health (Animalm, Beauty, Healthcare, Medicine, Pharmacy, Surgery, Weight Loss)
Home (Accessories, Cooking, Decor and Design, Electrical, Family, Pets)
News (Newspapers, Sports, Television)
Recreation (Collecting, Hiking, Scouting, Survival, Travel)
Reference (Education, Libraries and Archives, Museums)
Science (Agriculture, Astronomy, Biology, Chemistry)
Shopping (Antiques and Collectibles, Clothing, Flowers, Food, Home and Garden)
Sports (Bicycle, Snowboard, Skiing, Other)