Dear All,
This is regarding Codesys Virtual control SL demo version. I am facing one issue. First I will describe the steps what I have followed till now.
1. In a PC I have Windows OS. Here Codesys IDE is installed, and also using the installer option of IDE I have also installed Codesys Virtual control SL.
2. A edge-gateway is also running in the same windows PC as local host.
3. Next I have a seperate PC with Ubuntu OS with docker installed. This machine is in the same network.
4. Now I have created a project in Windows machine using device "Codesys Virtual control SL".
5. In the Ubuntu machine I am running the Codesys Virtual control SL as docker and it is using the ubuntu machine network only.
6. Next using the localhost edge-gateway when I am searching the virtual control SL docker it is able to detect it. (screenshot attached)
7. But after creating the creadentials it is telling No Device is responding.
8. I have also checked the wireshark logs and able to see that in destination port 11740 data is coming.
9. From windows PC telnet ip 11740 is also working.
10. Ping is also working
Hi,
which CODESYS Version are you using exactly?
Either update to 3.5.21.x if you are on 3.5.20.x if not - add a more secure pw.
Seems that on adding the login credentials it is mandatory in 4.16.0.0 -to have complianct to password policy
seems a bug that the message not occure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Thank you for your reply.
1. Codesys IDE version is it showing 3.5 SP 20. please check the attachment.
2. Codesys Virtual control for SL -- version is 4.16
Thanks once again. Right now the codesys virtual control sl docker is using the host ip itself not the docker ip. so the local host edge gateway was able to search the virtual plc.
so you are telling me instead of local host edge gateway I should use the edge gateway docker version?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All,
This is regarding Codesys Virtual control SL demo version. I am facing one issue. First I will describe the steps what I have followed till now.
1. In a PC I have Windows OS. Here Codesys IDE is installed, and also using the installer option of IDE I have also installed Codesys Virtual control SL.
2. A edge-gateway is also running in the same windows PC as local host.
3. Next I have a seperate PC with Ubuntu OS with docker installed. This machine is in the same network.
4. Now I have created a project in Windows machine using device "Codesys Virtual control SL".
5. In the Ubuntu machine I am running the Codesys Virtual control SL as docker and it is using the ubuntu machine network only.
6. Next using the localhost edge-gateway when I am searching the virtual control SL docker it is able to detect it. (screenshot attached)
7. But after creating the creadentials it is telling No Device is responding.
8. I have also checked the wireshark logs and able to see that in destination port 11740 data is coming.
9. From windows PC telnet ip 11740 is also working.
10. Ping is also working
===========================================LOGS =========================
sudo ss -tlnp | grep -E "(443|1217|4840|8080|11740)"
LISTEN 0 10 10.135.114.142:4840 0.0.0.0: users:(("codesyscontrol.",pid=41864,fd=21))
LISTEN 0 10 172.18.0.1:4840 0.0.0.0: users:(("codesyscontrol.",pid=41864,fd=24))
LISTEN 0 10 172.17.0.1:4840 0.0.0.0: users:(("codesyscontrol.",pid=41864,fd=23))
LISTEN 0 10 127.0.0.1:4840 0.0.0.0: users:(("codesyscontrol.",pid=41864,fd=26))
LISTEN 0 10 192.168.122.1:4840 0.0.0.0: users:(("codesyscontrol.",pid=41864,fd=22))
LISTEN 0 5 0.0.0.0:11740 0.0.0.0: users:(("codesyscontrol.",pid=41864,fd=20))
LISTEN 0 128 0.0.0.0:8080 0.0.0.0: users:(("python3",pid=1280,fd=4))
LISTEN 0 10 172.19.0.1:4840 0.0.0.0: users:(("codesyscontrol.",pid=41864,fd=25))
Hi,
which CODESYS Version are you using exactly?
Either update to 3.5.21.x if you are on 3.5.20.x if not - add a more secure pw.
Seems that on adding the login credentials it is mandatory in 4.16.0.0 -to have complianct to password policy
seems a bug that the message not occure.
Hi, Thank you for your reply.
1. Codesys IDE version is it showing 3.5 SP 20. please check the attachment.
2. Codesys Virtual control for SL -- version is 4.16
Please reply back.
I would just use latest CODESYS Version, this will solve it.
Last edit: eschwellinger 2025-08-07
Thank you. With a strong password it is working.
Hi, after this when I am trying login I am facing another error. However in the logfile there is no error. Please check the screenshot
hm..please delpoy a virtual edgegateway beside the virtual control and use this as EdgeGateway to login to your virtual plc.
Thanks once again. Right now the codesys virtual control sl docker is using the host ip itself not the docker ip. so the local host edge gateway was able to search the virtual plc.
so you are telling me instead of local host edge gateway I should use the edge gateway docker version?
yes I would recommend that..
Thank you. Its working now.