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

Creating Command and Status Blocks
Chapter 4
4-2
Use this worksheet for the MCC to write down:
data format of all addresses and data
communication rate of the SPI link
number of pages of the MCC (above 1 page of 64 words)
queue order in which the SPI module will poll devices on the link
device ID and address code of devices in the polling queue list
Example MCC Worksheet
Word
Write your entry in this column. (example in italics)
Notes
1
link baud = 9600
address format = integer
numeric format = integer
Enter this data by setting bits.
See MCC in chapter 3.
2
# of MCC pages above 1 = 0
One MCC page = 64 words.
3Ć4
zero
5 & 6
1st device Dryer
ID = 22 (00100010) Addr = 20
Polling Order:
Enter types of devices ID and
7 & 8
2nd device GP Temp Controller
ID = 27 (00100111) Addr = 21
Enter types of devices, ID and
address codes in the order
9 & 10
3rd device Melt Pump
ID = 24 (00100100) Addr = 22
address codes in the order
you want them polled.
11 & 12 4th device Loader
ID = 23 (00100011) Addr = 23
You may enter the same
device more than once if you
:
device more than once if you
want it polled more frequently.
last pair
or
63, 64
SYS returned?
no SYS returned after polling
Enter SYS if you want SYS
returned to the processor after
each polling sequence.
Module Configuration
Command Block, MCC, to
Configure the SPI Module