Rockwell Automation 1779-KP3R DATA HIGHWAY II User Manual

Page 46

Advertising
background image

Programming

Chapter 3

3Ć11

The following list shows the possible ways you form memory addresses:

$ wordaddr
$ wordaddr/bit
$ wordaddr,size
$ fileaddr:wordaddr
$ fileaddr:wordaddr/bit
$ fileaddr:wordaddr,size
$ extaddr
& imblock

Important: The numbers you enter into the fields when addressing
memory are interrupted as decimal (base 10) unless you indicate that they
are octal (base 8). You can specify an octal number by starting it with a
zero. For example, 17 is interpreted as decimal 17, but 017 is interpreted
as octal 17 (or decimal 15). In all of the examples that follow, we will use
a leading zero to indicate octal addresses. Some addresses, however, are
always interrupted as octal.

Addressing a Word

This section provides examples of addressing a word in each PLC–2,
PLC–3, and PLC–5 memory.

To address a

single word in:

Use this format:

Examples:

PLC-2 memory

$wordaddr

$010 (specifies the word at address 010)

PLC-3 memory

$fileaddr:wordaddr

or

$extaddr

$B111:1 (specifies word 1 of binary file 111)

$E3.1.8.111.0.1 (extended addressing)

PLC-5 memory

$extaddr

$E0.10.2.0 (specifies word 2 or integer file 10)

Advertising
This manual is related to the following products: