Function Code 08H; Function Code 10H - GE Multilin MM200 Communications Manual

Motor management system
Hide thumbs Also See for MM200:
Table of Contents

Advertisement

MODBUS FUNCTIONS

Function Code 08H

Function Code 10H

2-8
SLAVE RESPONSE
FUNCTION CODE
DEVICE STATUS (see definition
above)
CRC
Modbus Implementation: Loopback
Test MM200 Implementation: Loopback Test
This function is used to test the integrity of the communication link. The MM200 will echo
the request.
For example, consider a loopback test from slave 17:
Table 2-7: MASTER/SLAVE PACKET FORMAT FOR FUNCTION CODE 08H
MASTER TRANSMISSION
SLAVE ADDRESS
FUNCTION CODE
DIAG CODE
DATA
CRC
SLAVE RESPONSE
SLAVE ADDRESS
FUNCTION CODE
DIAG CODE
DATA
CRC
Modbus Implementation: Preset Multiple Registers
MM200 Implementation: Store Multiple Setpoints
This function code allows multiple Setpoints to be stored into the MM200 memory. Modbus
"registers" are 16-bit (two byte) values transmitted high order byte first. Thus all MM200
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 MM200 response to this function code is to echo the
slave address, function code, starting address, the number of Setpoints stored, and the
CRC.
For example, consider a request for slave 17 to store the value 00 02 to setpoint address 04
5C and the value 01 F4 to setpoint address 04 5D. After the transmission in this example is
complete, MM200 slave 17 will have the following setpoints information stored:
Address
04 5C
04 5D
The master/slave packets have the following format:
CHAPTER 2: RS485 INTERFACE (MODBUS RTU)
BYTES
EXAMPLE
1
07
1
2C
2
22 28
BYTES
EXAMPLE
1
11
1
08
2
00 00
2
00 00
2
E0 0B
BYTES
EXAMPLE
1
11
1
08
2
00 00
2
00 00
2
E0 0B
Data
00 02
01 F4
MM200 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE
DESCRIPTION
read device status
status = 00101100 (in
binary)
CRC error code
DESCRIPTION
message for slave 17
loopback test
must be 00 00
must be 00 00
CRC error code
DESCRIPTION
message from slave
17
loopback test
must be 00 00
must be 00 00
CRC error code

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for GE Multilin MM200

Table of Contents