CHAPTER 8: COMMUNICATIONS
8.2.5
Function Code
05h
MM3 MOTOR MANAGER 3 – INSTRUCTION MANUAL
The slave response to this function code is the slave address, function code, a count of the
data bytes to follow, the data itself and the CRC. Each data item is sent as a two byte
number with the high-order byte sent first.
For example, request slave 17 to respond with 1 register starting at address 0008. For this
example the value in this register (0008) is 0000.
Master Transmission
Slave address
Function code
Data starting address
Number of actual values
CRC
Slave Response
Slave address
Function code
Byte count
Data word (see definition above)
CRC (low, high)
Modbus implementation: Force single coil
MM3 Motor Manager 3 implementation: execute operation
This function code allows the master to request a MM3 Motor Manager 3 to perform
specific command operations. The commands supported by the MM3 Motor Manager 3
are listed in Performing Commands using Function Code 10h on page 8–12.
For example, to request slave 17 to execute operation code 1 (reset), we have the following
master/slave packet format:
Master transmission
Slave address
Function code
Operation code
Code value
CRC
Slave response
Slave address
Function code
Operation code
Code value
CRC
The commands that can be performed by the MM3 Motor Manager 3 using function code
05 can also be initiated by using function code 10. See Function Code 10h on page 8–10 for
an example of performing commands using function code 10.
SUPPORTED MODBUS FUNCTIONS
Bytes
Example
1
11
message for slave 17
1
04
read registers
2
00 08
data starting at 0008h
2
00 01
1 register = 2 bytes total
2
B2 98
computed CRC error code
Bytes
Example
1
11
message from slave 17
1
04
read registers
1
02
1 register = 2 bytes
2
00 00
value in address 0008h
2
78 F3
computed CRC error code
Bytes
Example
1
11
message for slave 17
1
05
execute operation
2
00 01
operation code 1
2
FF 00
perform function
2
DF 6A
computed CRC error code
Bytes
Example
1
11
message from slave 17
1
05
execute operation
2
00 01
operation code 1
2
FF 00
perform function
2
DF 6A
computed CRC error code
Description
Description
Description
Description
8–7
Need help?
Do you have a question about the Multilin MM3 Motor Manager 3 and is the answer not in the manual?