OPC Da Server Code Meter Issues after Enabling License
CODESYS Forge
talk
(Thread)
OPC Da Server Code Meter Issues after Enabling License
Last updated: 2024-05-03
Post by gediminas on Datasource OPC UA client system failure
CODESYS Forge
talk
(Post)
I am using CODESYS v3.5 SP20 Patch 3 / Control for BeagleboneBlack SL v4.13 and after some time the OPC UA Server crashes. However, Runtime still works without any issues. The events leading up to the OPC server crash are the most suspicious: 1) Mutex deadlock detected - owner thread died, and 2) Runtime received SIGABRT. And it seems very similar with this topic except used versions - issues should be fixed with previous SP's. I can't seem to find any information about these events. Need some pointers in the right direction on how I can fix this problem.
Last updated: 2024-10-25
Post by alexgooi on OPC-UA and other communication questions
CODESYS Forge
talk
(Post)
Dear forum, I currently have a big question mark above my head, and maybe this forum can shine some light on the situation. I recently updated to Codesys 3.15 SP19 Patch 6. And now I’m trying to setup the OPC-UA server, besides that I’m trying to connect to the controller with the Codesys V3 (Ethernet) protocol. OPC-UA I have installed the correct licenses on my controller (Runtime and communication). I’m able to connect to the controller with an OPC-UA client, and I’m able to browse the tags, so far so good. Therefore I’m assuming that the OPC-UA server is running on the controller. But now the strange part, in the device security settings I have set the communication Policy to BASCI256SHA256 ( I also have tried the other ones) and the communication mode is set to secure if possible (I also have tried all the other ones) (see picture). With these settings I would assume that I would only be able to login with a Basic256SHA256 policy with a client. But the opposite is true, I am able to login using the no policy mode and when I set it to Basic256SHA256 the client (UA-Expert) notes that this policy is not available on the server. I then check the certificates and I noted that there is no certificate for the OPC-UA server, I tried to generate one but it gave the error that the certificate has not been created by the device (See picture). To summarize I have no clue what is going on, and the controller does the opposite of what I would expect. Codesys Ethernet V3 driver I have a HMI connected to the same controller using the Ethernet V3 driver. But this will not connect. I tried all the Protocols (see picture), with and without the username and password enabled. But it will not connect, when I scan the available servers I can see the controller with the port number that I am expecting, so I’m assuming that the Codesys V3 ethernet driver is up on the controller. Does anyone can give me some direction, because the stuff that I tried doesn’t make sense to me. Thank you in advance
Last updated: 2024-04-02
Post by sachem on Problem retain values Weidmuller UC20-WL2000
CODESYS Forge
talk
(Post)
Good afternoon. I am working with a weidmuller uc20-wl2000 controller, using a codesys license. We made a ladder code to control a process, and it works well, but we want some variables to remain stored even when the controller is turned off. We tried to use retain variables, but at the time of loading the program, when we went offline from the controller, the program was deleted, it did not remain in the controller, and in the same way if we turned off the controller. In addition to this, when we tried to program it again, the program would not stay loaded and began to present errors with the opc-ua communication. What could be causing this problem? How can we maintain the values of the variables without damaging the program or affecting the controller? thank you
Last updated: 2024-04-10
Extending a library function in an application and getting Interface conversion errors
CODESYS Forge
talk
(Thread)
Extending a library function in an application and getting Interface conversion errors
Last updated: 2020-06-03
Post by yann2021 on Errors by Code Generate
CODESYS Forge
talk
(Post)
Hello, I updated to Patch 6 and can now build without any errors! Thanks!
Last updated: 2024-02-18
RPI Serial port connects with no errors but not data being transmitted or received
CODESYS Forge
talk
(Thread)
RPI Serial port connects with no errors but not data being transmitted or received
Last updated: 2024-09-30
Post by sachem on SysFileGetTime problem
CODESYS Forge
talk
(Post)
Good morning. I'm working with a Weidmuller controller using Codesys. My project use OPC-UA to communicate an application in my pc with the controller. Yesterday, I installed the license of the controller and test it, and the communication works perfect. I use the communication with anonymous login, and works fine. But, hours later, the anonymous login don't work, and the controller only allows connection via OPC with username and password. Someone know why this happend? Thanks
Last updated: 2024-04-09
Post by khaledkhalil on Import OPC UA model to Codesys
CODESYS Forge
talk
(Post)
I have added a models in SiOME which a software to design nodes and add instances. and created a resultant xml file. I tried to import the xml file to Codesys through OPC UA information model Repository the problem i don't know how to view my objects which i have designed. and map it to my PLC to make viewable on my server UaExpert. I watched the tutorial video https://youtu.be/aJhzN3Uk-Do?feature=shared. But it only give you how to add the Information model, and my resultant model doesn't have information type. So how in Codesys i can view a model which i have designed in SiOME and mapped my instances (Objects, Variable or methods) with my Variables in PLC I saw people do it in Tia Portal or other Software, but i have no clue how to do it on CODESYS
Last updated: 2024-03-12
Post by gatto on Undertanding Application Based Licenses
CODESYS Forge
talk
(Post)
Hi, i think you are right. Did you press the key shopping cart? Codesys tells you the license. What I don't appreciate is that i need an additional license for communication. The system reports opc ua but this cheats you. This is communication that also concerns the tag symbols that codesys eth v3 exchanges with an operator panel. Attached is a screenshot of my case where you can see that communication opc ua is cheating you. 512 tags included in the program license are few. So, I had to buy 2 licenses. one for the program and one for communication. I don't like this policy.
Last updated: 5 days ago
Post by yann2021 on Errors by Code Generate
CODESYS Forge
talk
(Post)
Hello, I still have errors when I try to generate the Code of my project (see attached file). When I double clic on the error message it bring me no more info. What are theses errors? How can I solve them? Thank for your help.
Last updated: 2024-02-07
Post by rabaggett on CODESYS control for Raspberry Pi 64 SL errors
CODESYS Forge
talk
(Post)
It is either my installation is bad, or there is a bug. I re-created the project in 3.5 SP19 and there are no errors or warnings. Compiles with no errors or warnings. The original was done in 3.5 SP20. Thoughts?
Last updated: 2024-05-03
Post by snhatton on OPC UA: How to change NodeId ?!
CODESYS Forge
talk
(Post)
You can change the node id by adding the following to /etc/CODESYSControl.cfg: [CmpOPCUAProviderIecVarAccess] CustomNodeName=MyPLC123 Then restart the runtime and the new Node name will appear with the connection. I don't know if it's possible to remove the |var| from the name. I hope this helps!
Last updated: 2023-12-11
Post by denis777 on Dynamische Datenquellenanbindung
CODESYS Forge
talk
(Post)
Moin zusammen, ich habe vor die OPC UA-Verbindung dynamisch einzubinden und es auch nach der Codesys-Anleitung probiert. Dabei hatte ich aber das Problem, dass ich zusätzlich zu den Config-Variablen auch noch eine statische URL angeben muss, was dann aber den Sinn der dynamischen Vergabe verfehlt. Hat dazu schon jemand Erfahrungen gesammelt und kann mir vielleicht Tipps geben, was ich noch beachten muss? LG Denis
Last updated: 2024-10-24
Post by denis777 on Dynamische Datenquellenanbindung
CODESYS Forge
talk
(Post)
Moin zusammen, ich habe vor die OPC UA-Verbindung dynamisch einzubinden und es auch nach der Codesys-Anleitung probiert. Dabei hatte ich aber das Problem, dass ich zusätzlich zu den Config-Variablen auch noch eine statische URL angeben muss, was dann aber den Sinn der dynamischen Vergabe verfehlt. Hat dazu schon jemand Erfahrungen gesammelt und kann mir vielleicht Tipps geben, was ich noch beachten muss? LG Denis
Last updated: 2024-10-24
Post by dogulas on OPC UA C# client connecting to OPC UA CODESYS server
CODESYS Forge
talk
(Post)
Noob alert! I’m just getting my feet wet with CODESYS. I have a “Hello World” project in the CODESYS IDE. I’m using the Win SoftPLC on the same computer. I’ve added a Communication Manager under the Application node. Under that is “OPC UA Server -> IEC Symbol Publishing 01”. I also added “OPC_UA_Symbols -> Information Model”. I’m not sure I need the second thing. I was grasping at straws. I also set up several dummy symbols in the IEC Symbol Publishing 01 node. In my C# application, I am trying to get an instance of EndpointDescription from CoreClientUtils.SelectEndpoint(“opc.tcp://localhost:1217/Gateway-1”, useSecurity: false, 15000). I wasn’t sure about the “Gateway-1”. I found that in the CODESYS IDE under the project -> Communication Settings. When I execute the previous method call in C#, I get: “BadSecureChannelClosed”. I have no idea what that means. Any pointers to documentation are welcome.
Last updated: 2024-08-16
Post by climblinne on Calling OPC UA Methods from UaExpert
CODESYS Forge
talk
(Post)
Hello, I hope someone could help me. I installed the newest Codesys 3.5 SP 20 Patch 1. When loading the demo files from @i-campbell I can upgrade them to the latest version and everthing works on the OPC-UA client side as expected (object "a" is visible, I can use the "ExampleMethod"). Now I * remove the "Information Model", * delete the "OPC_UA_Symbols Objects", * Add "Information Model" again * add "TestRootObjectType" again and "Generate IEC declarations" * and search for mapped instances (to get instance "a" again) Very good still working as expected. Now I delete the OPC_UA_Symbols and add it again referring to the "objecttest" from 16.9.2020. Also I redo the steps from above. The result is now, that I can't see the "a" object in the "Root/Objects" folder. Why ist this and how can I make it running? I think, it could may be a different version of the UA configuration file. I tried to build my own model definition files and got the same problem (but I am really not an expert). When someone has a actual model, which is also running in the actual Codesys I would be very grateful. Or even better, how to make the correct model in e.g. UA Modeler SW (I followed the description https://documentation.unified-automation.com/uamodeler/1.6.0/html/howprojnet_sec.html).
Last updated: 2024-07-01
Is OPC communication possible with server certificate but no client certificate
CODESYS Forge
talk
(Thread)
Is OPC communication possible with server certificate but no client certificate
Last updated: 2023-10-06
Keine Daten vom OPC wenn 2 PLC und eine davon keine.. GELĂ–ST
CODESYS Forge
talk
(Thread)
Keine Daten vom OPC wenn 2 PLC und eine davon keine.. GELĂ–ST
Last updated: 2012-07-26
How to get the Raspberry Pi PLC to control a Siemens PLC with OPC server
CODESYS Forge
talk
(Thread)
How to get the Raspberry Pi PLC to control a Siemens PLC with OPC server
Last updated: 2018-11-09
CoDeSys OPC DA SL won't install on Windows Server 2012 R2
CODESYS Forge
talk
(Thread)
CoDeSys OPC DA SL won't install on Windows Server 2012 R2
Last updated: 2020-11-03
Plc's gets disconnected from OPC server when any one plc shutsdown
CODESYS Forge
talk
(Thread)
Plc's gets disconnected from OPC server when any one plc shutsdown
Last updated: 2018-02-22
Post by macman on CoDeSyS OPC DA stops working
CODESYS Forge
talk
(Post)
Yes. I bought license and installed latest CoDeSys OPC DA version.
Last updated: 2023-12-21
Codesys OPC DA server requires more then 2 GB of ram
CODESYS Forge
talk
(Thread)
Codesys OPC DA server requires more then 2 GB of ram
Last updated: 2024-01-25
Data Sources Manager causing exception due to float or double type in OPC server
CODESYS Forge
talk
(Thread)
Data Sources Manager causing exception due to float or double type in OPC server
Last updated: 2024-07-01
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
.