
6
MM300 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE
RS485 INTERFACE (MODBUS RTU)
CHAPTER 1: COMMUNICATIONS GUIDE
Function Code 05H
Modbus Implementation: Force Single Coil
MM300 Implementation: Execute Operation
This function code allows the master to request a MM300 to perform specific command
operations.
For example, to request slave 17 to execute operation code 1 (reset), we have the following
master/slave packet format:
Table 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.
SLAVE RESPONSE
BYTES
EXAMPLE
DESCRIPTION
SLAVE ADDRESS
1
11
message from slave
17
FUNCTION CODE
1
04
read registers
BYTE COUNT
1
02
1 register = 2 bytes
DATA (see definition above)
2
00 00
value in address
0008
CRC
2
78 F3
CRC error code
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