Engee documentation

Modbus Read Holding Register

Page in progress.

Reading multiple consecutive registers.

modbus read holding register ru

Description

The block is used to read multiple consecutive registers.

Modbus functions: 3 (0x03)

Ports

Output

Data - received data
vector

Details

A vector of 16-bit unsigned integers.

Data type: UInt16.

Status - transaction status
scalar

Details

Designed for error control and error handling in the model. Error codes:

  • -1 - operation error.

If the operation is successful, the number of read registers will be returned.

Parameters

*Server ID slave device identifier
`0 (By default).

*Beginning read address initial read address, excluding offset
`0 (By default).

*Number of registers number of registers to read
`1 (By default).

Calculation Step - calculation step in seconds to get data in the real-time application
`-1 (By default).