Modbus Write Register
Writing a value to a single storage register.
blockType: CFunction
| 
 | Path in the library:  | 
Description
| To work with the block, install/update the support package RITM blocks. | 
Block Modbus Write Register It is used to write values to a single storage register.
Modbus function: 6 (0x06).
Ports
Input
#
 Data
—
16-bit unsigned integer for writing
scalar
Details
| Data types | 
 | 
| Complex numbers support | No | 
Output
#
 Status
—
transaction 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.
| Data types | 
 | 
| Complex numbers support | No | 
Parameters
Параметры
# Server ID — slave device ID
Details
| Default value | 
 | 
| Program usage name | 
 | 
| Tunable | No | 
| Evaluatable | Yes | 
# Начальный адрес записи — write address, excluding offset
Details
| Default value | 
 | 
| Program usage name | 
 | 
| Tunable | No | 
| Evaluatable | Yes | 
# Шаг расчёта, с: — calculation step in seconds for sending data from a real-time application
Details
| Default value | 
 | 
| Program usage name | 
 | 
| Tunable | No | 
| Evaluatable | Yes | 
