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

Page 129

Advertising
background image

Message Packet Formats

Chapter 5

5-50

For example, if you wanted to set the processor to Run mode, your flag
byte would look like this:

Bit 76543210

00000010

Typed Read and Typed Write

Use these commands to:

read data from the processor starting at the PLC-5 system address plus

the packet offset or

write data to the processor starting at the PLC-5 system address plus the

packet offset.

The type of data sent with the Typed Write command must match the file
type being written. It is the responsibility of the host to do data type
conversions.

The format for the Typed Read message is as follows:

TNS

STS

CMD

0F

SRC

DST

FNC

68

PACKET

OFFSET

TOTAL

TRANS

SIZE

PLC-5 SYSTEM

ADDRESS

Command Format:

TNS

STS

CMD

4F

SRC

DST

1

1

Type/Data Parameter
Data Bytes — This can be up to 240 bytes long
(including the size of the PLC-5 system address).

2

2

Reply Format:

Advertising