Find Docs

Galil Motion Control - optcom (Page 113)

Wodocs >> Electronics : Motion Control >> Galil Motion Control optcom Page 113
Galil Motion Control - optcom
Optima DMC-1xxx and DMC-18x2 Command Reference
II (Binary EC)
i
102
II
(Binary
EC)
FUNCTION: Input Interrupt
DESCRIPTION:
The II command enables the interrupt function for the specified inputs. By default, input
interrupts are configured for activation with a logic "0" but can be configured for
activation with a logic "1" signal.
If any of the specified inputs are activated during program execution, the program will jump
to the subroutine with label #ININT. Any trippoints set by the program will be cleared
but can be re-enabled by the proper termination of the interrupt subroutine using RI. The
RI command is used to return from the #ININT routine.
Note: An application program must be running on the controller for the interrupt function to
work.
ARGUMENTS: II m,n,o,p
where
m is an integer between 0 and 8 decimal. 0 disables interrupt. The value of m specifies the
lowest input to be used for the input interrupt. When the 2
nd
argument, n, is omitted, only
the input specified by m will be enabled.
n is an integer between 2 and 8. This argument is optional and is used with m to specify a
range of values for input interrupts. For example, II 2,4 specifies interrupts occurring for
Input 2, Input 3 and Input 4.
o is an integer between 1 and 255. Using this argument is an alternative to specifying an input
range with m,n. If m and n are specified, o will be ignored. The argument o is an integer
value and represents a binary number. For example, if o = 15, the binary equivalent is
00001111 where the bottom 4 bits are 1 (bit 0 through bit 3) and the top 4 bits are 0 (bit 4
through bit 7). Each bit represents an interrupt to be enabled - bit0 for interrupt 1, bit 1
for interrupt 2, etc. If o=15, the inputs 1,2,3 and 4 would be enabled.
p is an integer between 1 and 255. The argument p is used to specify inputs that will be
activated with a logic "1". This argument is an integer value and represents a binary
number. This binary number is used to logically "AND" with the inputs which have been
specified by the parameters m and n or the parameter o. For example, if m=1 and n=4,
the inputs 1,2,3 and 4 have been activated. If the value for p is 2 (the binary equivalent of
2 is 00000010), input 2 will be activated by a logic `1' and inputs 1,3, and 4 will be
activated with a logic "0".
USAGE: DEFAULTS:
While Moving
Yes
Default Value
In a Program
Yes
Default Format
3.0 (mask only)
Command Line
No
Controller Usage
All Controllers
RELATED COMMANDS:
#ININT Interrupt
Subroutine
"AI"
Trippoint for input
"
RI
"
Return from Interrupt
EXAMPLES:
#A Program
A
II 1
Specify interrupt on input 1
JG 5000;BGA
Specify jog and begin motion on A axis

<< Previous       1 .. 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120       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)