Set up Gateway on Wago PLC

How to set up Gateway on a Wago PLS PFC200

Written By Aleksander Bless

Last updated 14 days ago

To set up Gateway on a Wago PLC, you can use Docker to run Evolo as a container.

Requirements

  • Wago PLS PFC200
  • Minimum firmware version 3 (Docker is already installed)

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

Start Evolo Gateway as a container

  1. Log in via CLI (Command Line Interface)
  2. Create a `Evolo` folder 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 wget is a tool for downloading files from the web. This command fetches the docker-compose.yaml file from the specified URL and saves it in the current directory (/root/ evolo)
  4. Start the Docker container: 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 --rm: Remove the container when it stops. -t: Assign a pseudo-TTY so that output appears as if it comes from a terminal. --privileged: Grant extended privileges to the container, which is sometimes necessary for certain operations. -v $(pwd):/compose: Mount the current directory ($(pwd)) to the /compose directory inside the container. -v /var/run/docker.sock:/var/run/docker.sock: Mount 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 Mount the Docker binary from the host into the container. wagoautomation/docker-compose: The Docker image to use. -f docker-compose.yaml up: Use the docker-compose.yaml file from the current directory to start the services defined in it.
  5. Docker is now downloading Evolo Gateway as a Docker container. The program will also restart upon a PLS reboot.

Once the installation is complete and Docker is running the Evolo Gateway, you can proceed to step 2. https://evolo.crunch.help/installator/legg-til-evolo-gateway#legge-til