
CHAPTER 1: COMMUNICATIONS GUIDE
RS485 INTERFACE (MODBUS RTU)
MM300 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE
67
Performing Commands Using Function Code 10H
Commands can be performed using function code 16 as well as function code 5. When
using FUNCTION CODE 16, the Command Function register must be written with a value of
5. The Command Operation register must be written with a valid command operation
number. The Command Data registers must be written with valid data; this is dependent
upon the command operation.
For example, consider a request for slave 17 to perform command operation 1 (RESET): The
master/slave packets have the following format:
Table 9: Master/slave packet format for performing commands
Bit 18
Comm Start B
Bit 19
Comm Stop
Bit 20
Fuse Fail Inhibit
Bit 21
Phase Reversal Inhibit
Bit 22
Low Aux Voltage Inhibit
Bit 23
UV Restart Inhibit
Bit 24
Drive Available
Bit 25
Drive Available Auto
Bit 26
Drive Available Manual
Bit 27
Reserved
Bit 28
Reserved
Bit 29
PFR Inhibit
Bit 30
PF Restart
FC193
32 bits
Ctrl Status 3 (Reserved)
FC194
32 bits
Ctrl Status 4 (Reserved)
FC212
16 bits
LCD Test Paint Color
0
None
1
Red
2
Green
3
Blue
Code
Type
Definition
MASTER TRANSMISSION
BYTES
EXAMPLE
DESCRIPTION
SLAVE ADDRESS
1
11
message for slave 17
FUNCTION CODE
1
10
store multiple
setpoints
DATA STARTING ADDRESS
2
00 80
setpoint address 00
80
NUMBER OF SETPOINTS
2
00 02
2 setpoints = 4 bytes
total
BYTE COUNT
1
04
4 bytes of data
DATA 1
2
00 05
data for address 00
80
DATA 2
2
00 01
data for address 00
81
CRC
2
7E CE
CRC error code