![GE Multilin MM300 Manual Download Page 74](http://html1.mh-extra.com/html/ge/multilin-mm300/multilin-mm300_manual_4015526074.webp)
2–66
MM300 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE
PERFORMING COMMANDS USING FUNCTION CODE 10H
CHAPTER 2: RS485 INTERFACE (MODBUS RTU)
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 2-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.
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