
Defining Command and Status Blocks
Chapter 3
3-7
Table 3.F
Word/Bit
Definitions of the Custom Configuration Block (CCB)
Word
Number
Bit
Number
Title Range Notes
0-7 Device ID 00100000 to 11111110 Use the SPIspecified device ID.
1
8-10
Determine
Configuration
DC
(IDspecific)
100 = Store configuration >
101 = Read configuration >
110 = Overwrite configuration >
111 = Clear configuration >
If device ID matches a stored ID, SPI returns an error.
If SPI finds no matching ID, it returns an error.
If SPI finds matching ID, new config overrides old.
SPI returns a flag, and ignores all other data in CCB.
11
Clear All
CA
0 = No action
1 = Clear all configurations
The SPI module clears all stored configurations.
12-15 Not used
0-7
Number of
Bitcommand
Words
0 to 60 decimal data
Tells the SPI module how many words containing bit
commands to expect in the CDB.
2
8-15
Number of
Numeric
Setpoints
0 to 30 decimal data
Tells the SPI module how many setpoints and/or
alarm limits to expect in the CDB.
3
0-7
Number of ASCII
Strings
0 to 30 decimal data
Tells the SPI module how many ASCII strings to
expect in the CDB.
8-15
Number of
Bitstatus Words
0 to 30 decimal data
Tells the SPI module how many words containing
status bits to return to the processor in the CDS.
0-7
Number of
Numericstatus
Words
0 to 30 decimal data
Tells the SPI module how many numeric status words
such as temperature or flow to return in the CDS.
4
8-15
Number of
ASCIIstatus
Strings
0 to 30 decimal data
Tells the SPI module how many ASCII strings such as
SPI Revision to return to the processor in the CDS.
Starting
8-15 CMD1 starts at 00100000 20
SPI code pair for the specified
bit command word sent to the SPI module
at
word 5
0-7
CMD2 starts at 00100010 22
bitcommand word sent to the SPI module.
For example: 20 49 for Mode, Machine
8-15 CMD1 starts at 00100000 20
SPI code pair for the specified
numeric setpoint sent to the SPI module
Note 1
0-7
CMD2 starts at 00100010 22
numeric setpoint sent to the SPI module.
For example: 20 31 for Temperature Setpoint
8-15 CMD1 starts at 00100000 20
SPI code pair for the specified
ASCII string sent to the SPI module
Note 1
0-7
CMD2 starts at 00100010 22
ASCII string sent to the SPI module.
For example, 20 22 for SPI Revision
8-15 CMD1 starts at 00100000 20
SPI code pair for the specified
bit status word sent to the processor
Note 1
0-7
CMD2 starts at 00100010 22
bitstatus word sent to the processor.
For example, 20 44 for Status, Machine
8-15 CMD1 starts at 00100000 20
SPI code pair for the specified
numeric status word returned to the processors
Note 1
0-7
CMD2 starts at 00100010 22
numeric status word returned to the processors.
For example, 20 72 for Process Temperature
8-15 CMD1 starts at 00100000 20
SPI code pair for the specified
ASCII status word returned to the processor
Note 1
0-7
CMD2 starts at 00100010 22
ASCII status word returned to the processor.
For example, ?? ??
Note 1: Load
commandcode pairs in the order given. Leave no blank words. If not using a specified type of command code, the SPI module
expects the next type instead. Command codes for status specify the type of status that you want returned in the CDS.
Comentarios a estos manuales