50 MM300 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE
RS485 INTERFACE (MODBUS RTU) COMMUNICATIONS GUIDE
Table 9: Master/slave packet format for performing commands
Using the User Definable Memory Map
The MM300 contains a User Definable area in the memory map. This area allows re-
mapping of the addresses of any Actual Values or Setpoints registers. The User Definable
area has two sections:
1. A Register Index area (memory map addresses 020BH-0287H) that contains 125
Actual Values or Setpoints register addresses.
2. A Register area (memory map addresses 020BH-0287H) that contains the data at the
addresses in the Register Index.
Register data that is separated in the rest of the memory map may be re-mapped to
adjacent register addresses in the User Definable Registers area. This is accomplished by
writing to register addresses in the User Definable Register Index area. This allows for
improved throughput of data and can eliminate the need for multiple read command
sequences. The User Definable Register Index is stored as a setpoint and therefore it is
“remembered” even when the power is removed.
For example, if the values of MOTOR LOAD (register address 014FH; modbus address
30336) and DRIVE STATUS (register address 0135H; modbus address 30310) are required to
be read from a MM300, their addresses may be re-mapped as follows:
1. Write 30336 to address 020BH (40524) (User Definable Register Index 0000) using
function code 06 or 16.
2. Write 30310 to address 020CH (40525) (User Definable Register Index 0001) using
function code 06 or 16.
The MM300PC software can be used to write these locations to the User Definable Register
Index using the Setpoints > Modbus Memory Map > User Map screen.
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
SLAVE RESPONSE BYTES EXAMPLE DESCRIPTION
SLAVE ADDRESS 1 11 message from
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
CRC 2 42 B0 CRC error code