Shutdown, Typed read (read block) – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 115

Advertising
background image

7–28

Communication Commands

Publication 1770Ć6.5.16 - October 1996

shutdown

Asks the interface module to initiate either a PLC-3 shutdown
(if the computer has download privileges) or a freeze on file
allocations (if the computer has upload privileges). The computer
cannot issue this command until it has successfully transmitted an
upload or download request to the module.

CMD

0F

STS

FNC

07

TNS

C

CMD

4F

STS

TNS

R

EXT

STS

The EXT STS field may be attached to the reply packet only when there is an error.

DST SRC

SRC DST

typed read (read block)

Reads a block of data from the processor starting at the PLC-5
system address plus the packet offset.

CMD

0F STS

FNC

68

TNS

C

CMD

4F STS

TNS

R

TNS

DST SRC

SRC DST

A

Packet

Offset

PLCĆ5 sys. address

Total

Trans

B

A - Type/data parameter. Used to specify

type of data you are writing or reading

size in bytes of each piece of data you are writing or reading

B - Data (up to 240 bytes minus the number of bytes used in the type/data parameter).
An EXT STS byte will replace A and B if there is an error. The first byte of the type/data parameter is the

flag byte, and has this format:

Size - number of elements to read from the specified system address.

Size

Bit

7

6

5

4

3

2

1

Flag Byte

Data Type ID

Data Type Size

ID

format

field

Size

format

field

ID value field

Size value field

0

PLCĆ3

PLCĆ5

PLCĆ5/VME

SLC 5/03

SLC 5/04

Advertising