
Defining Command and Status Blocks
Chapter 3
3-13
CDS Resulting from CDB
The SPI module responds to CDB commands by reflecting the CDB back
to the PLC processor as the CDS (Table 3.L):
Table 3.L
Custom
Data Status (CDS)
Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 CR CE 0 DC Device Identification
2 Zone Address Station Address
3 Diagnostic Word: If the SPI module detects a fault, it sets an error code to help identify the cause of the fault
4 0 0 0 0
starting at 5,
up to 64
If no communication fault, reflects all the commandcode pairs that you entered in CCB. Reports zero for a fault.
Table 3.M
Bit/Word
Definitions for Custom Data Status (CDS)
Word
Number
Bit
Number
Title Range
07 Block ID
00100000 to 11111111
1
810
Determine
Configuration
DC
000= Standard Configuration
001 = Custom Configuration
010 = Random Data Configuration
011 = Random Data Open Config
100 = Store Configuration
101 = Read Configuration
110 = Overwrite Configuration
111 = Clear Configuration
11 Reserved
zero
12
Command Executed
CE
Bit 12 = 0 - Command not executed
Bit 12 = 1 - Command executed
13
Command
Response CR
Bit 13 = 0 - response to a queued read
Bit 13 = 1 - response to a CDB
1415 Reserved zero
07 Station Address
32 to 255 decimal data
2
815
Zone Address
(temperature control)
48 to 255 decimal data
3 015 Diagnostic Word error code if SPI module detected a fault
4 Not used zero
5
up to 64
015 or
032
Reflected command,
specified status, or
zero
For a CDB, reflects the commandcode pair.
For a polling sequence, returns specified status.
For a fault, clears the word.
Komentarze do niniejszej Instrukcji