Inputs and outputs, Dedicated inputs setup, Read inputs – 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 139: Dedicated inputs setup read inputs

Advertising
background image

• Inputs and Outputs

117

Publication 1398-PM601A-EN-P — October 2000

TUTORIAL

Inputs and Outputs

Dedicated Inputs Setup

The ULTRA Plus or IQ has 16 digital inputs and 8 digital outputs. Some of these inputs and outputs
have dedicated functions associated with them. For example, if the Forward Limit feature is used, the
Forward Limit Switch must be connected to input I1. The input functions are enabled or disabled using
the Inputs dialog box from the Parameters menu:

Display this dialog box and set the inputs as shown and select the OK button. With the inputs set as
shown, only the Jog input functions are active. If input I8 is activated (by connecting P1 pin 9 to P1 pin
1) the motor will accelerate using the Jog Acceleration parameter to the Jog Velocity. If I7 is activated
(by connecting P1 pin 8 to P1 pin 1) the motor will do the same thing, but in the opposite direction. If
both inputs are activated the motor will stop because the ULTRA Plus or IQ is being told to move in
opposite directions at the same speed which results in no movement.

Read Inputs

We will now modify the LEARN.QPS program to look for an input to go on before doing the first move,
and wait for the input to go off before doing the second move. Modify the program to look like this:

TITLE "firstpgm"

WAIT I16=ON

MOVD 10

WAIT I16=OFF

MOVD - 10

END

The program waits for I16 to go on, does a move of ten revolutions, waits for I16 to go off, does a move
of minus ten revolutions and then ends. Compile the program, save it to the ULTRA Plus or IQ, and run
it. When the program is run, the motor will not move until I16 is activated by connecting P2 pin 3 to P1

Advertising