beautypg.com

Rockwell Automation 1775-S5_SR5,D17756.5.5 User Manual PLC-3 FAMILY I/0 User Manual

Page 163

background image

Binary Command Language

Appendix A

A-35

The processor responds to the LIST command with one of the following
response codes:

Response Codes

Hex

Description

00

Success

01

Size too big

Both responses are followed by ASCII data in the data buffer. The size too
big response indicates that the response contains more than 64 words. In
this case, the processor continues to send response block until the entire
response has been transmitted. All response blocks except one containing
the last block of data use the size too big response. The last block uses the
success response.

The following example response block shows a successful LIST command:

STX

02

OSC

32

SIZ

10

RSP

00

DAT

...ASCII data...

ETX

03

CHK

The first LIST command which you send should not have any data in the
command buffer. The processor response to this first command contains
the initial data which appears on the terminal CRT after you enter the LIST
command. Other LIST commands generally contain data in the
command block.

Set CPU Mode Command

Hex: 2A

Parameters: Flag byte

Description: You can change the processor operating mode with the set
CPU mode command. The flag byte allows you to change the operating
mode to program load, test, or run (Figure A.5). It also allows you to keep
other remote devices from communicating with the processor by setting the
remote lock bit.

Important: The remote lock bit is not the same as remote enable (which is
set in LIST).