Modbus RTU Setup
Page in progress. |
Configuring the connection with the server (slave device) via Modbus RTU protocol.
blockType: CFunction
Path in the library:
|
Description
The unit is used to set up connection with the server (slave device) via Modbus RTU protocol.
Parameters
Port Name -
port name to configure
"/dev/ttyS0" (by default)
Details
The available port names can be obtained in a pop-up window by clicking on the "Get Available Port Information" button in the block mask.
Rate -
transmit/receive speed
9600 (By default)
| `19200 | `38400 | `57600 | `115200.
*parity bit
Receive-to-transmit error detection method
No (By default)
| Even
| Odd
Details
-
Even
- check for odd; -
Odd
- parity check.
Data bits -
number of transmit-receive data bits
8 (by default)
| 7` |
6` | 5
*Stop bits
number of receive-transmit stop bits
One (by default)
| Two
.
*Server identifier
connection identifier for receiving and transmitting units
0 (By default)
Details
Valid values: from 0
to 15
.
Maximum number of reconnection attempts - -
number of reconnection attempts to the server during model initialisation
`5 (By default).