File write (write file), Get edit resource – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 98

Advertising
background image

7–11

Communication Commands

Publication 1770Ć6.5.16 - October 1996

file write (write file)

Writes data, starting at a file symbol or block address. This starting
address must point to a file of words.

STS

FNC

03

CMD

0F

TNS

DST SRC

Logical Address

(2 Ć 51 bytes.)

Packet

Offset

Total

Trans

Data

(up to [239 bytes - the PLCĆ3 logical address length]; must be an even number)

C

This reply is the same as the reply packet for all unprotected,
protected, and privileged bit writes.

STS

CMD

4F

TNS

SRC DST

EXT

STS

R

The EXT STS field may be attached to the reply packet if an error occurs.

get edit resource

Secures the edit resource (sole access) for the programming device.
Once a programming device has obtained the edit resource, another
node cannot write to or modify the device.

CMD

0F

STS

FNC

11

TNS

C

CMD

4F STS

TNS

R

DST

SRC

LNH

HI

DST

EXT

STS

PSN

PSN

LNH

LO

PSN SRC PSN

The EXT STS field may be attached to the reply packet only when there is an error.
LNH - length of the optional portion of the reply packet in bytes.

First four words of get edit resource

The first four words are currently unused and unexamined.
To assure compatibility with any future use of these bytes, they
should be initialized to 0. DST, PSN, and SRC are included for
reference only.

For this processor

This access is cleared by

SLC 500, SLC 5/01, SLC 5/02

any node sending a return edit resource

SLC 5/03, SLC 5/04

the programming device or via a timed mechanism

internal to the processor sending a return edit

resource

PLCĆ3

PLCĆ5/250

PLCĆ5

PLCĆ5/250

(receive only)

PLCĆ5/VME

SLC 500

SLC 5/03

SLC 5/04

"

Advertising