Good morning, Community.
I asked this question before but didn’t clarify my application and questions.
I got some material on installing Python in Docker and running a simple Python program to display “Hello World.” Tech Note: Dockerizing your Python Application on a Wago Controller
Also, I found an advanced Docker container for Python and Modbus, but there is no documentation that explains how to use it: https://hub.docker.com/layers/wagoautomation/python/3.8-pysnmp-pymodbus-alpine-14/images/sha256-c174e404802d8f8c61381f06bb25d6f93060d97c650cf08c2809f24faaa7c7ff?context=explore
Here are my application details:
I have a few Machine Learning time series transformer-trained models that use the Numpy and PyTorch libraries to make target predictions based on input features.
The input features are process variables of a natural gas compressor acquired by the PFC300 via Modbus TCP/IP using the Modbus configurator in Codesys 3.5. The PFC300 acquires the real-time process variables and feeds them to the Python ML model. The ML model estimates the target value and stores the values along the input features used to calculate it in a CSV file on the PLC SD card.
According to the Linux command “uname—m” and its manual, the PFC300 has an aarch64
architecture, which is the 64-bit Arm-v8 instruction set, also called arm64.
Question 1: Does the PFC300 support PyTorch and Numpy libraries?
**Question 2: Which Linux image should I use? AI recommended to use Python:3.11-slim-bookworm due to the use of PyTorch, Pandas, and Numpy.
Thank you so much for your attention and participation.