Modbus Telegram; Modbus Function Codes - Endress+Hauser Proline Promass 83 Operating Instructions Manual

Coriolis mass flow measuring system
Hide thumbs Also See for Proline Promass 83:
Table of Contents

Advertisement

Operation
42
5.5.2

MODBUS telegram

General
The master-slave process is used for data exchange. Only the master can initiate data transmission.
Following the prompt, the slave sends the master the necessary data as a response telegram or
executes the command requested by the master.
Telegram structure
The data is transferred between the master and slave by means of a telegram.
A request telegram from the master contains the following telegram fields:
Telegram structure:
Slave address
• Slave address
The slave address can be in an address range from 1 to 247.
The master talks to all the slaves simultaneously by means of the slave address 0 (broadcast
message).
• Function code
The function code determines which read, write and test operations should be executed by means
of the MODBUS protocol.
Function codes supported by the measuring device → Page 42
• Data
Depending on the function code, the following values are transmitted in this data field:
– Register start address (from which the data are transmitted)
– Number of registers
– Write/read data
– Data length
– etc.
• Check sum (CRC or LRC check)
The telegram check sum forms the end of the telegram.
The master can send another telegram to the slave as soon as it has received an answer to the
previous telegram or once the time-out period set at the master has expired. This time-out period
can be specified or modified by the user and depends on the slave response time.
If an error occurs during data transfer or if the slave cannot execute the command from the master,
the slave returns an error telegram (exception response) to the master.
The slave response telegram consists of telegram fields which contain the requested data or which
confirm that the action requested by the master has been executed. It also contains a check sum.
5.5.3

MODBUS function codes

The function code determines which read, write and test operations should be executed by means
of the MODBUS protocol. The measuring device supports the following function codes:
Function
Name in accordance
code
with MODBUS
specification
03
READ HOLDING
REGISTER
Function code
Description
Reads one or more registers of the MODBUS slave.
1 to a maximum of 125 consecutive registers
(1 register = 2 byte) can be read with a telegram.
Application:
For reading measuring device parameters with read and write access,
such as reading the batch quantity.
Proline Promass 83 MODBUS RS485
Data
Check sum
Endress+Hauser

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proline promass 83 modbus rs485

Table of Contents