Internal error:System.NullReferenceException: The object reference was not set to an object instance.
CODESYS Forge
talk
(Thread)
Internal error:System.NullReferenceException: The object reference was not set to an object instance.
Last updated: 2024-05-24
Post by installwhat on C0077 on one machine but not another
CODESYS Forge
talk
(Post)
someone needs to add some js to stop repeated posts
Last updated: 2024-06-11
SafetyApp - Exchange 8 bits from EtherCAT Safety Module to PLC mapping issue
CODESYS Forge
talk
(Thread)
SafetyApp - Exchange 8 bits from EtherCAT Safety Module to PLC mapping issue
Last updated: 2024-06-17
Post by paro on Which Lib to use, connect to a socket with URL instead of IP address
CODESYS Forge
talk
(Post)
hi, maybe Net Base Services https://forge.codesys.com/prj/codesys-example/nbs/home/Home/
Last updated: 2024-06-17
Cant login to Rpi4 but can see it in codesys communications settings.
CODESYS Forge
talk
(Thread)
Cant login to Rpi4 but can see it in codesys communications settings.
Last updated: 2024-06-22
Cant login to Rpi4 but can see it in codesys communications settings.
CODESYS Forge
talk
(Thread)
Cant login to Rpi4 but can see it in codesys communications settings.
Last updated: 2024-06-23
Post by eschwellinger on Adding a Softmotion License to a Weintek HMI
CODESYS Forge
talk
(Post)
You need to ask Weintek if they support the licensing. For Softmotion the device should be realtime capable.
Last updated: 2025-10-17
Assigning Modbus addresses to a structure in a dynamic way
CODESYS Forge
talk
(Thread)
Assigning Modbus addresses to a structure in a dynamic way
Last updated: 2025-10-21
Using a raspberry pi and NVLs to log variables outside of Codesys
CODESYS Forge
talk
(Thread)
Using a raspberry pi and NVLs to log variables outside of Codesys
Last updated: 2025-11-21
VAR_INFO from inside of a FB to get info on the instance.
CODESYS Forge
talk
(Thread)
VAR_INFO from inside of a FB to get info on the instance.
Last updated: 2025-12-12
What is the prerequisites for a Raspberry Pi to work with SysSockSetIpAddressAndNetMask()
CODESYS Forge
talk
(Thread)
What is the prerequisites for a Raspberry Pi to work with SysSockSetIpAddressAndNetMask()
Last updated: 2025-11-12
Post by aldo on Access to the path *** is denied
CODESYS Forge
talk
(Post)
I have everything updated to the latest versions, but the problem persists. Thanks
Last updated: 2025-12-10
Post by eschwellinger on Scan devices hangs CODESYS
CODESYS Forge
talk
(Post)
If you use putty or any ssh client does this work to login to the plc?
Last updated: 2025-12-13
Trend legend naming and access/config to/of trend/legend-variables
CODESYS Forge
talk
(Thread)
Trend legend naming and access/config to/of trend/legend-variables
Last updated: 2 days ago
Post by manuknecht on Specify Input Configuration "OnDialogClosed" Action to only react to certain Dialogs
CODESYS Forge
talk
(Post)
Thanks for your responses. The close listener sounds like an interesting approach, will have to see what I can do with it. I actually solved it as suggested by sturmghost by setting an enum variable to a certain state as soon as I open a dialog. This way I always know which dialog was opened last.
Last updated: 2023-10-02
Post by turndapage on Can't Add Symbol Configuration
CODESYS Forge
talk
(Post)
I've got a Weintek HMI with CodeSYS built-in. I've got it connecting to CodeSYS and downloaded. The connection guide says I need to add a symbol configuration by right-clicking on the application and adding it, but it does not show up in the available objects. Is there something else I have to do to create a symbol configuration object?
Last updated: 2023-10-04
Post by romrot on I don't know if this is where I should ask this, but I'm trying to get a Codesys OPC UA Client set up with a Kepware OPC UA Server
CODESYS Forge
talk
(Post)
Trying to create a Data Source under Data source manager, but I'm having issues with security. I get "BadUserAcessDenied" I don't know if there is something special I need to do on the Kepware server to make this work or what.
Last updated: 2023-10-19
Post by simotion on Pointer to Softmotion axis
CODESYS Forge
talk
(Post)
No ideas?
Last updated: 2023-10-27
Post by ggis on Unable to connect to git remotes through Codesys.
CODESYS Forge
talk
(Post)
When trying to connect to a Github repository in the Git remotes windows of Codesys, the user can be the account username or the account email, while the password is the Github token. (I know this is an old topic, but I lost some time figuring it out from the guides.)
Last updated: 2023-11-10
Post by sangram on Convert Array Of DINT To STRING
CODESYS Forge
talk
(Post)
Last updated: 2023-12-03
Post by timvh on Array to String
CODESYS Forge
talk
(Post)
The string_Util_Intern is not the library I referred to. With a CONCAT function (also with the string util library) a search is done for the NULL character. If you concatenate 20000 characters to one string, then the longer the string, the longer it takes to find this NULL character.
Last updated: 2024-07-24
Post by kumareasu on Password to POU
CODESYS Forge
talk
(Post)
Seeking support...
Last updated: 2024-08-08
Post by kumareasu on Password to POU
CODESYS Forge
talk
(Post)
Any support?
Last updated: 2024-08-14
Post by dengsberg on Disable Communications to 'Modbus_Server_COM_Port' from the logic
CODESYS Forge
talk
(Post)
I have a serial Modbus RTU communicating to the Slave device. But when the control system is not in Run there is no power applied to one of the Modbus Devices. Can I enable / disable the communications to that Modbus Slave in the code based on my running mode, so I don't get all the errors?
Last updated: 2024-08-29
Post by dkugler on User management
CODESYS Forge
talk
(Post)
If the PLC is equieped with a USB socket it's possible to copy the user management file via IEC code to a USB stick and restore it at the new plc. The file is located there: /PlcLogic/visu/app_visuusermgmtdb.csv I use this to reset the user management to default in case of the customer has changed passwords and lost it.
Last updated: 2024-09-04
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.