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

Page 156

Advertising
background image

Binary Command Language

Appendix A

A-28

Example Upload

The following sequence of command and response blocks performs an
upload. The upload includes 4DD (hex) words, and is performed in 10
(hex) word blocks. All values are shown in hexadecimal.

STX

02

ISC

SIZ

07

CMD

07

00

00

00

CHK

DAT

01

10

00

ETX

03

Device:

STX

02

OSC

SIZ

22

RSP

00

10

CHK

DAT

...data...

ETX

03

PLCĆ3:

STX

02

ISC

SIZ

07

CMD

07

10

00

00

CHK

DAT

01

10

00

ETX

03

Device:

STX

02

OSC

SIZ

22

RSP

00

10

CHK

DAT

...data...

ETX

03

PLCĆ3:

STX

02

ISC

SIZ

07

CMD

07

20

00

00

CHK

DAT

01

10

00

ETX

03

Device:

STX

02

OSC

SIZ

22

RSP

00

10

CHK

DAT

...data...

ETX

03

PLCĆ3:

STX

02

ISC

SIZ

07

CMD

07

C0

04

00

CHK

DAT

01

10

00

ETX

03

Device:

STX

02

OSC

SIZ

22

RSP

00

0D

48

CHK

DAT

...data...

ETX

03

PLCĆ3:

STX

02

ISC

SIZ

07

CMD

07

D0

04

00

CHK

DAT

01

0D

00

ETX

03

Device:

STX

02

OSC

SIZ

24

RSP

00

10

CHK

DAT

...data...

ETX

03

PLCĆ3:

Write Block Physical

Hex: 08

Parameters: Physical address of the first location in processor memory to
receive data, number of words in the block of data, data to write into
processor memory

Advertising