Modbus Server(Slave) Serial Protocol(RTU and Ascii)
Jump to navigation
Jump to search
File:TArduinoModbusServerSerial.png
Summary
Handles Modbus Serial communication (RTU and ASCII) for a Modbus Server (Slave).
Description
The **Modbus Server (Slave) Serial Protocol** component enables a device to function as a Modbus Slave over a serial connection. It supports both **RTU** (binary) and **ASCII** formats for compatibility with a wide range of Modbus Master devices.
This component processes serial Modbus frames, validates packets, and outputs decoded Modbus messages for handling by a Modbus Device. It is ideal for embedded and industrial systems that need to act as Modbus Slaves communicating with PLCs, controllers, or HMIs.
Diagram:
Categories
- File:TArduinoCommunicationCategory.png Category Communication – Modbus and industrial communication protocols.
Properties
- Ascii Format (boolean) – Enables ASCII mode (when disabled, RTU mode is used).
- Input Buffer Size Limit – Maximum size of the receive buffer (default: 1024).
- Packet Detect Interval (mS) – Timeout window for detecting complete Modbus packets (default: 100).
Pins
Input Pins
- In – Serial input data stream.
Output Pins
- Out – Serial output data stream.
- Modbus – Decoded Modbus request/response stream for use with a Modbus Device.