PLX51-PBM
Operation
PROFIBUS DPV0/DPV1 Master or Slave to EtherNet/IP™ or Modbus® Gateway
User Manual
ProSoft Technology, Inc.
Page 108 of 196
DPV1 Explicit Messaging
The PLX51-PBM supports DPV1 Class 1 (MS1) and Class 2 (MS2) messaging which
can be used to read / write parameters in a slave device. The PLX51-PBM DPV1
communication is achieved by using EtherNet/IP unconnected messaging (UCMM)
or Class 3 connected messaging. The PLX51-PBM can buffer up to 10 DPV1
messages at a time.
NOTE: The slave device must support DPV1 messaging. The user must also set the DPV1 Enable bit in
the user parameters of the slave device in the PLX50 Configuration Utility.
DPV1 Class 1 Messaging (MS1)
DPV1 Class 1 messaging will only be achievable if the slave device is in data
exchange mode (i.e. the device is configured and exchanging cyclic data with the
PLX51-PBM). Only the DP Master exchanging data with the slave device can read
and write parameters using DPV1 MS1. Below are the EtherNet/IP CIP message
parameters as well as the request and response data structures.
DPV1 Class 1 Read
CIP Message:
Table 5.5
– DPV1 Class 1 Read Message
Parameter
Description
Service Code
0x4B (Hex)
Class
0x432 (Hex)
Instance
1
Attribute
N/A
Request Data Length
8
Request Data:
Table 5.6
– DPV1 Class 1 Read 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.
Slot Number
Byte
The DPV1 Slot number which must be read.
Index
Byte
The DPV1 Index number which must be read.
Data Length
Byte
The maximum number of bytes that must be read.
Response Data:
Table 5.7
– DPV1 Class 1 Read 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.
Extended Status
Byte[3]
This is the extended status of the DPV1 data exchange. See
appendix for the definitions of the returned extended status.
Data Length
Byte
The length of the data returned.
Reserved
Byte
-
Data
Byte[]
The data from the DPV1 Read request. The number of bytes
will be equal to the Data Length in the response.