
8–2
MM3 MOTOR MANAGER 3 – INSTRUCTION MANUAL
MM3 MOTOR MANAGER 3 MODBUS PROTOCOL
CHAPTER 8: COMMUNICATIONS
be used to minimize noise. The shield should be connected to all of the MM3 Motor
Manager 3s as well as the master, then grounded at one location only. This keeps the
ground potential at the same level for all of the devices on the serial link.
Polarity is important in RS485 communications. The '+' (positive) terminals of every
device must be connected together.
on page 2–4 for additional information.
8.1.3
Data Frame
Format and
Data Rate
One data frame of an asynchronous transmission to or from a MM3 Motor Manager 3
typically consists of 1 start bit, 8 data bits, and 1 stop bit. This produces a 10 bit data
frame. This is important for transmission through modems at high bit rates (11 bit data
frames are not supported by Hayes modems at bit rates of greater than 300 bps). The MM3
Motor Manager 3 has the capability of adding an odd or even parity bit if necessary.
Modbus protocol can be implemented at any standard communication speed. The MM3
Motor Manager 3 supports operation at 1200, 2400, 4800, 9600, 19200, and 57600 baud.
8.1.4
Data Packet
Format
A complete request/response sequence consists of the following bytes (transmitted as
separate data frames):
Master request transmission:
SLAVE ADDRESS: 1 byte
FUNCTION CODE: 1 byte
DATA: variable number of bytes depending on FUNCTION CODE
CRC: 2 bytes
Slave response transmission:
SLAVE ADDRESS: 1 byte
FUNCTION CODE: 1 byte
DATA: variable number of bytes depending on FUNCTION CODE
CRC: 2 bytes
The function of each of these bytes is explained below.
•
Slave address
: This is the first byte of every transmission. This byte represents the
user-assigned address of the slave device that is to receive the message sent by the
master. Each slave device must be assigned a unique address and only the addressed
slave will respond to a transmission that starts with its address. In a master request
transmission the slave address represents the address of the slave to which the
request is being sent. In a slave response transmission the slave address represents
the address of the slave that is sending the response.
A master transmission with a slave address of 0 indicates a broadcast command.
Broadcast commands can be used only in certain situations; see
on page 8–12 for additional details.
•
Function code
: This is the second byte of every transmission. Modbus defines function
codes of 1 to 127. The MM3 Motor Manager 3 implements some of these functions.
See
on page 8–5 details of the supported function codes.
In a master request transmission the function code tells the slave what action to
perform. In a slave response transmission the function code tells the master what
function was performed as requested. If the high order bit of the function code sent
NOTE
NOTE
Summary of Contents for MM3
Page 8: ...vi MM3 MOTOR MANAGER 3 INSTRUCTION MANUAL TABLE OF CONTENTS ...
Page 18: ...1 10 MM3 MOTOR MANAGER 3 INSTRUCTION MANUAL TECHNICAL SPECIFICATIONS CHAPTER 1 INTRODUCTION ...
Page 80: ...4 18 MM3 MOTOR MANAGER 3 INSTRUCTION MANUAL CHASSIS MOUNT UNITS CHAPTER 4 SOFTWARE ...
Page 124: ...5 44 MM3 MOTOR MANAGER 3 INSTRUCTION MANUAL S7 TESTING CHAPTER 5 SETPOINTS ...
Page 198: ...8 54 MM3 MOTOR MANAGER 3 INSTRUCTION MANUAL MODBUS MEMORY MAP CHAPTER 8 COMMUNICATIONS ...
Page 220: ...10 14 MM3 MOTOR MANAGER 3 INSTRUCTION MANUAL GE MULTILIN WARRANTY CHAPTER 10 MISCELLANEOUS ...