0% found this document useful (0 votes)
32 views

Submersible Water Level Modbus English

This document outlines the MODBUS communication protocol for pressure, liquid level, and differential pressure transmitters. It details the serial data format, command formats for reading and writing data, and supported commands and their implications.

Uploaded by

nicolas.tohme121
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Submersible Water Level Modbus English

This document outlines the MODBUS communication protocol for pressure, liquid level, and differential pressure transmitters. It details the serial data format, command formats for reading and writing data, and supported commands and their implications.

Uploaded by

nicolas.tohme121
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

MODBUS pressure/liquid level/differentia

l pressure transmitter communication pro


tocol

I. Overview:
This Agreement complies with the MODBUS communication protocol and ado
pts the RTU mode in the subset of the MODBUS protocol. RS485 semi-dual workin
g mode.
II. Serial data format:
Serial port setting: no check 8 bit data and 1 bit stop bit.
. The N,8,1 meaning is :9600 bps, the serial port baud rate s
upported by the 8-bit data bit and the 1-bit stop local trans
mitter is 1:1200,2400,4800,9600,19200,38400,57600,115
200
CRC check polynomial: xA001.0
In the process of data communication, all the data are processed according to
double byte shaping data. If the data identifies floating point number, write need
s to read decimal point to determine the size of data.
III. Format of communication:
1. Read Command Format (03 Function Code) Example
A. Send Read Command Format:
Address Functi Data initiat Data initiat Number of Number o CRC16 CRC16
on ion ion data f data (L) (H)
Code (H) (L) (H) (L)
0X0 1 0X0 3 0X00 0X00 0X00 0X0 1 0X84 0X0A
B. Return read data format: Example
Address Functi Data lengt Data (H) Data (L) CRC16 CRC16
on h (L) (H)
Code
0X0 1 0X0 3 0X0 2 0X00 0X0 1 0X79 0X84

2. Write Command Format (06 Function Code) Example


Address Functi Data initiat Data initiat Data (H) Data (L) CRC16 CRC16
on ion ion (L) (H)
Code (H) (L)
0X0 1 0X0 6 0X00 0X00 0X00 0X0 2 0X0 8 0X0B
B. Return Read Data Format: Examples
Address Functi Data initiat Data initiat Data (H) Data (L) CRC16 CRC16
on ion ion (L) (H)
Code (H) (L)
0X0 1 0X0 6 0X00 0X00 0X00 0X0 2 0X0 8 0X0B

3. Exception reply
Address Functi Exception code CRC16 CRC16
on (L) (H)
Code
0X0 1 0X80 0 x01( Illegal functions)
+ funct 0 x02( Illegal data addresses)
ion co 0 x03(illegal data
de
IV. Commands and data implication
s supported: MODBUS-RTU protoco
l commands are listed below:
Data initia Data Data
Functional c Data scope Instructional significance
tion Number bytes
ode
Address
0 x03 Function code reads data
x03 0 x0000 0 1 2 1-255 Read the slave address
x03 0 x0001 0 1 2 0-1200 baud rate read
1-2400
2-4800
3-9600
4-19200
5-38400
6-57600
7-115200
x03 0 x0003 0 1 2 0-#### The decimal points repres
1-###.# ent 0-4 decimal points
2-##.##
3-#.###
4-.####
x03 0 x0002 0 1 2 0- Mpa Pressure units
1- Kpa
2- Pa
3- Bar
4- Mbar
5- kg/cm 2
6- psi
7- mh 2o
8- mmh 2o
x03 0 x0004 0 1 2 -32768-32767 Measuring output
x03 0 x0005 0 1 2 -32768-32767 Transmitter Range Zero
x03 0 x0006 0 1 2 -32768-32767 Transmitter range full ran
ge
x03 0 x000c 0 1 2 -32768-32767 Zero displacement value, f
actory generally 0
0 x06 Functional code to write data
x06 0 x0000 0 2 1-255 Rewrite the slave address
x06 0 x0001 0 2 0-1200 Modifying baud rate
1-2400
2-4800
3-9600
4-19200
5-38400
6-57600
7-115200
x06 0 x000c 0 2 -32768-32767 Zero displacement value .
= of pressure output value
Calibration value + zero di
splacement offset
Plant preservation and rehabilitation
x06 0 x000F 0 2 0 saved to use
Household
area
0X0 6 x0010 0 2 1 Return fact
ory paramet
ers
Example: slave address is 1, CRC is the calculated CRC code, not CRC these t
hree characters.Read the slave address:
Send :010300000001 CR
C Return: CRC 01030200
01

Read the pressure value:


CRC 010300040001
Return :0103020012 CRC,0012 is the measured value, according to the format in
front of the document ,00 is high 8 bits and 12 is low 8 bits together is 16 bits sig
ned number.

Change address to 2
CRC 010600000002
After returning CRC ,010600000002, the transmitter address becomes 2, not 1.

Save data:
F0000CRC.0206000
Returns :0206000 F0000CRC. indicating that the data has been saved, such as the
modified address. Description:
1. When the baud rate is modified, the transmitter will reply to the modified
data with the baud rate sent by the host, and the baud rate of the transmitt
er will become the modified target value after the reply.
2. Modify the address is also to modify the address before the reply data, afte
r the reply will automatically modify the transmitter address.
3. Save and reply factory commands return the original value, indicating that the t
ransmitter has accepted the host command.
4. When restoring factory data, it should be noted that the parameters saved by
the factory may not be consistent with those saved by the user, so the addres
s, baud rate and calibration data may not be consistent, so the transmitter m
ust be searched again after restoring the parameters of the completed factor
y.
5. User allowed to modify only 3 data, namely address, baud rate, zero displaceme
nt value.
6. General users are not allowed to modify the transmitter calibration data, if
you need to calibrate and change, please contact our company for transmitt
er calibration software. The user sends the modified calibration data comm
and to cause the transmitter to output the abnormal code. If you need to m
odify the calibration data, please use our calibration software.
7. If the floating point number identifies the data to be read, For example ,6.000.
But this agreement stipulates that data is communicated by plastic data, So th
e data read is 6000, And then I'm going to do it based on the decimal point, To
get 6..000, If the decimal point is 3, That is ,6000/10(3), Is 6000 divided by 10,
Get 6.000 data.
8. For detailed verification, please refer to the customer evaluation software provi
ded by our company.
9. Modify address or baud rate, zero value and other operations, and finally mus
t send a save instruction to power down to save.
10. Save instruction :0106000 F0000CRC. slave address and CRC will change, ple
ase use professional CRC calculation software to calculate the CRC value.

You might also like