Hey! Trying to have my raspberry pi as a profinet device linked to my S7 1200 PLC. Currently I'm facing an issue where the bus is not running.
CODESYS V3.5 SP16 Patch 4 +
Raspberry pi runtime 188.8.131.52
I've also followed this guide:
I also attached the log files from the Profinet Device.
The device shows up in TIA but its not reachable, obviously cause the bus isn't running. I've tried changing a lot of settings but can't seem to figure it out, would appreciate all the help i can get, thanks!
Managed to fix it by adding a PN_Controller besides the profinet device and then exporting a new GSDML to TIA. When the TIA project has been loaded and is up and running then the bus is active. However, now I've got a new problem where the I/O's don't show up in TIA.. Anyone with a familiar issue?
did you add:
to the config file?
Then PN controller want to set the IP adress of the device usually.
Therefore you need to allow it with this setting.
(sometimes you need to check then Linux network manger should not be configured as dhcp in case you are in an public network where dhcp adresses are served...!
Hey! Got it to work now. Kind of.
I already had that in my config file, but it still didn't work. However, It works if i start up everything in TIA aswell as running the runtime then typing:
sudo ifdown eth0
sudo ifup eth0
to reset the network adapter, then all goes green in both codesys aswell as TIA. I would still say this is some kind of weird glitch as this most likely isn't supposed to be happening..
you should see some log messages in the plclogger...
If you mean logs on the profinet device, see the attached image.
Hmm, can't seem to find anything named "plclogger" ?
edit: Looked through older posts and saw that you ment the log files in the root device. See attached image.
Log in to post a comment.