beautypg.com

Change mode, Close file – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 92

background image

7–5

Communication Commands

Publication 1770Ć6.5.16 - October 1996

change mode

MicroLogix 1000
Changes the mode of the MicroLogix processor.

FNC

3A

DST SRC

SRC DST

C

R

Mode

xxh

EXT

STS

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

Mode - 01 = change to Program mode (REM program)

02 = change to Run mode

TNS

TNS

STS

STS

CMD

0F

CMD

4F

SLC 500
Changes the mode of the SLC processor. For an SLC 5/03 or
SLC 5/04 processor, change mode only works when the keyswitch is
in the REM position.

FNC

80

DST SRC

SRC DST

C

R

Mode

xxh

EXT

STS

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

Mode - 01 = change to PROGRAM mode (REM program)

06 = change to RUN mode (REM Run)

07 = change to TESTĆCont. Scan Mode (REM Test)

08 = change to TESTĆSingle Scan Mode (REM Test)

09 = change to TESTĆDebug Single Step (REM Test).

SLC 500 and SLC 5/01 processors do not support 09 mode

TNS

TNS

STS

STS

CMD

0F

CMD

4F

close file

Closes a file in an SLC 500 processor. When closing program file 0
(in an SLC 500, SLC 5/01, or SLC 5/02 processor) after it has been
opened for write, the SLC processor calculates the LRC for the
directory, data and internal files.

STS

FNC

82

TNS

DST SRC

STS

CMD

4F

SRC DST

Tag

C

R

EXT

STS

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

CMD

0F

MicroLogix 1000

SLC 500

SLC 5/03

SLC 5/04

SLC 500

SLC 5/03

SLC 5/04