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

Page 161

Advertising
background image

Binary Command Language

Appendix A

A-33

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

Response Codes

Hex

Description

00

Success

01

Size too big

02

Available - address specified already exists

04

Address could not exist - invalid values

08

Address insufficient - exists, but no specific to word level

0F

No privilege

The following example response block shows a successful
create command:

STX

02

OSC

11

SIZ

01

RSP

00

ETX

03

CHK

17

Delete Command

Hex: 18

Parameters: Address of the first word, structure, file, or section to delete

Description: The delete command deletes or reduces sections in PLC-3
memory. If you specify a word, structure, or file, the processor deletes all
higher addresses at the same level.

For example, if integer file 5 contains words 0 thru 100, deleting word 10
also deletes word 11 thru 100. On the other hand, deleting the integer
section does not delete any other section.

The following example command block deletes from integer file 5 to the
end of the integer section:

STX

02

ISC

0D

SIZ

04

CMD

18

0C

DAT

05

05

ETX

03

CHK

44

The data bytes store:

address mask (0C hex)
first address byte 905 hex)
second address byte (05 hex)

Advertising