Engee documentation

Modbus Read Coil Status

Page in progress.

Reading multiple consecutive bits.

modbus read coil status ru

Description

The block is used to read multiple consecutive bits.

Modbus functions: 2 (0x02)

Ports

Output

Data - received data
vector

Details

Vector of 8-bit unsigned integers

Data type

UInt8.

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 bits will be returned.

Parameters

*Server identifier 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).