Program select lines, Default run program, Program select lines default run program – 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 67

Advertising
background image

Parameter Menu • Inputs

45

Publication 1398-PM601A-EN-P — October 2000

MENUS

Program Select Lines

Select Program from Inputs selects the program number to be run when a Start input is received, rather
than the Default Run Program number. The range of program numbers is limited by the number of Pro-
gram Select lines. If the Select Program from Inputs check box is selected, the Number of Program
Select lines can be entered.

Number of Program Select Lines determines how many external inputs are used as program select lines.
Up to 6 inputs can be used to select programs. Input I16 is always the most significant bit of the pro-
gram select lines, input I15 is next significant and so on, down to input I11 if all 6 inputs are used. The
program number is the binary number read on these inputs when the Start input is received. The least
significant input specifies a value of 1, the next a value of 2, and so on continuing in multiples of 2 up to
a value of 32 for the most significant input (I16) when all 6 inputs are used.

Number of Program Select Lines

Possible Programs Selected

Inputs

1

Up to 2 (0 or 1)

I16

2

Up to 4 (0 through 3)

I16 and I15

3

Up to 8 (0 through 7)

I16 through I14

4

Up to 16 (0 through 15)

I16 through I13

5

Up to 32 (0 through 31)

I16 through I12

6

Up to 64 (0 through 63)

I16 through I11

The Program Select lines must be in the proper state at least 2 ms before the Start input is received.
Once the Start input turns on, the program is run. The Program Select lines may then change state and
can be used for other functions in the program. For example, 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. Once the program is started, I11 and I12 can be used normally as interrupt
inputs.

The maximum number of programs that the ULTRA Plus or IQ 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).

Default Run Program

Default Run Program is used to set the program number that runs when the Start input is activated.
Allowable values are 0 to 31 inclusive (0 to 63, if an option card with additional program memory is
present). If the Select Program from Inputs check box is selected, the external program select inputs
determine which program is run when the Start input is activated. The Select Program from Inputs
check box must be cleared to enter a Default Run Program number.

Example1: Select Program from Inputs is selected. Program Select Lines is 3 (I16, I15 and I14).

Input states:

I16

I15

I14

ON

ON

OFF

Binary Value:

4 +

2 +

0

=

6

This example would select program 6 (from 8 maximum) to be run when the Start input turns on.

Example 2: Select Program from Inputs is selected. Program Select Lines is 5 (I16 through I12).

Input states:

I16

I15

I14

I13

I12

OFF

ON

ON

OFF

ON

Binary Value:

0 +

8 +

4 +

0 +

1 = 13

This example would select program 13 (from 32 maximum) to be run when the Start input turns on.

Advertising