Rockwell-automation 1771-SPI,D17716.5.122 SPI PROTOCOL INTERFACE Instrukcja Użytkownika Strona 29

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 62
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 28
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 SPIspecified device ID.
1
8-10
Determine
Configuration
DC
(IDspecific)
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
2
0-7
Number of
Bitcommand
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.
3
8-15
Number of
Bitstatus Words
0 to 30 decimal data
Tells the SPI module how many words containing
status bits to return to the processor in the CDS.
4
0-7
Number of
Numericstatus
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
ASCIIstatus
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
at
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
bitcommand word sent to the SPI module.
For example: 20 49 for Mode, Machine
Note 1
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
Note 1
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
Note 1
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
bitstatus word sent to the processor.
For example, 20 44 for Status, Machine
Note 1
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
Note 1
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
commandcode 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.
Przeglądanie stron 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 61 62

Komentarze do niniejszej Instrukcji

Brak uwag