FU-ES EchoSense Instruction Manual
  • ⚠Safety Instructions
  • This instruction manual version is v1.0
    • Manual Update Log
  • Measurement principle and usage scenario
    • Firmware Update Date and Version Feature Description
  • Warranty
  • Exterior, Specs, Model
  • Installation and Setup
    • Mechanism Installation
    • Mechanical and Electrical iInstallation
    • Parameter setup
      • Z02 Automatic Pipe Size Detection Guide
  • Human Machine Interface
    • Introduction of human machine interface
    • Hybrid Page Setup and Usage Interface Guide
    • Monitoring Screen
    • Simulation Mode
    • Data interpretation on monitoring screens
    • Password input page
    • Setup screen
  • Communication
    • OCT output
    • Analog current output (0-20mA, 4-20mA)
    • RS485 and Modbus RTU Setting
    • Modbus RTU Protocol
      • Read-only memory read instruction(04) and memory lists
      • Read-Write Memory List
      • Read/Write Memory Read Command (03)
      • Read-write memory single Register write instruction(06)
      • Read/Write Memory Dual-Register Write Command (30)
      • Read/Write Memory Four-Register Write Command (31)
      • Single Bit Data Read/Write Commands (01/05) (Commonly Used in HMIs)
  • Parameters Table
    • Z Category Options and Descriptions
    • A Category Options and Descriptions
      • A02 Preset Pipe Specification Table for Different Models
      • A03 ~ A07 Data Range Explanation Based on Model Specifications
    • B Category Options and Descriptions
    • K Category Options and Descriptions
    • C Category Options and Descriptions
    • D Category Options and Descriptions
    • E Category Options and Descriptions
    • F Category Options and Descriptions
    • H Category Options and Descriptions
    • Pagasfsae 1
    • Page 1
  • Alarm and description of system conditions
  • Troubleshootings and Abnormalities
    • Iout 4-20/0-20mA debug process
    • OCT Alarm Debug Process
    • OCT Pulse Debug Process
    • RS485 Debug Process
  • Certification
  • FU-ES Product Page
  • LORRIC English Website
  • LORRIC Integration and Application Center
Powered by GitBook
On this page
Export as PDF
  1. Communication
  2. Modbus RTU Protocol

Read/Write Memory Four-Register Write Command (31)

PreviousRead/Write Memory Dual-Register Write Command (30)NextSingle Bit Data Read/Write Commands (01/05) (Commonly Used in HMIs)

Last updated 2 months ago

For large numbers, reading and writing in different formats (float32/int64) may result in a discrepancy of less than 1/10,000. This command is limited to memory with a register length of 4. Please refer to the provided list. .

Instruction example

Format for Issuing the Write Command (31) from the Control Terminal

Byte#

1

2

3

4

5

6

7

8

9

10

11

12

13

14

Node ID

Slave Address

Function Code

Starting Address of Data to Write

Starting Address of Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

CRC

CRC

Example 01~FF

01

31

02

83

00

00

00

00

00

BC

61

FF

1E

F5

Example Explanation of Control Terminal Command

This example reads and writes data for C04 Dosing Target (64).

  • Slave Address: 01 (Address of the flow meter)

  • Function Code: 31 (Write command)

  • Starting Address of Data to Write: 02 83 (Memory address for C04 Dosing Target (64))

  • Data to Write: 00 00 00 00 00 BC 61 FF (Data for C04 Dosing Target (64))

  • CRC: 1E F5 (Error-checking code calculated using the CRC algorithm)

Flow Meter Response Format (31)

Byte#

1

2

3

4

5

6

7

8

9

10

11

12

13

14

Node ID

Slave Address

Function Code

Starting Address of Data to Write

Starting Address of Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

Data to Write

CRC

CRC

Example 01~FF

01

31

02

83

00

00

00

00

00

BC

61

FF

1E

F5

Example Explanation of Flow Meter Response

If the write command format is correct, the flow meter will echo the received command back to the master.

  • Slave Address: 01 (Address of the flow meter)

  • Function Code: 31 (Write command)

  • Starting Address of Data to Write: 02 83 (Memory address for C04 Dosing Target (64))

  • Data to Write: 00 00 00 00 00 BC 61 FF (Data for C04 Dosing Target (64))

  • CRC: 1E F5 (Error-checking code calculated using the CRC algorithm)

More refer to the list for details