Search talk: Object reference not set to an instance of an object

 
<< < 1 .. 9 10 11 12 13 .. 313 > >> (Page 11 of 313)

Post by snhatton on Retain memory change to ZERO CODESYS Forge talk (Post)
I think more information is needed to help solve the issue. Can you list the exact steps to reproduce the issue? What version of Codesys are you using? Did you add a persistentVars object to your project? I would recommend browsing all instances of the retain variable to see all possible writes to the variable in question.
Last updated: 2023-09-18

Post by timvh on PLCOpenXML Export/Import with Visualisation CODESYS Forge talk (Post)
A Task is a standard IEC 61131-3 object, so logically that you can export the VISU_TASK. A visualization is no standard IEC 61131-3 object, so not compatible with other IEC tools. Just use the standard export / import functionality. These files are not IEC compatible and can only be used in CODESYS. But these do support visu objects.
Last updated: 2025-01-09

Post by micik on Start Codesys project and then execute python script from command line CODESYS Forge talk (Post)
Hello, by searching the forum, I have found an example of batch script that can be used to start codesys projct by temporarily setting env variables. However, I'm not sure how to modify this to start Codesys 3.5.20 and whether or not I need to specify "profile" with Codesys version at all. @echo off SET PROJECT=D:\TestScripts\Data\OnlineTest.project SET VARIABLES=POU.testint,POU.testoutput start /wait CoDeSys.exe --profile="CoDeSys V3.4 SP3" --noUI --runscript="D:\TestScripts\Forum_Environment.py" I have tried the following just to open the test project: SET PROJECT=C:\TEST\Example.project start CODESYS.exe --profile="CODESYS V3.5 SP20 Patch 2" But I'm not sure how to specify this project to be open after py script is executed. The py script should first add required library to the project and then project should be open.
Last updated: 2024-09-30

Post by pernockham on Engineering IDE from linux? CODESYS Forge talk (Post)
An update note. Still using linux/Qemu. Still happy, but sometimes some things are harder. I lost the "bridge" connection to my VM (meaning for instance I couldnt "scan network" and find local units. Have spent tons of hours to find out why. Finally it seems the traffic got blocked by the firewall/iptables so needed to set rules for that. So friendly note that rules must allow forward traffic to/from you configured host bridge device.
Last updated: 2025-09-22

Accessing struct instance property from within function block instance CODESYS Forge talk (Thread)
Accessing struct instance property from within function block instance
Last updated: 2022-11-23

Table How to set row number from 1 ( not from 0) CODESYS Forge talk (Thread)
Table How to set row number from 1 ( not from 0)
Last updated: 2024-06-03

Post by mos89p on how to use UseDataExpanding() in datasource CODESYS Forge talk (Post)
Hi I need to update by software some structures in my datasource, i found this example: https://content.helpme-codesys.com/en/CODESYS%20Communication/_cds_update_data_interface.html it seems that because i use complex variable structure i need to use UseDataExpanding() instead of use data, the question is how to get an instance of IDatasourcesMgr3 i have the global variable g_Datasources is instantiated automatically
Last updated: 2024-06-18

Post by bjarne-pagaard on Unable to add alarm configuration object to project CODESYS Forge talk (Post)
I believe it should be available. It may be the case, that your device does not support the alarm configuration. Some smaller PLCs sometimes do not support it. You can try changing to a different device, like a Codesys Control Win, in your project, and see if then allows you to add the alarm configuration.
Last updated: 2024-09-27

Post by felipemsgarcia on Generic EtherCAT slave CODESYS Forge talk (Post)
Hello, Without much info, I would assume that this is an optional object on the EtherCAT network and it's either disconnected or the address doesn't match. I would look into the devices manual or contact the manufacturer for further assistance. And, I would have posted a new topic instead of using a non related one... Cheers!
Last updated: 2024-05-16

Has anyone tried to use an IsaAc yet CODESYS Forge talk (Thread)
Has anyone tried to use an IsaAc yet
Last updated: 2014-08-03

how to declare an array size without constant CODESYS Forge talk (Thread)
how to declare an array size without constant
Last updated: 2016-11-16

Question about binding a port to an IP adress CODESYS Forge talk (Thread)
Question about binding a port to an IP adress
Last updated: 2022-01-05

Trying to understand what an "Alias" (concerning arrays) is CODESYS Forge talk (Thread)
Trying to understand what an "Alias" (concerning arrays) is
Last updated: 2019-10-19

Steps for an Optimized Minimal PI image to run CoDeSys CODESYS Forge talk (Thread)
Steps for an Optimized Minimal PI image to run CoDeSys
Last updated: 2014-08-03

How to update an image upon request ? CODESYS Forge talk (Thread)
How to update an image upon request ?
Last updated: 2020-04-16

Converting an ASCII value to a character CODESYS Forge talk (Thread)
Converting an ASCII value to a character
Last updated: 2019-04-27

how to ping an IP address CODESYS Forge talk (Thread)
how to ping an IP address
Last updated: 2018-11-26

way to open the libraries from an open project. CODESYS Forge talk (Thread)
way to open the libraries from an open project.
Last updated: 2016-12-01

Connceting an Anybus .Net-to-Ethernet/IP Device CODESYS Forge talk (Thread)
Connceting an Anybus .Net-to-Ethernet/IP Device
Last updated: 2020-03-12

How to Ping an IP address in CoDeSys CODESYS Forge talk (Thread)
How to Ping an IP address in CoDeSys
Last updated: 2018-11-22

Deploy an external library to CODESYS Control RTE v3 CODESYS Forge talk (Thread)
Deploy an external library to CODESYS Control RTE v3
Last updated: 2017-02-16

Providing an own download server to download missing libraries CODESYS Forge talk (Thread)
Providing an own download server to download missing libraries
Last updated: 2018-04-17

How to send an SDO message. CODESYS Forge talk (Thread)
How to send an SDO message.
Last updated: 2012-02-07

how to download an application permanently in turck device CODESYS Forge talk (Thread)
how to download an application permanently in turck device
Last updated: 2015-02-03

How to create an array dynamically CODESYS Forge talk (Thread)
How to create an array dynamically
Last updated: 2009-06-16

<< < 1 .. 9 10 11 12 13 .. 313 > >> (Page 11 of 313)

Showing results of 7802

Sort by relevance or date