beautypg.com

Custom configuration status (ccs) – Rockwell Automation 1771-SPI,D17716.5.122 SPI PROTOCOL INTERFACE User Manual

Page 32

background image

Defining Command and Status Blocks

Chapter 3

3-10

The SPI module responds to the custom configuration block (CCB) by
reflecting it back to the PLC processor as custom configuration status
(CCS) unless the SPI module detects:

an error in the CCB
it cannot store the CCB

Upon detecting either of the above, the SPI module inserts error
information in the CCB and returns it as the CCS as follows:

sets the configuration error CE bit to 1
loads fault diagnostics into word 3

Table 3.I

Bit/Word Map of Custom Configuration Status (CCS)

Word

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

1

CE

CA

DC

Device Identification

2

Number of Numeric Setpoints or 0

Number of BitĆcommand Words or 0

3

Number of BitĆstatus Words or Fault Diagnostics

Number of ASCII Strings or Fault Diagnostics

4

Number of ASCIIĆstatus Strings or 0

Number of NumericĆstatus Words or 0

5

CMD1 (for example, 20)

CMD2 (for example, 49)

:

CMD1 (for example, 20)

CMD2 (for example, 31)

:

CMD1 (for example, 20)

CMD2 (for example, 22)

64

CMD1 (for example, 20)

CMD2 (for example, 44)

Custom Configuration

Status (CCS)