Post by alberto on ExportPLCopenXML is failing
CODESYS Forge
talk
(Post)
I'm trying to export my whole project through the option ExportPLCopenXML. It seems working, but when I'm trying to import the xml I have the following error during the importation process: Object reference not set to an instance of an object. It seems a usual issue with this process that affects to the pointer to user classes inside a procedure. I receive this error for two general functions that have this pointer declarations in the VAR_INPUT section. It seems a bug into the export/import process of CodeSYS and I couldn't skip it so far. Anyone could help me? Thanks in advance.
Last updated: 2025-03-15
Trace Object
CODESYS Forge
talk
(Thread)
Trace Object
Last updated: 2022-05-11
help: object-orinted approach
CODESYS Forge
talk
(Thread)
help: object-orinted approach
Last updated: 2016-05-09
Object KNX_CDS_Gateway
CODESYS Forge
talk
(Thread)
Object KNX_CDS_Gateway
Last updated: 2022-10-16
Add object
CODESYS Forge
talk
(Thread)
Add object
Last updated: 2013-04-04
'Symbol Configuration' object
CODESYS Forge
talk
(Thread)
'Symbol Configuration' object
Last updated: 2015-08-21
Lock object
CODESYS Forge
talk
(Thread)
Lock object
Last updated: 2015-07-20
Unit Conversion Object
CODESYS Forge
talk
(Thread)
Unit Conversion Object
Last updated: 2014-03-03
Add Object issue
CODESYS Forge
talk
(Thread)
Add Object issue
Last updated: 2022-05-31
common visualization object
CODESYS Forge
talk
(Thread)
common visualization object
Last updated: 2022-07-27
Auto. Picture Object Creation
CODESYS Forge
talk
(Thread)
Auto. Picture Object Creation
Last updated: 2021-03-25
Dynamic object release issues
CODESYS Forge
talk
(Thread)
Dynamic object release issues
Last updated: 2024-03-04
REFERENCE TO in an array
CODESYS Forge
talk
(Thread)
REFERENCE TO in an array
Last updated: 2025-05-21
Post by timvh on FB string and naming
CODESYS Forge
talk
(Post)
Really not clear what you are trying to do, but isn't a Struct enough? So add an object of the type DUT to the Application. Then create a structure TYPE ST_Sensor : STRUCT sName : STRING; uiNumber : UINT; END_STRUCT END_TYPE Then in you application add an instance of this Structure stSensor1 : ST_Sensor := (sName := 'my sensor', uiNumber := 1); or use it like this stSensor1.sName := 'my sensor';
Last updated: 2024-09-28
'The object GUID 'xxxx' is not valid' message when trying to commit a project to SVN
CODESYS Forge
talk
(Thread)
'The object GUID 'xxxx' is not valid' message when trying to commit a project to SVN
Last updated: 2022-09-14
Frame Object-Frame Configuration Dialog Box Not Populating
CODESYS Forge
talk
(Thread)
Frame Object-Frame Configuration Dialog Box Not Populating
Last updated: 2015-09-29
"Function block call requires an instance" calling an action
CODESYS Forge
talk
(Thread)
"Function block call requires an instance" calling an action
Last updated: 2015-04-24
Unable to add alarm configuration object to project
CODESYS Forge
talk
(Thread)
Unable to add alarm configuration object to project
Last updated: 2024-09-27
Post by liamb on Unable to add alarm configuration object to project
CODESYS Forge
talk
(Post)
I'm trying to add an alarm configuration object to a project in Codesys 3.5 SP12 however when I right click on application and try to add object there is no option for it. Is alarm configuration avaiblible on this service pack?
Last updated: 2024-09-24
PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary
CODESYS Forge
talk
(Thread)
PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary
Last updated: 2019-01-31
Object Oriented Programming and inheritance of output variables
CODESYS Forge
talk
(Thread)
Object Oriented Programming and inheritance of output variables
Last updated: 2017-09-26
Degree of accuracy in Trend object
CODESYS Forge
talk
(Thread)
Degree of accuracy in Trend object
Last updated: 2010-02-02
Post by smartcoco on Dynamic object release issues
CODESYS Forge
talk
(Post)
Dear, When I use "__NEW" to dynamically create the object "Object_1", and assign this object "Object_1" to another object "Object_2". At this point, I use "DELETE" to release the object from "Object_2". At this time, I cannot judge whether the object has been released normally through "Object_1" (in fact, the object has been released theoretically). Thanks for you help.
Last updated: 2024-03-01
Post by jeroenaero on Problem with CodeSys Control SL Deploy Tool 4.15.0.0
CODESYS Forge
talk
(Post)
Hello, We just installed the new version of CodeSys Control SL Deploy Tool 4.15.0.0 but we get the following error when we try to add a VPLC. Can someone of the CodeSys team fix this issue? the object reference is not set to an instance of the object Zie het einde van dit bericht voor meer informatie over het aanroepen van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster. ** Tekst van uitzondering ** System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld. bij _3S.CoDeSys.RuntimeDeployTool.Views.AddNewInstanceForm.ShowAllImages() bij _3S.CoDeSys.RuntimeDeployTool.Views.AddNewInstanceForm..ctor(List1 virtualControls, List1 existingNames) bij _3S.CoDeSys.RuntimeDeployTool.Views.MainEditorTab_Operation.OnAddInstanceClick() bij _3S.CoDeSys.RuntimeDeployTool.Views.MainEditorTab_Operation.bt_add_Click(Object sender, EventArgs e) bij System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) bij System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) bij System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) bij System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) bij System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) bij System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) bij System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bij System.Windows.Forms.Control.WndProc(Message& m) bij System.Windows.Forms.ScrollableControl.WndProc(Message& m) bij System.Windows.Forms.ToolStrip.WndProc(Message& m) bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ** Geladen assembly's ** mscorlib Assembly-versie: 4.0.0.0 Win32-versie: 4.8.9300.0 built by: NET481REL1LAST_C
Last updated: 2025-04-24
Option to show tooltip with object source
CODESYS Forge
talk
(Thread)
Option to show tooltip with object source
Last updated: 2023-02-10
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
.