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

Page 181

Advertising
background image

Message Formats

Appendix A

AĆ19

File Write

Use this write command with either a file symbol or a block address as a
starting address. This starting address points to a file of words. This
write command can write 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 3.

Command Packet Format:

A. File symbol address

DLE

SRC

C

0

S

TNS

MD

F

TS

TNS

STX

FNC PACKET

03

OFFSET

TOTAL

TRANS

00

DST

ASCII symbol

(8 characters max)

00

ASCII s

(8 characters max)

DLE ETX

BCC

DATA - Max of 244 bytes or 114 words

B. Logical address

DLE

SRC

C

0

S

TNS

MD

F

TS

TNS

STX

FNC PACKET

03

DLE ETX BCC

OFFSET

TOTAL

TRANS

DST

DATA - Max length is 239 bytes minus

PLC-3 logical address

(2-51 bytes)

the length of the PLC-3 logical address

(must be an even number of bytes)

Reply Format:

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

A. Format when the command was successfully executed

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

Advertising