CHAPTER 4: FIELDBUS INTERFACE
PROFIBUS DPV1
MM300 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE
4–27
Error codes:
Execute Operation
Command (Modbus
function 05H)
The Execute Operation defined for Modbus function code 05H is also available as Profibus
DP-V1 command. The command syntax has a fixed slot = 50H and index = 00H. The
required command must be encoded as data values (16 bits).
The complete MM300 command set is available through this function. The original execute
command table is copied here with corresponding Profibus DP-V1 format :
3
Master -> Slave Request current
security access level
012D
31
2D
2
None
Slave -> Master Answer: current
security access level
31
2D
2
Access
level
4
Master -> Slave Send setpoint (e.g.:
Modbus slave
address)
00AB
50
AB
2
00 FE
Slave -> Master Write success
50
AB
0
None
Profibus DPV1 Error Code
Cause
Invalid slot
Wrong code was added to the slot. Ensure a valid mask was added to
the memory map address issue to the device.
Invalid index
An invalid memory area was defined. Ensure the base address is
correct and that a valid length was specified.
Writing error
Ensure a valid writing buffer length was defined without access to
areserved memory area. Also, check if a passcode message
wasissued previously.
If a valid slot, index and length is supplied, the answer is always a
Success message, even if access is forbidden. This behavior was
designed as it to avoid Profibus Master blocking while waiting the
device to process the message internally.
Step Direction
Description
Parameter
Address
(hex)
Profibus DPV1 Message (hex)
Slot
Index
Length
(bytes)
Data
Operation Code
(decimal)
Command
Profibus DPV1 (hex)
Slot
Index
Length
(bytes)
Data
1
Reset
50
00
02
00 01
2
Lockout Reset
50
00
02
00 02
3
Stop
50
00
02
00 03
4
Start A
50
00
02
00 04
5
Start B
50
00
02
00 05
96
Clear Last Trip Data
Prompt
50
00
02
00 60
97
Reset MWh and Mvarh
Meters
50
00
02
00 61
99
Clear Counters
50
00
02
00 63
100
Clear Event Records
50
00
02
00 64
102
Clear Maintenance Info.
50
00
02
00 66
103
Clear Datalog
50
00
02
00 67
112
Clear RTD Maximums
50
00
02
00 70
113
Reset Motor Information 50
00
02
00 71
114
Auto Mode
50
00
02
00 72