Plc-5/250 logical binary addressing – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 228

Advertising
background image

13–13

PLC Addressing

Publication 1770Ć6.5.16 - October 1996

PLCĆ5 Memory (for use with figures on page 13-12 )

level 1

level 2

level 3

level 4

0 (data table) file number

element number

subĆelement number

Default files

0 - 999

timer/counter

control

0 output

0 control

0 control

1 input

1 preset

1 length

2 status

2 accumulated

2 position

3 binary

4 timer

PD

BT

5 counter

0, 1 control

0 control

6 control

2 SP

1 RLEN

7 integer

4 Kp

2 DLEN

8 float

6 Ki

3 data file #

8 Kd

4 element #

9 - 999 user config

26 PV

5 rack/grp/slot

MG

0 control

1 error

2 RLEN

3 DLEN

All PD values are floating point values, so they are two words long.

$ N 10 :

Displayed logical

Delimiter

File number

FileĆtype identifier

Element number

360

address symbol

PLC-5/250 Logical Binary Addressing

Byte

Contents

1

mask byte

The LSB determines whether the module ID byte is specified or use the

default value, which is always 0; bits 1 through 7 are associated with levels

one through seven of a PLCĆ5/250 extended address.

You must always specify the last level of an address (even if it is a 0) so that

the actual number of levels in a particular address can be determined.

If a bit is set to 0, then a default value is assumed for the corresponding

address level. If a bit is set to 1, then you must specify a value for the

corresponding address level in the bytes which follow. Only those address

levels and the module ID byte with a 1 in the corresponding mask bit are

encoded. For example:

01111111 means that the module ID byte and 7 levels are specified.

00111010 means the module ID byte uses the default value. There are 7

levels in the address, and level 2 uses the default value (the default is

always 0).

This byte is required.

2

the module ID byte if there is a 1 in the LSB of the mask byte; otherwise, it

contains the first level of the address not using the default value

Memory Type

Module ID Byte Value

System memory (RM)

0

Module memory (LP)

(class x 10) + pushwheel number

where LP class = 3

I/O memory (RS)

1

This byte is required.

3

the first level of the address not using the default value if the module ID byte is

encoded. Otherwise, it contains the second level of the address not using the

default value.

4

the next level of the address not using the default value.

n

up to 7 possible levels of addressing.

Advertising