PLC4x docker container connection timeout to PLC

234 views Asked by At

We've been trying to connect to a PLC but it's not working. We used the basic example "hello-world-plc4x" with JAVA from the PLC4x Github repo.
When we start the PLC4x from the console
java -jar .\plc4j-datacare-plc4x-0.9.1-uber-jar.jar --connection-string s7://10.250.46.28 --field-addresses %DB67:10:INT[1]
it's working but as soon as we build the container an start running the container it is not working because of the timeout error as you can see in the Docker log file:

Connection timeout

Can someone help us to fix the issue or does anyone have any suggestions?

0

There are 0 answers