Binary command language appendix a – Rockwell Automation 1775-S5_SR5,D17756.5.5 User Manual PLC-3 FAMILY I/0 User Manual

Page 164

Advertising
background image

Binary Command Language

Appendix A

A-36

Figure A.5

CPU Mode Flag Byte

Bit

7

6

5

4

3

2

1

0

12137

Unused Must = 0

Mode Select

Remote

Lock

00 - Program Load

01 - Test

10 - Run

11 - No Change

0 - Remote Access Allowed

1 - Remote Access Not Allowed

The following example command block resets the remote lock bit
(allowing remote access to other devices) and selects run mode:

The data byte stores the flag byte (02 hex).

The processor responds to a set CPU mode command with one of the
following response codes:

STX

02

ISC

03

SIZ

02

CMD

2A

ETX

03

CHK

36

DAT

02

Response Codes

Hex

Description

00

Success

06

Access not allowed

0F

No privilege

The following example response block shows a successful set CPU
mode command:

STX

02

OSC

11

SIZ

01

RSP

00

ETX

03

CHK

17

Advertising