PLX51-PBM
Operation
PROFIBUS DPV0/DPV1 Master or Slave to EtherNet/IP™ or Modbus® Gateway
User Manual
ProSoft Technology, Inc.
Page 115 of 196
Extraction
The user can extract diagnostics by using the slave device node address. The user
can also decide how the diagnostics data must be extracted. This is changed by
updating the mode in the Diagnostics Request message. There are one of three
modes that can be selected:
Table 5.25
– Diagnostics Extract Message
Mode
Description
0
Read the slave device diagnostics that has been buffered in the PLX51-PBM.
1
Read the slave device diagnostics that has been buffered in the PLX51-PBM and clear
the Diagnostics Pending indication.
2
Force the PLX51-PBM to send a PROFIBUS Diagnostic Request to the specific slave
device and return the diagnostics data received.
CIP Message
Below are the EtherNet/IP CIP message parameters as well as the request and
response data structures.
Table 5.26
– Diagnostics Extract Message
Parameter
Description
Service Code
0x52 (Hex)
Class
0x432 (Hex)
Instance
1
Attribute
N/A
Request Data Length
6
Request Data:
Table 5.27
– Diagnostics Extract Request
Parameter
Data Type
Description
Timeout
Long
The amount of time (in milliseconds) the PLX51-PBM waits for a
DPV1 response before timing out and responding to the
EtherNet/IP request with a Timeout Status.
Slave Address
Byte
The station number of the PROFIBUS device.
Mode
Byte
0
– Read the slave device diagnostics that has been buffered in
the PLX51-PBM.
1
– Read the slave device diagnostics that has been buffered in
the PLX51-PBM and clear the Diagnostics Pending indication.
2
– Force the PLX51-PBM to send a PROFIBUS Diagnostic
Request to the specific slave device and return the diagnostics
data received.
Response Data:
Table 5.28
– Diagnostics Extract Response
Parameter
Data Type
Description
Status
Byte
This is the status of the DPV1 data exchange. See
appendix for the definitions of the returned status.
Reserved
Byte
-
Diagnostics data length
Byte
The number of diagnostic bytes that have been returned.
Reserved
Byte
-
Diagnostics Data
Byte[]
Refer to the
PROFIBUS Specification EN 50170
for
information regarding the diagnostics.