ADVANTECH EdgeLink IoT Gateway Software Container Version Instruction Manual
- June 12, 2024
- Advantech
Table of Contents
ADVANTECH EdgeLink IoT Gateway Software Container Version Instruction
Manual
EdgeLink (Container Version)
Packages Included
Package Name | Content | Function |
---|---|---|
CONTAINER-edgelink-docker-2.8.X-xxxxxxxx-amd64.deb | Agent | Download EdgeLink |
Studioprojects and startEdgeLink Container.
edgelink_container_2.8.x_Release_xxxxxxxx.tar.gz| EdgeLink Runtime| Run
EdgeLink Runtime.
Recommended environment: Docker environment (supports Ubuntu 18.04 i386)
Description: Up to 100 tags can be added for a 2-hour trial of EdgeLink
container as default.
Activation method: EdgeLink container should be activated in a physical
machine rather than a virtual one. For activation method details, please
contact Advantech.
Description of Host Port Occupation
Port Type | Port | Application | Status |
---|---|---|---|
UDP | 6513 | Agent | Occupied after the agent deb package is installed |
TCP | 6001 | Agent | Occupied after the agent deb package is installed |
TCP | 502 | Modbus Server | Occupied if the Modbus server is enabled |
TCP | 2404 | IEC 104 Channel 1 | Occupied if the IEC 104 Server(channel 1) is |
enabled
UDP| 47808| BACnet Server| Occupied if the BACnet Server is enabled
TCP| 504| WASCADA| Occupied if the WASCADA server is enabled
TCP| 51210| OPC UA| Occupied if the OPC UA Sever is enabled
TCP| 443| WebService| HTTPS occupies this port
TCP| 41100| eclr| Occupied if the eclr is enabled
Instructions
-
Build a Docker environment for EdgeLink Runtime
-
Install Docker in Ubuntu system
Reference link: https://docs.docker.com/engine/install/ubuntu/ -
Install EdgeLink Runtime Docker image
Step 1: Download EdgeLink-Docker Agent
https://www.advantech.com.cn/zh-cn/support/details/firmware?id=1-28S1J4D
Step 2: Install the Agent package. (If failed, repeat this step after Step 5) Apt install ./CONTAINER-edgelink-docker-2.8.0-202112290544-amd64.deb
Note: CONTAINER-edgelink-docker-2.8.0-202112290544-amd64.deb is your file name.
Step 3 Set up soft links for serial ports For EdgeLink, /dev/ttyAP0 is COM1, /dev/ttyAP1 is COM2 and so on. For example, I want /dev/ttyS0 to be EdgeLink COM1. I should use “sudo ln -s /dev/ttyS0 /dev/ttyAP0” to set up the soft link. (Please make sure there is no /dev/ttyAP0 in you systembefore you set up the soft link) -
Download project file by EdgeLink Studio
-
- Create a project and set the project node type to ‘Container.’
The IP address is the Ubuntu OS IP running the Docker environment.
- Create a project and set the project node type to ‘Container.’
-
Configure the required functions in the project. (For help, refer to the Project Implementation section).
The following is an example of collecting data from a Modbus/TCP slave device:
It simulates a Modbus/TCP device by Modsim on the PC, and then collects data by EdgeLink
(Container version).
Download the project after the configuration is complete.
-
View the results
-
Container checking command
-
edgelink docker service management
-
stop edge link- docker systemctl stop edge link – docker
-
start edgelink-docker systemctl start edge link- docker
-
restart edgelink-docker systemctl restart edge link – docker
-
boot disable edgelink-docker systemctl disable edge ink-docker
-
boot enable edge link- docker systemctl enable edge link- docker
-
Check Container status docker ps
Enter the container in the host computer.
Because container share the network with the host computer (this Ubuntu).
Needs the command below to enter.
docker exec -it edgelink /bin/bash
Using “exit” to exit the container to the host PC.
Check the system log of container (you should enter the container first) tail
-F /var/log/syslog
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>