EasyManuals Logo

Galil Motion Control DMC-40x0 Series User Manual

Default Icon
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #136 background imageLoading...
Page #136 background image
126 II DMC-40x0 Command Reference
II
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.
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 Yes
Controller Usage
All Controllers
RELATED COMMANDS:
RI Return from Interrupt
#ININT Interrupt Subroutine
AI Trippoint for input
EXAMPLES:
#A ;'Program A
II 1 ;'Specify interrupt on input 1
JG 5000;BGA ;'Specify jog and begin motion on A axis
#LOOP;JP #LOOP ;'Loop
EN ;'End Program
#ININT ;'Interrupt subroutine

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Galil Motion Control DMC-40x0 Series and is the answer not in the manual?

Galil Motion Control DMC-40x0 Series Specifications

General IconGeneral
BrandGalil Motion Control
ModelDMC-40x0 Series
CategoryController
LanguageEnglish

Related product manuals