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

Page 157

Advertising
background image

Binary Command Language

Appendix A

A-29

Description: The processor only recognizes the write block physical
command when in the shutdown mode. To put the processor into the
shutdown mode, use the shutdown command (06 hex). The following
example command block uses the shutdown command:

STX

02

ISC

04

SIZ

01

CMD

06

ETX

03

CHK

10

The response to a shutdown command is a success response code (00 hex).
Any other response indicates that the processor did not correctly receive
the transmission.

The following example command block uses the write block
physical command:

STX

02

ISC

05

SIZ

0B

CMD

08

01

20

00

01

02

DAT

00

19

05

20

01

ETX

03

CHK

80

The data bytes store:

least significant byte of the address (01 hex)
second byte of the address (20 hex)
third byte of the address (00 hex)
most significant byte of the address (01 hex)
least significant byte of the address (02 hex)
most significant byte of the address (00 hex)
least significant byte of first data word (20 hex)
most significant byte of second data word (01 hex)

The processor response to a write block physical command is the same as
the response to a write block command (see the section entitled write
block command).

After the download operation is complete, send a reset command (09 hex)
to exit the shutdown mode. The following command block uses the
reset command:

STX

02

ISC

06

SIZ

01

CMD

09

ETX

03

CHK

15

The processor does not issue any response to a reset command, so just
continue communication by sending the next command. However, the
reset command resets the sequence counts.

Advertising