please after update to new version of CODESYS IDE V3.5 SP19, I can't scan and connect Raspberry Pi 4 Device with local Gateway. I've been trying to find a solution for a few days, but I haven't found.
See attached pictures.
CODESYS runtime and Gateway is installed on Device (i can read the status), but the connection is not estabilished. It seems, that Device don't answer right on TCP request (RST Flag is set in Wireshark packet data capture).
There is "Gateway not configured properly" in Security Screen - where can I configure?
check again with 'top' if the runtime runs with the setting..it will i'm sure.
then add new Gateway in CODESYS with the the IP of your PI an scan via this new added Gateway
Last edit: eschwellinger 2023-05-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, eschwellinger,
I have the same problem, but I can not resolve the problem following this forum.
There are my situation:
pi@RevPiXXXX:~ $ uname -a
Linux RevPiXXXX 5.10.120-rt70-v7l #1 SMP PREEMPT_RT Thu, 28 Jul 2022 10:36:48 +0200 armv7l GNU/Linux
After "top":
It looks like runtime is not running.
One more piece of information to refer to, when I reboot the device it is possible to scan the device.
Hi,
please after update to new version of CODESYS IDE V3.5 SP19, I can't scan and connect Raspberry Pi 4 Device with local Gateway. I've been trying to find a solution for a few days, but I haven't found.
See attached pictures.
CODESYS runtime and Gateway is installed on Device (i can read the status), but the connection is not estabilished. It seems, that Device don't answer right on TCP request (RST Flag is set in Wireshark packet data capture).
There is "Gateway not configured properly" in Security Screen - where can I configure?
Thanks for tips!
Lubomir.
could you login to the Pi by ssh and check
'top' see if gateway and runtime are up and running...
Yes, I have this tasks running from SSH login, see picture. Is it OK?
no only the gateway is up and running.. could you do a 'uname -a'?
Last edit: eschwellinger 2023-05-17
if it shows a 64bit kernel as result add with
sudo nano /boot/config.txt
arm_64bit=0
after reboot it should work
https://faq.codesys.com/pages/viewpage.action?pageId=153321520
Last edit: eschwellinger 2023-05-17
Hello Edwin,
thanks for tips, but still it didn't help - same result.
'uname -a' shows:
---without arm64bit=0 (before)
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
---with arm64bit=0 (after)
Linux raspberrypi 6.1.21-v7l+ #1642 SMP Mon Apr 3 17:22:30 BST 2023 armv7l GNU/Linux
Security screen still shows "Gateway not configured properly". Firewall is OFF.
Thanks for info!
check again with 'top' if the runtime runs with the setting..it will i'm sure.
then add new Gateway in CODESYS with the the IP of your PI an scan via this new added Gateway
Last edit: eschwellinger 2023-05-19
Hi, eschwellinger,
I have the same problem, but I can not resolve the problem following this forum.
There are my situation:
pi@RevPiXXXX:~ $ uname -a
Linux RevPiXXXX 5.10.120-rt70-v7l #1 SMP PREEMPT_RT Thu, 28 Jul 2022 10:36:48 +0200 armv7l GNU/Linux
After "top":
It looks like runtime is not running.
One more piece of information to refer to, when I reboot the device it is possible to scan the device.
Looking forward your reply.
with latest version?
Hi Edwin,
You are right :), It works with new Gateway-2, where is set IP of remote Device.
So I don't have to use the old way with "localhost" anymore?
In picture You see TOP tasks and comparison between "localhost" and "192.168.2.50" Gateway.
Thanks for help!