codesys "profiler" object reference not set to an instance of an object
CODESYS Forge
talk
(Thread)
codesys "profiler" object reference not set to an instance of an object
Last updated: 2023-01-11
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
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 fajean on Issues with "Add all instance path"
CODESYS Forge
talk
(Post)
In the past, we have routinely used the "add all instance paths" function to automatically add variables to VAR_CONFIG lists. My recollection is that compiling a project did not require VAR_CONFIG to be fully populated, and, once successfully compiled, instance paths could be added. Errors related to missing declarations, if I recall correctly, were thrown when downloading to the PLC, they did not prevent a successful compile. At some point, it stopped working. Missing declarations in a VAR_CONFIG now cause a compile error, so the application is never "current", the only reason I can see being the missing VAR_CONFIG declarations themselves (no other error). We observe the same behavior across all our projects. This is really aggravating, and I must be missing something simple. We use 3.5 SP17p3, 64 bits. Can anyone help?
Last updated: 2023-12-29
Post by timvh on Readable IO names
CODESYS Forge
talk
(Post)
IF you create an ENUM {attribute 'qualified_only'} {attribute 'strict'} TYPE E_IO : ( FIRST := 0, SECOND := 1 ); END_TYPE You should be able to access the array items like: IOCard_OUTPUT[E_IO.FIRST]
Last updated: 2024-09-28
Post by eschwellinger on Access to the path *** is denied
CODESYS Forge
talk
(Post)
now solved with the release Visualisation Support V4.3.1.0.
Last updated: 2024-02-15
Post by ellcap on Symbol Configuration, I'm doing it wrong
CODESYS Forge
talk
(Post)
if you're here because you are making the same mistake as me, I just resolved it. I mistakenly thought I didn't need to write the word attribute in the column labeled attribute. changed this 'symbol' := 'read' to this attribute 'symbol' := 'read' The last two in this clip are still wrong: I recongize this is probably a big "duh". That's ok. I like to fail out loud in hopes it helps someone else from looking silly.
Last updated: 2023-08-31
Post by renezw on Access to a running Codesys instance via Python
CODESYS Forge
talk
(Post)
I have a Codesys environment running and would like to inject code into the running environment at the same time using a code generator with Python via the console. So far I can only start a new Codesys instance with Python, but not access an already running one. How can I access the running Codesys instance?
Last updated: 2024-09-03
Post by eschwellinger on CSVReaderInit returns error : INVALID_HANDLE
CODESYS Forge
talk
(Post)
this is a security issue not to read/write in the plc allowed path I would recommend to update and change the path in the application were the files areπ
Last updated: 2023-08-30
Post by rh-cs-234 on New Ladder Diagram conversion does not work due to missing features
CODESYS Forge
talk
(Post)
Hi @eschwellinger, Is the PinGroup attribute no longer supported?
Last updated: 2024-02-10
Post by paro on FB_INIT in library
CODESYS Forge
talk
(Post)
I think the attribute here will help you: https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_pragma_attribute_global_init_slot.html https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_global_init_slots.html
Last updated: 2024-05-23
Python Scripting: How to detect and handle "Object reference not set to an instance of an object" error
CODESYS Forge
talk
(Thread)
Python Scripting: How to detect and handle "Object reference not set to an instance of an object" error
Last updated: 2023-08-16
Ethernet/IP Symbolic Access to I/O Channels pass the EIP Device FB instance to another FB IN_OUT
CODESYS Forge
talk
(Thread)
Ethernet/IP Symbolic Access to I/O Channels pass the EIP Device FB instance to another FB IN_OUT
Last updated: 2023-08-01
OPC-UA Server, Symbol Set: Raise an error: Object reference not set to an instance of an object.
CODESYS Forge
talk
(Thread)
OPC-UA Server, Symbol Set: Raise an error: Object reference not set to an instance of an object.
Last updated: 2024-08-08
Post by talhaali on Control Win one instance at a time
CODESYS Forge
talk
(Post)
I want to open one instance of runtime to be opened at a time even I hit multiple times? How can I implement it?
Last updated: 2024-10-25
Post by talhaali on Control Win one instance at a time
CODESYS Forge
talk
(Post)
I want to open one instance of runtime to be opened at a time even I hit multiple times? How can I implement it?
Last updated: 2024-10-25
Post by talhaali on Control Win one instance at a time
CODESYS Forge
talk
(Post)
I want to open one instance of runtime to be opened at a time even I hit multiple times? How can I implement it?
Last updated: 2024-10-25
Post by talhaali on Control Win one instance at a time
CODESYS Forge
talk
(Post)
I want to open one instance of runtime to be opened at a time even I hit multiple times? How can I implement it?
Last updated: 2024-10-25
Post by jeffersonhui on External file with relative path
CODESYS Forge
talk
(Post)
I have the same question as well, anyone have any ideas? Thanks
Last updated: 2024-01-15
Post by eschwellinger on Access to the path *** is denied
CODESYS Forge
talk
(Post)
it is textlist related as far as I remember, let me check if the is a workaround.
Last updated: 2024-02-02
Post by eschwellinger on Access to the path *** is denied
CODESYS Forge
talk
(Post)
the workaround is: start CODESYS admin if this message occure
Last updated: 2024-02-05
Post by spfollen on Access to the path *** is denied
CODESYS Forge
talk
(Post)
@eschwellinger That worked. Ran as Admin when starting Codesys. Great workaround. Thanks
Last updated: 2024-02-05
Post by thomasrohnerch on Access to the path *** is denied
CODESYS Forge
talk
(Post)
yes, this is working fine. for the moment this is acceptable.
Last updated: 2024-02-07
Post by jtebokkel on Access to the path *** is denied
CODESYS Forge
talk
(Post)
I am also having this issue. It was working fine for the first 2ish months and is now throwing this error. I can just try and go online again a second time and it works. I'm wondering if there is an environmental variable or something that isn't set that is causing it to use an empty path as a temp directory. The empty path will be the location the app is running from which is that path C:\Program Files\CODESYS 3.5.19.50\CODESYS\Common. The permissions don't allow a normal user to write to that directory which causes the error. It also only seems to happen when there are changes or the build has been cleaned.
Last updated: 2024-02-14
Post by fleaplc on File access operation denied
CODESYS Forge
talk
(Post)
file to access has to be into the path /var/opt/codesys/PlcLogic I has same issue time ago...
Last updated: 12 hours ago
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
.