Function Code 04H - GE MOTOR MANAGER 2 Instruction Manual

Hide thumbs Also See for MOTOR MANAGER 2:
Table of Contents

Advertisement

6 COMMUNICATIONS
Modbus Implementation: Read Input Registers
MM2 implementation: Read Setpoints and Actual Values
For the MM2 implementation of Modbus, this command can be used to read any setpoints ("holding
registers") or actual values ("input registers"). Holding and input registers are 16 bit (two byte) values
transmitted high order byte first. Thus all MM2 Setpoints and Actual Values are sent as two bytes.
The maximum number of registers that can be read in one transmission is 125. This function code is
identical to function code 03.
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.
Table 6–3: MASTER/SLAVE PACKET FORMAT FOR FUNCTION CODE 04H
MASTER TRANSMISSION
SLAVE ADDRESS
FUNCTION CODE
DATA STARTING ADDRESS
NUMBER OF ACTUAL VALUES
CRC
SLAVE RESPONSE
SLAVE ADDRESS
FUNCTION CODE
BYTE COUNT
DATA (see definition above)
CRC
GE Power Management
BYTES
EXAMPLE
1
11
1
04
2
00 08
2
00 01
2
B2 98
BYTES
EXAMPLE
1
11
1
04
1
02
2
00 00
2
78 F3
MM2 Motor Manager 2
6.2 MODBUS FUNCTIONS

6.2.3 FUNCTION CODE 04H

DESCRIPTION
message for slave 17
read registers
data starting at 0008
1 register = 2 bytes
CRC error code
DESCRIPTION
message from slave 17
read registers
1 register = 2 bytes
value in address 0008
CRC error code
6
6-7

Advertisement

Table of Contents
loading

Table of Contents