Protected typed file read, Protected typed file write – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 103

Advertising
background image

7–16

Communication Commands

Publication 1770Ć6.5.16 - October 1996

protected typed file read

Reads data from an open file in a MicroLogix 1000 or an SLC 500
processor.

C

CMD

0F STS

TNS

R

STS

TNS

CMD

4F

DST SRC

SRC DST

FNC

A7

File

Type

Tag

Offset

DATA

Size

Offset is the word offset into the file (low byte, then high byte).
Size is the size of data to read:

For this processor

Valid range for Size (in bytes)

MicroLogix 1000

0Ć248

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

0Ć96

SLC 5/03 SLC 5/04

0Ć225 with internet protocol

SLC 5/03, SLC 5/04

0Ć236 without internet protocol

protected typed file write

Writes data to an open file in a MicroLogix 1000 or an SLC
processor. For MicroLogix 1000 processors, this command can be
used to update the Terminal ID by writing two bytes. (To do this,
size = 02h, the tag = 4176, the offset = 0000, the file type = 90, and
the two bytes of data contain the terminal ID, low byte first.)

C

CMD

0F STS

TNS

R

STS

TNS

CMD

4F

DST SRC

SRC DST

FNC

AF

File

Type

Tag

Offset

Size

Data

EXT

STS

Offset is the word offset into the file (low byte, then high byte).
Size is the size of data to read:

For this processor

Valid range for Size (in bytes)

MicroLogix 1000

0Ć241

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

0Ć89

SLC 5/03 SLC 5/04

0Ć218 with internet protocol

SLC 5/03, SLC 5/04

0Ć229 without internet protocol

MicroLogix 1000

SLC 500

SLC 5/03

SLC 5/04

MicroLogix 1000

SLC 500

SLC 5/03

SLC 5/04

Advertising