Set cpu mode – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 113

Advertising
background image

7–26

Communication Commands

Publication 1770Ć6.5.16 - October 1996

set CPU mode

Sets the operating mode of the processor at the next I/O scan.
The operating mode is set to the mode indicated in the flag byte
(shown below). A “no privilege” error is returned if the requester
does not have the privilege of placing the host in Download mode.
This error occurs when:

the processor is not in Remote mode (must be in Remote Program
mode, Remote Run mode, or Remote Test mode)

the processor is being edited

some other node is already downloading to the processor

CMD

0F STS

FNC

3A

TNS

C

CMD

4F STS

TNS

R

DST SRC

SRC DST

EXT

STS

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

A

7 6 5 4 3 2 1 0
0 0 0 0 0 0 1 0

unused determine which operating mode is selected

or, for some products, remote lock

For this operating mode

A is

Program/Load (processor idle, I/O disabled)

00000000

Remote Test (processor scanning, I/O disabled)

00000001

Remote Run (processor scanning, I/O enabled)

00000010

No change (only remote bit affected)

00000011

PLCĆ5

Advertising