Engee documentation

Modbus Write Coil

Page in progress.

Implementation of protocol function 5 (0x05) - Force Single Coil.

modbus write coil ru

Description

Writing a single flag. The block implements the following protocol functions:

  • 5 (0x05) - Force Single Coil.

Ports

Input

Data -. 8-bit unsigned integer (data type UInt8) 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, excluding offset
`0 (By default).

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