Rockwell Automation 1775-KA PLC-3 Communication Adapter Module User Manual User Manual

Page 179

Advertising
background image

Message Formats

Appendix A

AĆ17

Reply Format:

This is the same as the reply packet format for all writes.

A. Format when successful execution.

DLE

SRC

STX

DST

C

4F

S

TNS

MD

TS

TNS DLE ETX

BCC

B. Format when reporting an error

DLE

SRC

STX

DST

C

4F

S

TNS

MD

TS

TNS

DLE ETX

BCC

ETX

STS

Where the extended status byte is optional.

File Read

Use this read command with either a file symbol or a block address for a
starting address. This starting address points to a file of words. This read
command reads a block of data. You must read the entire file. The file
size must equal the exact size of the file or an error will be returned. The
function code is 4.

Command Format:

A. File symbol address

DLE

SRC

C

0

S

TNS

MD

F

TS

TNS

STX

FNC PACKET

04

DLE ETX

BCC

00

SIZE

OFFSET

TOTAL

TRANS

00

DST

00

ASCII symbol

(8 characters max)

B. Logical address

DLE

SRC

C

0

S

TNS

MD

F

TS

TNS

STX

FNC PACKET

04

DLE ETX

BCC

SIZE

OFFSET

TOTAL

TRANS

00

DST

PLC-3 logical address

(2-51 bytes)

Advertising