Modbus functions in the BC8150

In the Modbus protocol, the functions determine whether data is to be read or written, and what kind of data is involved.

Function

Code

Description

Read holding register

3

Read analog outputs and inputs / GPR

Read input register

4

Read analog inputs / GPR

Preset single register

6

Write one analog output / GPR

Diagnosis

8

Diagnosis

Preset multiple register

16

Write a number of analog outputs / GPRs

Read / write registers

23

Write and read a number of process data outputs / GPRs

GPR (General Preset Register) - register structure of the Modbus interface (see Appendix)