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

Page 107

Advertising
background image

Chapter 6
Programming Overview

6–10

Addressing File Instructions – Using the File Indicator (#)

The file instructions shown below manipulate data table files. These
instructions are addressed with the # sign. They store an offset value in word
S24 (index register), just as with indexed addressing discussed in the last
section.

COP
FLL
BSL
BSR
FFL
FFU

Copy File
Fill File
Bit Shift Left
Bit Shift Right
(FIFO Load)
(FIFO Unload)

LFL
LFU
SQO
SQC
SQL

(LIFO Load)
(LIFO Unload)
Sequencer Output
Sequencer Compare
Sequencer Load

When entering any of the instructions shown above, the # character is
automatically inserted for you.

!

ATTENTION: If you are using file instructions and also
indexed addressing, make sure that you monitor and/or load the
correct offset value prior to using an indexed address. Otherwise,
unpredictable operation could occur, resulting in possible
personal injury and/or damage to equipment.

Entering Numeric Constants

You can enter numeric constants directly into many of the instructions you
program. They are used in place of data file elements.

The range of values for most instructions is –32,768 through +32,767. These
values may be entered and displayed in one of several radixes:

Decimal

Hexadecimal

Binary

The radix default that is used is determined by the operand (e.g., presets are
always displayed as decimal values and masks are always displayed as
hexadecimal values).

Advertising