beautypg.com

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

Page 46

background image

Creating Command and Status Blocks

Chapter 4

4-10

Blank CDB for Your Application

Copy this worksheet as needed.
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(s) of the file word(s) for each entry,
and use blank rows as needed. Enter data, ID, and addresses in the formats
that you specified in MCC word 1, bits 8-10. See notes [1] and [2] below.

CDB Worksheet

Word Write your entries in this column.

1

device ID = _________

2

device address = ________

3 & 4 zero
5

bit command 1 [1]
bit command 2
bit command 3
numeric preset 1 [1]
numeric preset 2
numeric preset 3
numeric preset 4
numeric preset 5
numeric preset 6
numeric preset 7
numeric preset 8
numeric preset 9
ASCII string 1 [1] [2]

[1] Your CDB entries here must match identically the command codes you entered in the CCB:

entry for entry, in the same order, with no blank words

[2] One character per byte, four characters maximum.