Overview
Modbus itself is a specification for information exchange, and Modbus Rtu is a way to realize Modbus through a serial port. Therefore, all information is transmitted through a serial port. Modbus protocol belongs to C/S architecture, and Modbus Rtu Master can read and write Rtu Slave address to realize data interaction.
Use Scenario
• Inter-equipment data acquisition and monitoring (e.g. PLC connection to sensors and HMI).
• Data transmission in the process automation.
• Remote monitoring and control system.
Overall architecture
Modbus Rtu is a way to realize Modbus through serial port. Therefore, all messages are transmitted through a serial port. ModbusRtu Master can send a read or write command to Rtu Slave, and Rtu Slave will reply a confirmation message after receiving the command. The communication of the whole Modbus is based on message exchange.
Product Components | Description |
simodbusmaster_1.0.9_amd64.de b | Modbus rtu Master RTE component |
SF4100_ModbusMaster_1.0.0.2.libr ary | Modbus rtu Master Metafacture library file |
Installation Process
Installation Requirements
• iComputer produced by Sinsegye;
• Familiar with basic Linux operating commands
Install Modbus Rtu Master RTE component on the iComputer
Upload the deb package to the /home/sinsegye directory in the Linux environment of the iComputer
•After uploading, execute the installation command on the iComputer (Refer to the screenshot below. If the module file name is changed, the file name in the command line will be changed accordingly)
Modify the configuration file of RTE, and add simodbusmaster under ComponentManger module
Restart the RTE service to call the newly added simodbusmaster
Install a library for Metafacture
Open Metafacture, click on "Tools" -- "Library Storage"
Click "Install" -- select the library file of the modbus master and click "Open"
In the project, click "Library Manager" -- "Add Library" -- Select modbus library and click "OK"