4–24
MM300 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE
PROFIBUS DPV1
CHAPTER 4: FIELDBUS INTERFACE
Extended Profibus DPV1 functionality
MM300 supports DP-V1 extended functionality (acyclic operations), which allows access to
any memory mapped address, including:
•
Actual Value reading
•
Parameter reading
•
Parameter writing
•
Execute command
These operations can be started by a Profibus Master Class I or Class II using specific
operations based on the DP-V1 slot and Index message parameters.
The maximum message size that can be exchanged through DPV1 is limited to 244 bytes
(122 words).
The MM300 memory is mapped in 16 bits variables, thus, only communication data
exchange with even data quantities is accepted.
The security functionality implemented on MM300 is strictly applicable. Parameter write
access is controlled by passwords as defined in Security Section of the MM300 Instruction
Manual.
Acyclic Read
Operation (Modbus
functions 03H and
04H)
Profibus DPV1 acyclic read operations can be executed against the complete memory
map, as defined for Modbus communication. Due to the high number of variables and
parameters that can be reached and the Profibus DPV1 limited address format, this
access must be executed in the following way:
1.
Define the memory address based on the Modbus Memory Map (0 based addressing)
2.
Add code 3000H to access the Actual Values area or 4000H to access the Setpoint
area
3.
Split the composed 32 bits word found above (DWORD) into 2x16 bits words format
These words will be used to define the DP-V1 Slot (most significant word) and Index
(least significant word).
Read Actual Value examples (Modbus function 04H):
0
0
0
80
0x50
Trigger Waveform Capture
0
0
0
81
0x51
Start Datalog
0
0
0
82
0x52
Stop Datalog
Object
Slot
Index
Value
Description
Dec
Hex
Data to be Read
Actual Value
Address (hex)
DPV1 Composed
Address (hex)
DPV1 Parameters
(hex)
Length
(bytes)
Slot
Index
Product Information -
firmware version
0002
0002 + 3000 = 3002
30
02
2
Product Information -
serial number
0007
0007 + 3000 = 3007
30
07
12
Product Information -
serial number and
order code
0007 to 000D
0007 + 3000 = 3007
30
07
44
Last Trio Data -
cause of last trip
00B9
00B9 + 3000 = 30B9
30
B9
2
Contact Status -
Contact Input 7-1
01CH
011C + 3000 = 311C
31
1C
2
User Map Values
1 to 32
020B
020B + 3000 = 320B
32
0B
64