Skip to content

Modbus Server (Slave)

Modbus Server

Where can you find it
Modbus Server is placed under the Data Connector menu.

Find

Definition
Modbus is a server that stores data. It behaves as a standard modbus slave. The server can storage up to 65536 coils, up to 65536 discrete inputs, up to 65536 holding registers and up to 65536 input registers. The user can choose if your server will run over a TCP connection or a serial port. Every time the server is turned on, all values are resetted to 0. This kind of connector has its own set of Lua functions, you can see more by visiting this page

Required and Extra fields
- Name*: the Name of the Modbus Server;
- Enabled: checkbox for Enable;
- Modbus Type*: select the connection mode to the modbus server (TCP or RTU);
- Listen TCP Address*: only for TCP connection, it is the TCP address of the modbus server;
- Listen RTU Serial*: only for RTU connection, it is the serial RTU address modbus server;
- Baud Rate*: only for RTU connection;
- Databits*: only for RTU connection, it can vary from 4 to 8;
- Parity*: only for RTU connection, it can vary between "N" (None), "E" (Even) and "O" (Odd);
- Stopbits*: only for RTU connection, it can vary from 1 to 2;
- Timeout*: only for RTU connection;