Associated input instruction, Input debounce time, Assignable 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 108: Enable (i3), When enable turns on, When enable turns off

Advertising
background image

86

Inputs and Outputs • Assignable Inputs

Publication 1398-PM601A-EN-P — October 2000

I/O

Associated Input Instruction

Digital inputs are scanned once every velocity loop update (1mS). A flag is set according to the state of
the input at the time of the scan. When a program instruction such as,

WAIT I1 = ON;Wait for input 1 to turn ON

is executed, the flag is tested not the physical input.

Input Debounce Time

Debounce time affects when an input is recognized by the program. The debounce time is the time an
input must remain stable, after it has changed state, before the flag is changed recognizing the change
on the input. Debounce time applies to general purpose inputs only (NOT Assigned inputs). The
debounce time is entered in the Parameter menu, Inputs dialog box.

Assignable Inputs

All dedicated inputs can be disabled and used as general purpose inputs. Inputs are assigned in the
Parameter menu, Inputs dialog box. Refer to Part 2

IQ Master Environment, Parameter menu, Inputs,

for more detailed information. The function of these inputs when they are assigned is described below

Enable (I3)

The Enable input is used to enable and disable the ULTRA Plus or IQ. If the Enable input is not
selected, the ULTRA Plus or IQ will be enabled on power-up and can be enabled and disabled ONLY by
the ENABLE and DISABLE Host Language Commands or by ENABLE and DISABLE instructions in
a program.

When Enable Turns ON.
When the Enable input turns ON, the ULTRA Plus or IQ will do exactly the same procedure as when
the ENABLE instruction is executed. Refer to Part 5

Language Reference, ENABLE, for more

detailed information.

When Enable Turns OFF
When the Enable input turns OFF, the ULTRA Plus or IQ will do exactly the same Procedure as when
the DISABLE instruction is executed plus these additional actions.

If a program is running, the program is aborted.

If a program was running AND outputs have default assignments to turn OFF (ON) when a pro-
gram ends, they will turn OFF (ON). See Parameters, Default Outputs.

If assigned, the Program Running output will turn OFF.

Refer to Part 5

Language Reference, DISABLE, for more detailed information.

Name

Description

1

1.

Refer to

Part 5

Language Reference detailed information.

IF ELSE

IF I1 = ON

If input is ON then do something

WHILE

WHILE I1 = ON

While input is ON do something

DO WHILE

DO

WHILE I1 = ON Do something while input is ON

WAIT

WAIT I1 = ON Wait until input is ON

Fn = In

F1 = I1

Set Flag equal to input

Sn: IF

S1: IF I1 = ON Scanned Event if input is ON

Advertising