GE VersaPoint IC220PBI002 User Manual page 136

Profibus-dp niu
Table of Contents

Advertisement

8
Example 6, In the Event of an Error: Reading an Object on an I/O module
Without PCP Functions (Access to 5FF0, Subindex 0 on an 8-Point
Discrete Output Module at Slot 2)
In example 6, DF
The service cannot be sent to the I/O module, so the error code is indicated
immediately. For this type of error, the DP/V1 error codes are helpful, see
Appendix "Error Codes for DP_V1 and VC1Communication" on page7-17. In this
example, 80
module does not have PCP. The process should stop immediately after the write
action. However, if the system tries to read the result on slot 2, D4 00 is output
("Incorrect service", see Section "Error Codes for DP_V1 and VC1
Communication" on page 7-17). This indicates that the command is not expected
at present. There is no read data available at the slot.
If the system includes I/O modules that do not establish the PCP connection
immediately after power up, error code D1
communication is attempted. This code indicates that there is (still) no PCP
connection. An attempt is made to establish this connection with the module so
the problem will not recur the next time a communication attempt is made.
Index 5 can be used to request the PCP status and to establish communication if
all PCP devices do not have a connection. To do this, write 01
This example also shows function code DE
(Write error) in connection with error code 80
DP/V1 level. More general DP/V1 error codes are listed in EN 50170, PROFIBUS
Guideline 2.082.
Write request (master -> slave)
Data
5F 02 30 04 01 5f ff 00
Write response (slave -> master)
Data
DF 80 D2 00
Read request (master -> slave)
Data
5E 02 30 28
Read response (slave -> master)
Data
DE 80 D4 00
8-16
VersaPoint™ I/O System Profibus-DP NIU User's Manual – August 2005
in the write response means the service cannot be executed.
hex
means that the error is a DP/V1 error. D200 indicates that the
hex
Data Structure
Write/Slot/Index/Length/Read PCP/Index high/Index
low/Subindex
Data Structure
Write error/Error decode/Error code 1/Error code 2
Data Structure
Read/Slot/Index/Maximum length
Data Structure
Read error/Error decode/Error code 1/Error code 2
may occur when PCP
hex
hex
(Read error) or function code DF
hex
. These indicate errors on the
hex
on slot 0, index 5.
hex
GFK-1911B

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Versapoint ic220pb001Versapoint ic220pbo002

Table of Contents