Program select lines, Interrupt inputs, Purpose – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual
Page 112

90
Inputs and Outputs • Interrupt Inputs
Publication 1398-PM601A-EN-P — October 2000
I/O
Program Select Lines
Program select lines may be used to determine which program to execute when the Start input is turned
ON. Up to 6 inputs can be used to select programs. Input I16 is always the most significant bit of the
program select lines, input I15 is next significant and so on, down to input I11 if all 6 inputs are used.
The inputs are decoded as a binary number. The number of select lines used, determines the program
numbers that can be selected from the external inputs:
Number of Select Lines
Possible Programs Selected
Inputs
2
Up to 4 (0 to 3)
I16 and I15
3
Up to 8 (0 to 7)
I16 through I14
4
Up to 16 (0 to 15)
I16 through I13
5
Up to 32 (0 to 31)
I16 through I12
6
Up to 64 (0 to 63)
I16 through I11
Binary Coded Program Select Lines
Interrupt Inputs
There are two inputs that can function as software interrupt inputs, Input 11 and input 12. Input 11 is
used to trigger interrupt 1, and input 12 is used to trigger interrupt 2. The software interrupts cause the
microprocessor to read the positions of encoder 1 and 2 and save them into dedicated system variables.
Input 11 can also be used to trigger a hardware latch to capture either encoder 1 position or encoder 2
position into the LPOS variable.
Purpose
The purpose of an interrupt is to cause the ULTRA Plus or IQ to instantly record the positions of
encoder 1 and encoder 2 in response to an external asynchronous event which triggers an input.
I16
I15
I14
I13
I12
I11
Program Selected
OFF
OFF
OFF
OFF
OFF
OFF
0
OFF
OFF
OFF
OFF
OFF
ON
1
OFF
OFF
OFF
OFF
ON
OFF
2
OFF
OFF
OFF
OFF
ON
ON
3
OFF
OFF
OFF
ON
OFF
OFF
4
:
:
:
:
:
:
:
ON
ON
ON
ON
OFF
ON
61
ON
ON
ON
ON
ON
OFF
62
ON
ON
ON
ON
ON
ON
63
Note: This table assumes that the Number of Program Select Lines is 6.
Note: If using 6 program select lines, inputs I11 and I12 would be the two least significant program
select lines. These inputs are also used as interrupt inputs INT1 and INT2. If the interrupt lines are
also used in a program, care should be taken to set the inputs to the proper state AFTER selecting
the program to be run.
The maximum number of programs that an ULTRA Plus or IQ module supports is 32 without an
optional Memory and I/O Expansion Card. If an Expansion card is present, space for an additional
32 programs is available (program numbers 32 through 63)