2–6
MM300 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE
MODBUS FUNCTIONS
CHAPTER 2: RS485 INTERFACE (MODBUS RTU)
For example, to request slave 17 to execute operation code 1 (reset), we have the following
master/slave packet format:
Table 2-3: Master/slave packet format for Function Code 05H
The commands that can be performed by the MM300 using function code 05 can also be
initiated by using function code 10.
Function Code 06H
Modbus Implementation: Preset Single Register
MM300 Implementation: Store Single Setpoint
This command allows the master to store a single setpoint into the memory of a MM300
The slave response to this function code is to echo the entire master transmission.
For example, request slave 17 to store the value 2 in setpoint address 04 5C. After the
transmission in this example is complete, setpoints address 04 5C will contain the value
01F4. The master/slave packet format is shown below:
MASTER TRANSMISSION
BYTES
EXAMPLE
DESCRIPTION
SLAVE ADDRESS
1
11
message for slave 17
FUNCTION CODE
1
05
execute operation
OPERATION CODE
2
00 01
operation code 1
CODE VALUE
2
FF 00
perform function
CRC
2
DF 6A
CRC error code
SLAVE RESPONSE
BYTES
EXAMPLE
DESCRIPTION
SLAVE ADDRESS
1
11
message from slave
17
FUNCTION CODE
1
05
execute operation
OPERATION CODE
2
00 01
operation code 1
CODE VALUE
2
FF 00
perform function
CRC
2
DF 6A
CRC error code
Operation Code
Description
1
Reset
2
Lockout Reset
3
Stop
4
Start A
5
Start B
96
Clear Last Trip Data Prompt
97
Reset MWh and Mvarh Meters
99
Clear Counters
100
Clear Event Records
102
Clear Maintenance Info
103
Clear Datalog
112
Clear RTD Maximums
113
Reset Motor Information
114
Auto Mode
115
Manual Mode
121
Start Datalog
122
Stop Datalog