Overview
Modbus itself is a specification for information exchange. Modbus TCP is a way to realize Modbus through TCP/IP. Therefore, all information is transmitted through TCP/IP. Modbus protocol belongs to C/S architecture, and Modbus Tcp Slave is used as a server to store all industrial equipment data to be read.
Use Scenario
Modbus belongs to C/S architecture. In industry, Modbusslave will be used as the server to store all industrial equipment data to be read, such as temperature, humidity, and distance. Modbus master station can be connected to slave through tcp/ip for communication;
Modbus Tcp is a way to realize Modbus through TCP/IP. Therefore, all messages are transmitted through TCP/IP. Modbus Tcp Master can send a read or write command to Slave, and Slave will reply a confirmation message after receiving the command. The communication of the whole Modbus is based on message exchange.
Product Components | Description |
modbusslave 0.0.5 amd64.deb | Modbus tcp slave RTE components |
modbusslave.library | Library file used by the upper computer program |
Installation Process
Installation Requirements
• iComputer produced by Sinsegye;
• iComputer can access to the Internet;
• Familiar with basic Linux operating commands
Install Modbus Tcp Slave 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 modbusslave under the ComponentManger field
Restart the RTE service to call the newly added modbusslave
Install a library for Metafacture
Open Metafacture, and click "Tools" - "Library Storage"
Click "Install" -- select the library file of modbus slave and click "Open"
Click "Library Manager" and "Add Library" in the project -- select modbus library and click "OK"