Rockwell Automation 1770-KF2 Data Highway or Highway Plus Interface Module User Manual User Manual

Page 136

Advertising
background image

Message Packet Formats

Chapter 5

5-57

The packet offset and total transaction are two bytes each, while the size
is only one byte. The format is as follows:

TNS

STS

CMD

0F

SRC

DST

FNC

01

PACKET

OFFSET

TOTAL

TRANS

SIZE

PLC-5 SYSTEM

ADDRESS

TNS

STS

CMD

4F

SRC

DST

1

This byte will be the Extended Status byte if there is an error; otherwise it will be

1

DATA (Up to 244 Bytes)

data at “address + packet offset,” first word, low byte.

Command Format:

Reply Format:

The STS and EXT STS bytes contain status and error code information.
For more information on these bytes, see the “Error Codes” section in this
document.

Word Range Write

This command is a write command whose starting address is either a
logical binary address or a logical ASCII address with up to 51 bytes of
specification. This starting address must point to a word or file.

A special case of this command is the single-word write, where the data
field is only one word long.

The packet offset and total transaction are two bytes each. The format is
as follows:

TNS

STS

CMD

0F

SRC

DST

FNC

00

PACKET

OFFSET

TOTAL

TRANS

PLC-5 SYSTEM

ADDRESS

TNS

STS

CMD

4F

SRC

DST

EXT

STS

1

Data Bytes — This can be up to 239 bytes long

1

(including the size of the PLC-5 system address).

Command Format:

Reply Format:

Advertising