Hi,
Just installed a new raspberry-pi using raspbian 2019-04-08 with ssh and everything working ok.
Then I installed Codesys V3.5 SP14 Patch 2 on a fairly clean Windows 10 machine.
Also installed the "CODESYS Control for Raspberry PI 3.5.14.20.package" without any issues.
I deployed the runtime using Tools -> Update Rasbperry PI without issues and I can get system info and so on.
But... When I try to connect to the runtime in CODESYS it can't find any.
- I'v used the default Gateway-1 without success.
- Added a second gateway with the IP of the RPI and the gateway icon shows green but no devices found.
- Changed to WiFi on the RPI and tried the same 2 gateway alternatives again but no devices found.
Switched
- Changed between multi core and standard but no devices found.
- rebooted several times
- stopped and started the runtime
- Checked that ports are being listened to on the pi
- Checking traffic on port 11740 on the pi using tcpdump (and there are some)
- The gateway on the pi can see the WinControl device on the Windows Computer
- It can be seen by SoMachine Logic Builder V4.3 (Schneider branded CODESYS 3.5.3 or something) on another computer
This is frustrating, what am I doing wrong?
//Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I't attaching the file but added the extension .txt since just .log was not allowed.
Since it can be seen by SoMachine, my guess is that the issue is with CODESYS on the windows machine.
Hi,
log is ok no error, I think you are
using multicore on runtime side and in CODESYS project it is Raspberry PI SL ?
Should fit... both should be the same target.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Just installed a new raspberry-pi using raspbian 2019-04-08 with ssh and everything working ok.
Then I installed Codesys V3.5 SP14 Patch 2 on a fairly clean Windows 10 machine.
Also installed the "CODESYS Control for Raspberry PI 3.5.14.20.package" without any issues.
I deployed the runtime using Tools -> Update Rasbperry PI without issues and I can get system info and so on.
But... When I try to connect to the runtime in CODESYS it can't find any.
- I'v used the default Gateway-1 without success.
- Added a second gateway with the IP of the RPI and the gateway icon shows green but no devices found.
- Changed to WiFi on the RPI and tried the same 2 gateway alternatives again but no devices found.
Switched
- Changed between multi core and standard but no devices found.
- rebooted several times
- stopped and started the runtime
- Checked that ports are being listened to on the pi
- Checking traffic on port 11740 on the pi using tcpdump (and there are some)
- The gateway on the pi can see the WinControl device on the Windows Computer
- It can be seen by SoMachine Logic Builder V4.3 (Schneider branded CODESYS 3.5.3 or something) on another computer
This is frustrating, what am I doing wrong?
//Peter
Hi,
could you check if the runtime on pi is up and running?
cat /tmp/codesyscontrol.log
give me this output
and do a
top
BR
Edwin
I't attaching the file but added the extension .txt since just .log was not allowed.
Since it can be seen by SoMachine, my guess is that the issue is with CODESYS on the windows machine.
codesyscontrol.log.txt [103.5 KiB]
Hi,
log is ok no error, I think you are
using multicore on runtime side and in CODESYS project it is Raspberry PI SL ?
Should fit... both should be the same target.
BR
Edwin
Still get "No device is responding to the scan request." when adding IP manually and "Scan network" returns nothing.
Reinstalled CODESYS on the windows machine and now it works...
Probably something happened with the gateway
I had the same problem, I fixed it by starting the runtime on the Pi again. Tools>Update Raspberry Pi>"Runtime" Start.
Hope it helps