beautypg.com

Chapter 4, Blank ccb worksheet for your application, Ccb worksheet – Rockwell Automation 1771-SPI,D17716.5.122 SPI PROTOCOL INTERFACE User Manual

Page 41

background image

Creating Command and Status Blocks

Chapter 4

4-5

Blank CCB Worksheet for Your Application

Write your own entries in this blank worksheet to suit your application.

Important: Because we cannot predict the number of bit, numeric, or ASCII
entries in your application, we give you a blank word column and extra rows
for each type of entry. Enter the number of the file word for each entry, and
use blank rows as needed. Enter device ID and data in the formats that you
specified in MCC word 1 bits 8-10. See notes [1] and [2] below.

CCB Worksheet

Word Write your entries in this column.

1

device ID: name ___________________________________ code ____________

2

# numeric preset words = _____

# bitĆcommand words = ______

3

# bit status words = _______

# ASCII strings = ______

4

# ASCII status words = _______

# numeric status words = ______

Word Write your entries in this column. [1]

CMD1 CMD2

5

bit command 1

numeric preset 1

ASCII strings 1

Word Write your entries in this column. [1] [2]

CMD2 CMD1

bit status word 1

numeric status word 1

ASCII status word 1

[1] Leave no blank words between groups of entries. If not using a group, put the next group in its space.

[2] Status words that you specify here are returned in CDS whenever the SPI module polls its devices.