Function Code 10H - GE MOTOR MANAGER 2 Instruction Manual

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

Advertisement

6.2 MODBUS FUNCTIONS
Modbus Implementation: Preset Multiple Registers
MM2 Implementation: Store Multiple Setpoints
This function code allows multiple Setpoints to be stored into the MM2 memory. Modbus "registers"
are 16-bit (two byte) values transmitted high order byte first. Thus all MM2 setpoints are sent as two
bytes. The maximum number of Setpoints that can be stored in one transmission is dependent on
the slave device. Modbus allows up to a maximum of 60 holding registers to be stored. The MM2
response to this function code is to echo the slave address, function code, starting address, the num-
ber of Setpoints stored, and the CRC.
For example, consider a request for slave 17 to store the value 01F4 to setpoint address 1028 and
the value 2710 to setpoint address 1029. After the transmission in this example is complete, MM2
slave 17 will have the following setpoints information stored:
Address
1028
1029
The master/slave packets have the following format:
Table 6–8: MASTER/SLAVE PACKET FORMAT FOR FUNCTION CODE 10H
MASTER TRANSMISSION
SLAVE ADDRESS
FUNCTION CODE
6
DATA STARTING ADDRESS
NUMBER OF SETPOINTS
BYTE COUNT
DATA 1
DATA 2
CRC
SLAVE RESPONSE
SLAVE ADDRESS
FUNCTION CODE
DATA STARTING ADDRESS
NUMBER OF SETPOINTS
CRC
6-12
Data
01F4
2710
BYTES
1
1
2
2
1
2
2
2
BYTES
1
1
2
2
2
MM2 Motor Manager 2

6.2.8 FUNCTION CODE 10H

EXAMPLE
DESCRIPTION
11
message for slave 17
10
store setpoints
10 28
setpoint address 1028
00 02
2 setpoints = 4 bytes total
04
4 bytes of data
01 F4
data for setpoint address 1028
27 10
data for setpoint address 1029
33 23
CRC error code
EXAMPLE
DESCRIPTION
11
message from slave 17
10
store setpoints
10 28
setpoint address 1028
00 02
2 setpoints
C7 90
CRC error code
6 COMMUNICATIONS
GE Power Management

Advertisement

Table of Contents
loading

Table of Contents