Arduino-modbusSetup
Serial port configuration and Modbus server configuration.
blockType: CFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package. equipment. |
Block Arduino-modbusSetup performs serial port configuration and Modbus server configuration.
Ports
Output
#
conn
—
connection descriptor
true | false
Details
It is the input port for the blocks Arduino-modbusWrite and Arduino-modbusRead.
| Data types |
|
| Complex numbers support |
No |
Parameters
Main group
# Идентификатор сервера: — identification number of the Slave device
Details
The identification number of the Slave device from 1 before 247.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Номер канала Serial: —
list of available channels to use
0 | 1 | 2 | 3
Details
The parameter value determines which object (Serial/Serial1/… corresponding to the numbers 0/1/…) will be used for data exchange.
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Скорость передачи данных: — the number of bits transmitted on a given serial port
Details
The number of bits transmitted on the specified serial port.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Шаг расчёта: — the period from which the block will be called
Details
The period for which this block will be called.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
