beautypg.com

Chapter 3 – Rockwell Automation 1771-SPI,D17716.5.122 SPI PROTOCOL INTERFACE User Manual

Page 27

background image

Defining Command and Status Blocks

Chapter 3

3-5

Table 3.D

Word/Bit Definitions of the System Status Block (SYS)

Word

Number

Bit

Number

Title

Range / Description

0-7

Block ID

11111111 SYS block ID

Mirrors the MCC

when the entry is valid.

8

Data Format

DF

0 = decimal data

Mirrors the MCC

when the entry is valid.

9-10

Numeric

Format

NF

00 = floating point

Mirrors the MCC

01 = decimal data

when the entry is valid.

1

11

Command not

Supported

CNS

0 = SPI module reports Command not supported errors.

1 = SPI module does NOT report these errors.

Mirrors the MCC

when the entry is valid.

12-14

Baud Select

Bits 14 13 12 Baud

0 0 0

1200

0 0 1

2400

.

0 1 0

4800

Mirrors the MCC

0 1 1

9600

when the entry is valid.

1 0 0 19200

15

Power Up

PU

0 = expecting MCC block, or invalid MCC

Note: Tells the processor that the SPI

1 = MCC block stored OK

module stored a valid MCC block.

0-3

Number of

MCC pages

0 = one page

Mirrors the MCC

9 = 10 pages

when the entry is valid.

2

4-7

Page Number 0 = page 1

Mirrors the MCC

9 = page 10

when the entry is valid.

8-15

Device Type

returned with word 3 for invalid entry in the MCC polling queue list, or zero if MCC is OK

3

all

Diagnostic

Word

returned to help you diagnose an invalid MCC, or zero if MCC is OK

4

0-7

Device Address returned with word 3 for invalid entry in the MCC polling queue list, or zero if MCC is OK

4

8-15

Zone Address returned with word 3 for invalid entry in the MCC polling queue list , or zero if MCC is OK

5 thru 18

all

SPI Network

(OK)

0 = device inactive on SPI network

Note: One bit per device starting with

1 = communication is OK

word 5 bit 00 = device address 32 up to

word 18 bit 15 = device address 255