Download DCS CPU-366 User`s manual

Transcript
5
DP-V1 Write Request Reply Data Format –
Response written to location specified by Words 8 & 9
Word
Name
Description
1
Command
Code
Echo of the Command Code = 8.
2
Slave
Address
Echo of Slave address from command.
3
Slot Number
Echo of Slot number from command.
4
Index
Echo of Index from command.
5
Length
Actual length of received data.
6
WriteReqStat
The DPV1 status of the read request. This status word indicates success
or failure of the DPV1 request. See status table below.
If ReadReqStat = CON_AD (54)
7L
Data Low
Indicates Error Code 1.
7H
Data High
Indicates Error Code 2.
8—12
Reserved
NA
DPV1 Return Status and Error Codes
The tables below shows possible return messages contained in the ReadReqStat /
WriteReqStat fields of the DPV1 requests discussed above. Also included are the Error
Code 1 and 2 fields.
Code
5-22
Name
Indication
0
CON_OK
Service executed without error.
2
CON_RR
Resource unavailable.
3
CON_RS
Requested function not supported by the slave.
9
CON_NR
No answer data however, slave did respond.
17
CON_NA
No response from slave.
18
CON_DS
Master not in logical bus.
25
CON_NP
Unrecognizable reply from slave.
54
CON_AD
Negative response, Access denied.
129
REJ_SE
Master is about to stop DPV1 communication or DPV1 is not in Open state.
130
REJ_ABORT Master has stopped DPV1 communication automatically.
131
REJ_PS
A previous service is still in process.
132
REJ_LE
The length indicator oversteps maximum configured size.
133
REJ_IV
Wrong parameter in request
154
REJ_COM
Unknown command.
Series 90™-30 CPU with Embedded PROFIBUS Interface – November 2004
GFK-2334A