background image

 

 

 

 

1.4    Modbus-RTU Protocol 

The flow meter protocol supports the following two-function codes of the Modbus:   

Function Code 

Performance Data 

0x03 

Read register 

0x06 

Write single register 

 

1)

 

Modbus Protocol function code 0x03 usage. 

  The host sends out the read register information frame format: 

 

Slave Address 

Operation 

Function Code 

First Address 

Register 

Register Number 

Verify Code 

1 byte 

1 byte 

2 bytes 

2 bytes 

2 bytes 

0x01~0xF7 

0x03 

0x0000~0xFFFF 

0x0000~0x7D 

CRC(Verify) 

The slave returns the data frame format: 

Slave Address 

Read Operation 

Function Code 

Number of Data 

Bytes 

Data Bytes 

Verify Code 

1 byte 

1 byte 

1 byte 

N*x2 byte 

2 byte 

0x01~0xF7 

0x03 

2xN* 

N*x2   

CRC(Verify)   

 

N*

data register number 

 

2)

 

Modbus Protocol function code 0x06 usage.   

The host sends a command to write a single register information frame format (performance code 0x06): 

Slave Address 

Operation 

Function Code 

Register Address 

Register Data 

Verify Code 

1 byte 

1 byte 

2 bytes 

2 bytes 

2 bytes 

0x01~0xF7 

0x06 

0x0000~0xFFFF 

0x0000~0xFFFF 

CRC(Verify) 

The slave returns the data frame format (performance code 0x06): 

Slave Address 

Operation 

Function Code 

Register Address 

Register Data 

Verify Code 

1 byte 

1 byte 

2 bytes 

2 bytes 

2 bytes 

Summary of Contents for InnovaSonic 205i

Page 1: ...InnovaSonic 205i Modbus Instruction Manual Modbus Device Specification for InnovaSonic 205 Transit Time Ultrasonic Flow Meter Part Number IM205i Modbus Rev V2 January 2015 ...

Page 2: ...tandard mass flow meters for oxygen gas You are responsible for determining if this mass flow meter is appropriate for your oxygen application You are responsible for cleaning the mass flow meter to the degree required for your oxygen flow application COPYRIGHT SIERRA INSTRUMENTS 2014 No part of this publication may be copied or distributed transmitted transcribed stored in a retrieval system or t...

Page 3: ...rning Always remove main power before disassembling any part of the mass flow meter Caution Before making adjustments to the device verify the flow meter is not actively monitoring or reporting to any master control system Adjustments to the electronics will cause direct changes to flow control settings Caution All flow meter connections isolation valves and fittings for hot tapping must have the ...

Page 4: ...ing Sierra Customer Service Technical Assistance If you encounter a problem with your flow meter review the configuration information for each step of the installation operation andsetup procedures Verify that your settings and adjustments are consistent with factory recommendations Installation and troubleshooting information can be found in the InnovaSonic 205i Product Instruction Manual If the ...

Page 5: ... of Contents Chapter 1 Using Modbus with the InnovaSonic 205i 6 1 1 RS 232 RS 485 Pin Definitions 6 1 2 Connection of RS 232 or RS 485 7 1 3 Setting Up the 205i to Use Modbus RTU 7 1 4 Modbus RTU Protocol 8 ...

Page 6: ...an be used to power on off other equipment The analog input of the system can be used to input signals such as pressure and temperature These analog values can be read using the Modbus RTU protocol to be used by customer software RS 232 50 ft or RS 485 up to 4 000 ft can be directly used for data transmission link for a short distance Current loop radio transmission and modems can be used in mediu...

Page 7: ...sor appears use the and keys to make your selection Press when done This window is used to setup the Modbus serial port baud rates Your choices are 9600 19200 38400 56000 57600 or 115200 This setting must match the master and other slaves on your Modbus network The Parity is fixed at None Data length fixed to eight Stop bit fixed at 1 Default factory serial port parameters are 9600 8 None 1 PC L N...

Page 8: ...a frame format Slave Address Read Operation Function Code Number of Data Bytes Data Bytes Verify Code 1 byte 1 byte 1 byte N x2 byte 2 byte 0x01 0xF7 0x03 2xN N x2 CRC Verify N data register number 2 Modbus Protocol function code 0x06 usage The host sends a command to write a single register information frame format performance code 0x06 Slave Address Operation Function Code Register Address Regis...

Page 9: ...ttention to the data storage order of the above example Using C language to explain the data pointers can be used directly to input the required data in the corresponding variable address the low byte will be put at the beginning such as the above example 1 2345678 m s 3F 9E 06 51 data stored in order as 51 06 9E 3F For example it converts the address 1 0x01 to 2 0x02 under the RTU mode so to writ...

Page 10: ...er 16 bits int 16 bit signed integer This allow for a number between 65 535 and 65 534 String 8 bit ASCII characters 2 per 16 bit register PDU Address Register Read Write Type No Registers 0000 40001 Flow s low word 32 bits real 2 0001 40002 Flow s high word 0002 40003 Flow m low word 32 bits real 2 0003 40004 Flow m high word 0004 40005 Flow h low word 32 bits real 2 0005 40006 Flow h high word 0...

Page 11: ...1C 40029 Analog output high word 001D 40030 Error code char 1 2 String 3 Refer to Error Analysis for detailed codes meanings 001E 40031 Error code char 3 4 001F 40032 Error code char 5 6 003B 40060 Velocity unit char 1 2 String 2 Currently supports m s only 003C 40061 Velocity unit char 3 4 003D 40062 Flow unit char 1 2 String 2 Note 1 003E 40063 Flow unit char 3 4 003F 40064 Total unit char 1 2 S...

Page 12: ...ess Register Description Read Write Type No Registers 1003 44100 Flowmeter address 1 247 R W 16 bits int 1 1004 44101 Communication Baud Rate 1 4800 2 9600 3 19K2 4 38K4 5 57K6 R W 16 bits int 1 Notes 1 The following flow rate units are available 0 m3 Cubic Meter 1 l Liters 2 ga Gallons 3 ig Imperial Gallons 4 mg Million Gallons 5 cf Cubic Feet 6 ba US Barrels 7 ib Imperial Barrels ob Oil Barrels ...

Reviews: