ADVANTECH EdgeLink IoT Gateway Software Container Version Instruction Manual
ADVANTECH EdgeLink IoT Gateway Software Container Version

EdgeLink (Container Version)

Packages Included

Package NameContentFunction
CONTAINER-edgelink-docker-2.8.X-xxxxxxxx-amd64.debAgentDownload EdgeLink Studioprojects and startEdgeLink Container.
edgelink_container_2.8.x_Release_xxxxxxxx.tar.gzEdgeLink RuntimeRun 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 TypePortApplicationStatus
UDP6513AgentOccupied after the agent deb package is installed
TCP6001AgentOccupied after the agent deb package is installed
TCP502Modbus ServerOccupied if the Modbus server is enabled
TCP2404IEC 104 Channel 1Occupied if the IEC 104 Server(channel 1) is enabled
UDP47808BACnet ServerOccupied if the BACnet Server is enabled
TCP504WASCADAOccupied if the WASCADA server is enabled
TCP51210OPC UAOccupied if the OPC UA Sever is enabled
TCP443WebServiceHTTPS occupies this port
TCP41100eclrOccupied if the eclr is enabled

Instructions

  1. Build a Docker environment for EdgeLink Runtime
    1. Install Docker in Ubuntu system
      Reference link: https://docs.docker.com/engine/install/ubuntu/
    2. Install EdgeLink Runtime Docker image
      Step 1: Download EdgeLink-Docker Agent
      https://www.advantech.com.cn/zh-cn/support/details/firmware?id=1-28S1J4D
      Install EdgeLink Runtime
      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 3Set 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)
  2. Download project file by EdgeLink Studio
    1. Create a project and set the project node type to ‘Container.’
      EdgeLink Studio
      The IP address is the Ubuntu OS IP running the Docker environment.
      Docker environmenT
    2. 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).
      Container version
      Download the project after the configuration is complete.
      Download the project
    3. View the results
      View the results
    4. Container checking command
    5.  edgelink docker service management
    6. stop edge link- docker systemctl stop edge link – docker
    7. start edgelink-docker systemctl start edge link- docker
    8. restart edgelink-docker systemctl restart edge link – docker
    9. boot disable edgelink-docker systemctl disable edge ink-docker
    10. boot enable edge link- docker systemctl enable edge link- docker
    11. 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
command below
Using “exit” to exit the container to the host PC.
Using
Check the system log of container (you should enter the container first) tail -F /var/log/syslog
Check the system

 

Documents / Resources

ADVANTECH EdgeLink IoT Gateway Software Container Version [pdf] Instruction Manual
CONTAINER-edgelink-docker2.8.X, EdgeLink IoT Gateway Software Container Version, EdgeLink, EdgeLink IoT Gateway, IoT Gateway, IoT Gateway Software Container Version, Gateway Software Container Version, Gateway Software, Gateway

References

Leave a comment

Your email address will not be published. Required fields are marked *