Interrupt subroutine (int) – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 245

Advertising
background image

Chapter 13
Using Application Specific Instructions

13–19

Entering the Instruction

You enter the instructions from within the program monitor functional area.
The following items apply when entering the instructions:

Whenever you see asterisks on the display, the HHP is waiting for data
entry (i.e., a number).

You can return to previously entered operands by pressing this key:

Then if you want to edit that operand, press

DEL

or

FUN-DEL

and enter

new parameters. Press

ENT

to accept the operand and move on to the next

one. Once the entire instruction is entered, if you want to edit the
instruction’s parameters you must go into the overwrite mode. (See page
17–4.)

P 0 0 9

S T S

F I L E

5

P 0 0 9

S T S

T I M E

1 4 0

This instruction serves as a label or identifier of a program file as an interrupt
subroutine (INT label) versus a regular subroutine (SBR label).

This instruction has no control bits and is always evaluated as true. Use of
this instruction is optional; however, we recommend using it.

Important: The instruction must be programmed as the first instruction of

the first rung of a subroutine. (Since it must be the first
instruction on the rung, the INT instruction is also known as
LD INT.)

Entering the Instruction

You enter the instruction from within the program monitor functional area.

P 0 0 9

I N T

7

ENT

5

1

FUN

To enter the function code, press:

INTERRUPT SUBROUTINE

INT

Execution Times (

µ

sec) when:

True

False

1.45

0.99

Ladder representation:

Interrupt Subroutine (INT)

8

ENT

5

1

FUN

To enter the function code, press:

Advertising