1718021954-MPM47XX MODBUS Protocol V1.2
1718021954-MPM47XX MODBUS Protocol V1.2
1718021954-MPM47XX MODBUS Protocol V1.2
2
(MPM47xx series and MPM462)
COM Port setting:
8 Data bits, 1 Stop bit, no Parity
Function Code
Function code Description Length
0x03 Read register 1 byte
0x06 Write single register 1 byte
0x10 Write multiple registers 1 byte
General information
Register address 2 bytes
Register size 2 bytes
Floating 2 registers with 4 bytes, LSB (first register) MSB (second register)
Short 1 register with 2 bytes
CRC 2 bytes, MSB LSB (little endian)
Response format
Slave Function No. of return
Register value CRC
address code bytes
1 byte 1 byte 1 byte N byte 2 byte
XX 03 XX XX…XX XXXX
N = No. of return bytes
Command: 0103002400028400
Response: 010304F5C340480835
A 4-byte float represents a single-precision floating-point number following the IEEE-754 standard and is returned by two registers. The returned value of
above is 0x4048F5C3, equivalent to 3.14 in decimal point.
Additionally, it utilizes 16-bit CRC verification, with the least significant byte positioned at the beginning and the most significant byte located at the end.
Response format
Slave Function Register starting
Register value CRC
address code address
1 byte 1 byte 2 byte 2 byte 2 byte
XX 06 XXXX XXXX XXXX
Example: Set device address from 01 to 03
Command: 010600010003980B
Response: 010600010003980B
Response format
Slave Function Register starting Quantity of
CRC
address code address Registers
1 byte 1 byte 2 byte 2 byte 2 byte
XX 10 XXXX XXXX XXXX
Command: 0110001400020400003f80E300
Response: 01100014000201CC
1= 0x3f800000, 4byte.
Exception code
Device
0x10 0x01 0x88 0x00 0x02 0x04 CRC1 CRC2
Address
Command: 011001880002041F93
Response: 011001880002C01E
The factory reset command will restore all settings to their factory default values.
Device
0x10 0x04 0x88 0x00 0x02 0x04 CRC1 CRC2
Address
Command: 01100488000204D393
Response: 011004880002C0D2
Command sets
0x12 Digital output full scale point 2 Float (IEEE754) Digital full scale point output
0x14 Low pressure value at 4mA out 2 Float (IEEE754) Low pressure value at 4mA output
0x16 High pressure value at 20mA out 2 Float (IEEE754) High pressure value at 20mA output
0x18 Analog output offset 2 Float (IEEE754) Analog output offset value
0x00 – Output current value
0x1A Analog output signal type 1 Short 0x40 – Analog zero output
0x80 – Analog full scale output