Engee documentation

Modbus Write Register

Page in progress.

Writing a value to a single storage register.

modbus write register ru

Description

The block is used to write a value to a single storage register.

Modbus function: 6 (0x06).

Ports

Input

Data -. 16-bit unsigned integer (data type UInt16) for writing
scalar

Output

Status - operation status
scalar

Details

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

  • -1 - operation error.

If the operation was performed successfully, 1 will be returned.

Parameters

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

*Record starting address write address, not including offset
`0 (By default).

Calculation Step - calculation step in seconds for sending data from the real-time application
`-1 (By default).