I have been struggling for over a week to program my rapspberry pi 4 with codesys. I purchased the license. I installed the runtime and the gateway, and I can see the pi in the communication settings. But cannot log in. I have checked the status of the pi with sudo systemctl status codesyscontrol and it is running. I have enabled traffic to and from the pi with iptables and checked the logs and all looks good. I just cannot connect through the codesys ide. Can anyone help me before I lose my mind?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the search of the rts works via broadcast-messages, programming with tcp-port on p2p-connection woth port-hopping, handled by runtime after siccesfully handshake.
I have been struggling for over a week to program my rapspberry pi 4 with codesys. I purchased the license. I installed the runtime and the gateway, and I can see the pi in the communication settings. But cannot log in. I have checked the status of the pi with sudo systemctl status codesyscontrol and it is running. I have enabled traffic to and from the pi with iptables and checked the logs and all looks good. I just cannot connect through the codesys ide. Can anyone help me before I lose my mind?
which ports in detail are configured.
the search of the rts works via broadcast-messages, programming with tcp-port on p2p-connection woth port-hopping, handled by runtime after siccesfully handshake.
look at this entry on forge
https://forge.codesys.com/forge/talk/Runtime/thread/4078a2ed28/
This is what I see in codesys window. And here is with the netstat command on the pi
Last edit: kthomas 2024-06-23
your device in the device tree is Pi 64 online you have Pi MC (32bit)
- update device in the device tree to Pi MC then it will work.
Thanks that did it!