Set Up the Gateway on the Wago PLS

How to Set Up Gateway on a Wago PLS

Written By Evolo Support

Last updated 2 days ago

Requirements

  • Wago PLS PFC200

  • Firmware version 3 or higher (Docker is already installed)

  • Only operating systems with 64-bit architecture are supported.

GitHub Repository: https://github.com/WAGO/docker-compose

Start the Evolo Gateway as a container

  1. Log in via the CLI (Command Line Interface)

  2. Create a `Evolo` directory in `/root/` and navigate to it: `mkdir /root/evolo

    ` `cd /root/evolo`

  3. Download the Docker Compose file: wget https://app.evolo.no/docker/docker-compose.yaml

  4. Log in to the Evolo Docker Registry:

    docker login registry.evolo.no


    Contact us to obtain your username and password for the registry.

  5. Start the Evolo Gateway: docker run --rm -t --privileged -v $(pwd):/compose -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker wagoautomation/docker-compose -f docker-compose.yaml up


    Description of the attributes:

    --rm:
    Removes the container when it stops.

    -t:
    Assigns a pseudo-TTY, so that output appears as if it comes from a terminal.

    --privileged:
    Grants extended privileges to the container, which is sometimes necessary for certain operations.

    -v $(pwd):/compose:
    Mounts the current directory ($(pwd)) to /compose-katalogen inside the container.

    -v /var/run/docker.sock:/var/run/docker.sock:
    Mounts the Docker socket inside the container. This allows the Docker client inside the container to communicate with the Docker daemon on the host.


    -v /usr/bin/docker:/usr/bin/docker:
    Mounts the Docker binary from the host into the container.

    wagoautomation/docker-compose: The
    Docker image to use.

    -f docker-compose.yaml up:
    Uses the docker-compose.yaml file from the current directory to start the services defined in it.

  6. Docker is now downloading the Evolo Gateway as a Docker container. The application will also restart when the PLC is rebooted.

Once the installation is complete and Docker is running the Evolo Gateway, you can proceed to Step 2. Add Gateway