ADVANTECH EdgeLink IoT Gateway Software Container Version Instruction Manual

June 12, 2024
Advantech

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

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

  1. Build a Docker environment for EdgeLink Runtime

  2. Install Docker in Ubuntu system
    Reference link: https://docs.docker.com/engine/install/ubuntu/

  3. 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 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)

  4. 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
  5. 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

  6. View the results
    View the results

  7. Container checking command

  8.  edgelink docker service management

  9. stop edge link- docker systemctl stop edge link – docker

  10. start edgelink-docker systemctl start edge link- docker

  11. restart edgelink-docker systemctl restart edge link – docker

  12. boot disable edgelink-docker systemctl disable edge ink-docker

  13. boot enable edge link- docker systemctl enable edge link- docker

  14. 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

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals