Post by alimans on OPC-UA Server, Symbol Set: Raise an error: Object reference not set to an instance of an object.
CODESYS Forge
talk
(Post)
Hi everyone, I just created a very simple library without any code and, added it to my very simple project. after adding this library, I get an error when I try to open "Symbol Set" in "OPC UA Server" in "Communication Manager". Here is the code of my POU in the library: FUNCTION_BLOCK POU VAR eCommand : (CMD_NONE:=0, CMD_RESET:=-1) INT := CMD_NONE; END_VAR Attached is the error that I get. I also noticed that by removing the enumeration variable above (eCommand), I can open the "Symbol Set" again. Anybody has any idea why this error is raised and how could I use enumeration variables without error in "OPC UA Symbol Set"?
Last updated: 2024-08-08
Post by yannickasselin on codesys VLAN tagging
CODESYS Forge
talk
(Post)
Hi, I am looking for exactly the same thing. I would think that using a layer 2/3 managed switch should work but I am not convinced. I would like to test it in order to see if it would be possible to run many Codesys Docker instances on a server and run only 1 ethernet cable from the server to a managed switch closer to the machines beeing controlled instead of having to run multiple long ethernet cables. I was going to buy a managed switch in order to test it but I want to first make sure it is possible and I want to figure out exactly what kind of switch I would need. Is this even possible? I think this is a feature that would be very useful paired with "Codesys Virtual Control SL". Thank you
Last updated: 2024-09-07
Post by matt-purcell on Which Lib to use, connect to a socket with URL instead of IP address
CODESYS Forge
talk
(Post)
Hello, I have a new project and I need to connect to a TCP socket using the URL instead of an explicit IP address, myendpoint@mydomain.com Which library is best suited for this? This is for a new enterprise project, the endpoint is a server in a datacenter running some real time application. We have big IP, it will automatically reassign the IP address to the backup server if a crash occurs so an explicit IP won't work for me. I've done this in RS logix, working now to migrate that code over to codesys. Thanks in advance!
Last updated: 2024-06-17
Sorting array of any-sized structure
CODESYS Forge
talk
(Thread)
Sorting array of any-sized structure
Last updated: 2023-08-18
Get the numer of day
CODESYS Forge
talk
(Thread)
Get the numer of day
Last updated: 2023-09-14
Get Version of Installed Package
CODESYS Forge
talk
(Thread)
Get Version of Installed Package
Last updated: 2019-03-08
Issues of Large Ethernet IP project
CODESYS Forge
talk
(Thread)
Issues of Large Ethernet IP project
Last updated: 2022-02-01
Use of the CPLCHandlerCallback
CODESYS Forge
talk
(Thread)
Use of the CPLCHandlerCallback
Last updated: 2012-02-06
Dinamic assignement of a variable
CODESYS Forge
talk
(Thread)
Dinamic assignement of a variable
Last updated: 2016-06-28
Maintenance of the forum
CODESYS Forge
talk
(Thread)
Maintenance of the forum
Last updated: 2010-07-09
Convert Array Of DINT To STRING
CODESYS Forge
talk
(Thread)
Convert Array Of DINT To STRING
Last updated: 2023-12-03
Ambiguous use of name - CO136
CODESYS Forge
talk
(Thread)
Ambiguous use of name - CO136
Last updated: 2024-07-06
What is the insights of IoDrvEtherCAT.DCInSyncWindow?
CODESYS Forge
talk
(Thread)
What is the insights of IoDrvEtherCAT.DCInSyncWindow?
Last updated: 2024-07-09
First IO address of a CAADiagDeviceDefault.
CODESYS Forge
talk
(Thread)
First IO address of a CAADiagDeviceDefault.
Last updated: 2024-08-22
First IO address of a CAADiagDeviceDefault.
CODESYS Forge
talk
(Thread)
First IO address of a CAADiagDeviceDefault.
Last updated: 2024-08-22
Question about the hairaichy of UaExpert
CODESYS Forge
talk
(Thread)
Question about the hairaichy of UaExpert
Last updated: 2024-09-12
CAN Open Manager - varible of SYNC
CODESYS Forge
talk
(Thread)
CAN Open Manager - varible of SYNC
Last updated: 2024-10-26
CAN Open Manager - varible of SYNC
CODESYS Forge
talk
(Thread)
CAN Open Manager - varible of SYNC
Last updated: 2024-11-05
CODESYS 3.5 dicovery of PLC modules
CODESYS Forge
talk
(Thread)
CODESYS 3.5 dicovery of PLC modules
Last updated: 2024-12-11
Name Validation of Visualization objects
CODESYS Forge
talk
(Thread)
Name Validation of Visualization objects
Last updated: 2025-01-10
Download libraries of old versions
CODESYS Forge
talk
(Thread)
Download libraries of old versions
Last updated: 2025-02-11
Something of strange in the trace
CODESYS Forge
talk
(Thread)
Something of strange in the trace
Last updated: 2025-05-16
Something of strange in the trace
CODESYS Forge
talk
(Thread)
Something of strange in the trace
Last updated: 2025-05-16
Max lines of code, codesys CNC ?
CODESYS Forge
talk
(Thread)
Max lines of code, codesys CNC ?
Last updated: 2025-09-09
sysproces create out of V 3.5.20.5
CODESYS Forge
talk
(Thread)
sysproces create out of V 3.5.20.5
Last updated: 2025-09-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.