Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 129

Advertising
background image

RelayĆLike Instructions

Chapter 9

9-3

Addresses

The processor scans the status of inputs and controls output devices. It
does not go to the input or output terminals to see if outputs are on or off.
Rather, it checks the status of the input and output devices by scanning
corresponding bits in the input and output image area of the data table.
The processor uses addresses to refer to words and bits in the data table.

For addressing purposes, I/O modules in a given I/O rack are organized
into “module groups.” Thus, the module group number of an individual
I/O module depends only on the I/O slot the module occupies. The first
module group in any I/O chassis is always module group 0. Module groups
can be easily identified by module group labels on the latches on top of the
I/O chassis.

Each input and output bit has a five-digit address. If you need a bit address
with more than 5 digits, use the EXPAND ADDR key. Press this key and
then enter the address.

Word addresses, unlike bit address, do not require the EXPAND ADDR
key. Instead, use leading zeros when necessary.

Any time a digit you are entering is not within the proper limits, the
message

DIGIT OUT OF RANGE

is displayed. The cursor remains in the

same position until you enter a valid digit.

You can use seven programming instructions to write a program. These
instructions are divided into three categories: bit examining, bit
controlling, and branch instructions.

These instructions examine the status of bits in any data table area except
processor work areas. When an examine on or examine off instruction is
given an address in the I/O image table, the instruction can indirectly
examine the status of a corresponding I/O device. If the image table bit is
on, the condition is true. The I/O device and the I/O image table bit have
the same address.

Bit Examining

Advertising