Use VS Code as web-service on WAGO CC100 and CC100 Programming Interface for direct io access
521
This repository is a development repository that was created as part of a student project and is not regularly maintained. It is neither a stable version nor an official repository of WAGO GmbH & Co. KG.
This images contains Visual Studion Code as a webservice for the WAGO CC100 Compact Controller. It uses the wago_cc100_python module to easily access the inputs and outputs of the WAGO CC100. In addition, it provides the CC100 Programming Interface to control the inputs and outputs directly via a web interface.
We need to forward the port 8443 to make the vs code webservice and the port 3000 to make the CC100 Programming Interface accessible. The mapped hardware files are mounted in the container by volumes
docker run -d --name=code-server -e PUID=1000 -e PGID=1000 -e TZ=Europe/Berlin -p 8443:8443 -p 3000:3000 -v /home/code-server/config:/config --restart unless-stopped -v /sys/kernel/dout_drv:/home/ea/dout -v /sys/devices/platform/soc/44009000.spi/spi_master/spi0/spi0.0:/home/ea/din -v /sys/devices/platform/soc/40017000.dac:/home/ea/anout -v /etc/calib:/home/ea/cal/calib -v /sys/devices/platform/soc/48003000.adc:/home/ea/anin --privileged wagoeducation/cc100vscode
To access VS Code or CC100 Programming Interface type the IP address of the WAGO CC100 in your Webbrowser and add the according port
http:<IP address>:8443 for VS Code or
http:<IP address>:3000 for CC100 Programming Interface
Content type
Image
Digest
sha256:4c3d2f14a…
Size
409.5 MB
Last updated
about 3 years ago
docker pull wagoeducation/cc100vscode