Post by cihangur on OpC UA server on Raspberry Pi 64 SL runtime
CODESYS Forge
talk
(Post)
After my tests, I noticed two issues. 1- WinCC disconnects the connection after receiving the GetEndPointResponse message from CoDeSys. (I found it with UAExpert and Wireshark.) 2- It establishes a connection despite waiting for a while on the network with DNS. As a result of this information: I solved the problem by adding the line "193.193.193.150 t9pac" to the C:\Windows\System32\Drivers\etc\hosts file and making Windows accept messages coming from the IP number 193.193.193.150 as coming from t9pac. (t9pac is the name of my PLC running CoDeSys.) If there is a setting that will allow CoDeSys OPC UA to respond to GetEndPointRequest with its IP address, this problem will not occur.
Last updated: 2024-12-12
Post by nikgind on Codesys Communication Manger - Required information model version exists in the model repository but is not found
CODESYS Forge
talk
(Post)
Hi I am trying to import a custom information model that I created using UA Modeler. I have only added two new methods and two new object types. It is possible to add the information model to the Communication Manager and the two new object types are shown in the Information Model tab. After compiling i get the following error: Communication Manager [Device: PLC Logic: Application]: The information model http://opcfoundation.org/UA/ is required by http://yourorganisation.org/Bsp_3.1/ with a minimal publication date from 15.12.2023 but the device has only a model from 15.09.2021 installed. Probably the information model from 15.09.2021 is missing in the information model repository. The error message does not make sense to me. Should it not be “Probably the information model from 15/12/2023 is missing in the information model repository”? Anyway I have installed the information model from 15/12/2023 but not from 15/09/2021. Which makes the error message even stranger.
Last updated: 2024-06-09
Post by gilbert-mh on CAA net base TCP client cause PLC to crash - Kernel message : N0HZ_local_softirq_pending 80
CODESYS Forge
talk
(Post)
Hello all, I have been trying to implement a TCP client on a Festo PLC (CPX-E-CEC-M1) and it looks like it works well except that after some time (greatly varies between a few hours to more than 100h) my PLC crash. When I look into the log file the only thing I see is that before the crash happens a few kernel warnings : N0HZ_local_softirq_pending 80 and then the crash. I've looked into this warning and from what I could find on the net it seems that this is warning is triggered when the ethernet link is down. I've tried to correct this bug for quite some time and what I know is that : - The crash is caused by my TCP client, when I remove it from my code I see no crash - The crash happens more quickly the more the TCP client is used. - The time before the crash is not directly proportional to the number of communications or their size. But it looks like it is just more likely to happen if the client connect to the server at a higher frequency. - The precedent observation makes it seem unlikely that the crash is caused by some memory overflow because then the crash speed would be more proportional to the amount of data exchanged. SO from these observations, I believe that the crash could be caused by the PLC trying to connect to a server while there is some kind of issue with the ethernet link resulting in the PLC getting stuck in some indefinite state and making it crash. This still seems a bit unlikely to me because if the ethernet is down it simply shouldn't be able to contact the server and the communication would just fail which doesn't cause my PLC to crash. Has anyone encountered the same kind of problem (with the same kernel message) ? I am pretty sure the warning is not the direct cause of the crash but just an indicator that something is wrong with my PLC. Thanks in advance
Last updated: 2024-01-12
How to call the same program from library and get the vars updated.
CODESYS Forge
talk
(Thread)
How to call the same program from library and get the vars updated.
Last updated: 2023-08-23
how to transfer raspberrypi runtime license from sdcard to dongle without the original raspi?
CODESYS Forge
talk
(Thread)
how to transfer raspberrypi runtime license from sdcard to dongle without the original raspi?
Last updated: 2021-04-13
Using a method called from opcua fill an specific array position
CODESYS Forge
talk
(Thread)
Using a method called from opcua fill an specific array position
Last updated: 2022-02-18
WIBU-Systems AG CmStick (article no. 1001) not found from Licence Manager
CODESYS Forge
talk
(Thread)
WIBU-Systems AG CmStick (article no. 1001) not found from Licence Manager
Last updated: 2019-03-20
2D array , data move from a column to another column
CODESYS Forge
talk
(Thread)
2D array , data move from a column to another column
Last updated: 2011-03-23
is it possible to connect to a newer runtime from HMI runtime 3.5.16
CODESYS Forge
talk
(Thread)
is it possible to connect to a newer runtime from HMI runtime 3.5.16
Last updated: 2024-07-02
Post by bertrand-major on Cancelling a selection from a "combobox array" in Visu
CODESYS Forge
talk
(Post)
Hi Joanm, Did you get an answer from anybody in anather section ?
Last updated: 2024-07-17
Test a manager script (.tsd file{xml document}) not starting from Git CI heedlessly/ without ui
CODESYS Forge
talk
(Thread)
Test a manager script (.tsd file{xml document}) not starting from Git CI heedlessly/ without ui
Last updated: 2024-08-07
Test a manager script (.tsd file{xml document}) not starting from Git CI heedlessly/ without ui
CODESYS Forge
talk
(Thread)
Test a manager script (.tsd file{xml document}) not starting from Git CI heedlessly/ without ui
Last updated: 2024-08-07
Test a manager script (.tsd file{xml document}) not starting from Git CI heedlessly/ without ui
CODESYS Forge
talk
(Thread)
Test a manager script (.tsd file{xml document}) not starting from Git CI heedlessly/ without ui
Last updated: 2024-08-07
The Ultimate Guide to Taxi Services in the UK: From Airports to City Travels
CODESYS Forge
talk
(Thread)
The Ultimate Guide to Taxi Services in the UK: From Airports to City Travels
Last updated: 2024-08-08
Navigating the UK with Ease: Your Guide to Taxi Services from Major Cities to Key Destinations
CODESYS Forge
talk
(Thread)
Navigating the UK with Ease: Your Guide to Taxi Services from Major Cities to Key Destinations
Last updated: 2024-08-08
Test a manager script (.tsd file{xml document}) not starting from Git CI heedlessly/ without ui
CODESYS Forge
talk
(Thread)
Test a manager script (.tsd file{xml document}) not starting from Git CI heedlessly/ without ui
Last updated: 2024-08-08
Post by kislov on Disable Communications to 'Modbus_Server_COM_Port' from the logic
CODESYS Forge
talk
(Post)
Modbus_Slave_COM_Port.Enable := FALSE; where "Modbus_Slave_COM_Port" - slave device name from Device Tree
Last updated: 2024-08-30
Modbus: Is there a way to get the channel index from the channel name?
CODESYS Forge
talk
(Thread)
Modbus: Is there a way to get the channel index from the channel name?
Last updated: 2024-10-21
Post by pernockham on Engineering IDE from linux?
CODESYS Forge
talk
(Post)
A good start seems to be this YT from Jakob Sagatowski: https://www.youtube.com/watch?v=Vqk5Td-uWqk
Last updated: 2025-03-05
FbHTTPs_Get how to get data from a website and use it in codesys
CODESYS Forge
talk
(Thread)
FbHTTPs_Get how to get data from a website and use it in codesys
Last updated: 2025-06-16
How can you get the active frame index from a frame
CODESYS Forge
talk
(Thread)
How can you get the active frame index from a frame
Last updated: 2025-10-14
PLCwinNT decrease from 1ms to 250μs the task cyclic timer ?
CODESYS Forge
talk
(Thread)
PLCwinNT decrease from 1ms to 250μs the task cyclic timer ?
Last updated: 2015-08-13
After switching from Beckhoff EL6224 to EJ6224: IO-Link not running
CODESYS Forge
talk
(Thread)
After switching from Beckhoff EL6224 to EJ6224: IO-Link not running
Last updated: 2022-03-17
getting the position and rotation angles from objects used in a visualisation
CODESYS Forge
talk
(Thread)
getting the position and rotation angles from objects used in a visualisation
Last updated: 2016-08-15
SEGV when using an Ethernet_IP_Scanner/Profinet-Master coming from the ETHTOOL syscall
CODESYS Forge
talk
(Thread)
SEGV when using an Ethernet_IP_Scanner/Profinet-Master coming from the ETHTOOL syscall
Last updated: 2023-08-16
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND or OR.