Return edit resource, Set data table size – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 111

Advertising
background image

7–24

Communication Commands

Publication 1770Ć6.5.16 - October 1996

return edit resource

Returns the edit resource (sole access) of the processor when editing
is completed. When you return the edit resource, the programming
device can be written to or modified.

CMD

0F

STS

FNC

12H

TNS

C

CMD

4F

STS

TNS

R

DST

SRC

LNH

HI

DST

EXT

STS

PSN

PSN

LNH

LO

PSN SRC PSN

LNH - length of the optional portion of the reply packet in bytes.

First four words of return 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 5/00, SLC 5/01, SLC 5/02

any node sending this command

SLC 5/03, SLC 5/04

the programming device or via a timed mechanism

internal to the processor sending this command

set data table size

Sets the data table size for the PLC-2 processor. Use this command
immediately before any physical writes on the PLC-2 processor.
The enter download mode command must precede this command.

C

CMD

06

STS

FNC

08

TNS

DATA

R

CMD

46

STS

TNS

DST SRC

SRC DST

DATA - enter the number of bytes of memory that you want to allocate to the PLCĆ2

data table. Since PLC words are two bytes long, the DATA value is double the

number of words in the PLCĆ2 data table.
If t 512 bytes, the number must be a multiple of 4.

If w 512 bytes the number must be a multiple of 128.
DATA is also equivalent to the physical address of the start of the processor's

program memory. To determine allowable data table sizes, see the appropriate

programming manual

Important: Using a data table size that is larger than the processor’s

available memory causes a PLC-2 fault the next time
the processor is put into Run or Remote Run mode.

PLCĆ5

PLCĆ5/VME

SLC 500

SLC 5/03

SLC 5/04

"

PLCĆ2

Advertising