Search talk: IEC reference

 
<< < 1 .. 4 5 6 7 8 .. 10 > >> (Page 6 of 10)

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 ulvis on how to measure /use plcload from iec CODESYS Forge talk (Post)
Works fine :-)
Last updated: 2023-09-12

Post by janber on REFERENCE TO in an array CODESYS Forge talk (Post)
Hi all, in the online help it written, that array of reference to data type is not possible. Ok... but if I create array of struct of reference to - everything works fine - please see the screenshots: and it works this way OK. Is it intention or error in compiler 3.5.18.20 and we should avoid it? Thanks a lot, Jan.
Last updated: 2024-10-14

Post by fless on Release SP20 - Changes in behaviour? CODESYS Forge talk (Post)
use this to set an invalid reference Add_EVT_OUT REF= 0;
Last updated: 2024-03-24

Post by hambergg on Retain Variables on fRAM CODESYS Forge talk (Post)
Hi regarding NVRAM with SPI or I2C I expected reference too!
Last updated: 2024-09-03

Post by jtebokkel on Set REFERENCE to 0 (null) when no longer used CODESYS Forge talk (Post)
yes, it works
Last updated: 2024-10-07

Post by awatson on User Management (Configuration Dialog) CODESYS Forge talk (Post)
Hello I have just posted on a topic - about the reference for the element you have taken a screen shot for - "REFERENCE TO VisuUserMgmtProvider" https://forge.codesys.com/forge/talk/Visualization/thread/0591457fe4/ - do you know anything about it?
Last updated: 2023-11-17

Why do I get C0434: Function block AbstractFunctionBlock is ABSTRACT and cannot be instantiated for a Reference? CODESYS Forge talk (Thread)
Why do I get C0434: Function block AbstractFunctionBlock is ABSTRACT and cannot be instantiated for a Reference?
Last updated: 2022-08-14

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

Post by apurv on Cannot pass array of constant size to a function as a reference CODESYS Forge talk (Post)
okay but will this pass the array by copying it or it will be a reference to original array only.
Last updated: 2024-01-09

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 struccc on Release SP20 - Changes in behaviour? CODESYS Forge talk (Post)
Dear all, I've just started to migrate some of my ancient projects to SP20. There is one strange error (?) I have noticed so far. In a method call, depending on the circumstances I would like to return reference to an object, or an invalid reference: METHOD Add_EVT_OUT : REFERENCE TO FB_MSG VAR END_VAR IF __ISVALIDREF(refMSG_Entry) THEN Add_EVT_OUT REF= MANAGER.AddMsg_EVT_OUT( refMSG_Entry, _Get_EVT_Message(MSG_EVENT.OUT), _Get_EVT_AddCode(MSG_EVENT.OUT) )^; ELSE Add_EVT_OUT := 0; END_IF So far setting a reference variable to 0, did this. But now, the expression Add_EVT_OUT := 0; gives an error: [ERROR] DB_WTP_370: Add_EVT_ACK MSG_TRIGGER_EXT: C0032: Cannot convert type 'BIT' to type 'REFERENCE TO FB_MSG' Naturally... I can write: Add_EVT_OUT := DWORD#0; But is this the correct way? Is there any constant I could use instead, like "NULL"? Or this is totally wrong and to be avoided?
Last updated: 2024-03-24

Post by ferrim on IEC 61499 CODESYS Forge talk (Post)
Hello otdeveloper, I am very interested in this topic. I have been dedicated to IEC 61499 for some time and I would like to understand if the time has come to adopt it in the real world of automation or if it will continue to fill up research papers only.
Last updated: 2024-02-09

Post by apurv on Cannot pass array of constant size to a function as a reference CODESYS Forge talk (Post)
I have a Array of constant size defined like this Var Constant MAX_SIZE :UINT := 10; End_var VAR array : ARRAY[0..MAX_SIZE] OF INT; END_VAR Now I want to pass this array to a function by reference, Function fun : INT VAR_IN_OUT CONSTANT MAX_SIZE : UINT; END_VAR VAR_INPUT array : REFERENCE TO ARRAY[0..MAX_SIZE] OF INT; END_VAR but when I run this it gives strange Errors Error : Cannot Convert type 'ARRAY [0..MAX_SIZE] OF INT' to type 'ARRAY[0..MAX_SIZE] OF INT'
Last updated: 2024-01-07

Post by sunfloweeerrry on Edgelogix-rpi-1000-cm4102032 SPI port connection to PiFace I/O Driver in CodeSys. CODESYS Forge talk (Post)
Please anyone help there is not a lot reference about this.
Last updated: 2023-08-21

Post by simotion on Property CODESYS Forge talk (Post)
Why can't a property be of type REFERENCE TO? Plc goes to stop if I try that.
Last updated: 2023-12-14

Post by dkugler on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia CODESYS Forge talk (Post)
rmaas: how do you get the reference of the slave?
Last updated: 2024-02-13

Post by olemart on Set REFERENCE to 0 (null) when no longer used CODESYS Forge talk (Post)
Did you find out if this work?
Last updated: 2024-10-02

Post by awatson on User Management - REFERENCE TO VisuUserMgmtProvider CODESYS Forge talk (Post)
Hello Guys I have IFM CR1140 screens that I want to use the basic user management Elements on - But I am trying to figure out where I am going wrong with the References "REFERENCE TO VisuUserMgmtProvider" The Device will look after the security itself - I have enabled the User Management in Visualization Manager and added an admin user to the device and sync'd.
Last updated: 2023-11-17

Post by tvm on Cannot pass array of constant size to a function as a reference CODESYS Forge talk (Post)
It will be a reference, because it's a VAR_IN_OUT. it's a little weird debugging the array online. It just shows as a POINTER TO INT, and you can't actually see the array from the function side. But you can still work with it as a normal array, not a pointer.
Last updated: 2024-01-09

Post by joel214 on OPC-UA / Unterschied Symbolkonfiguration, IEC-Symbolveröffentlichung und Informationsmodell CODESYS Forge talk (Post)
Hallo liebe Community, im Rahmen einer Studienarbeit gilt es ein OPC-UA-Informationsmodell in eine existierende CODESYS-Steuerung zu implementieren. Dabei sind wir auf die Frage gestoßen welcher Unterschied zwischen den folgenden Objekten besteht: - Symbolkonfiguration (veraltet?) - IEC-Symbolveröffentlichung - Veröffentlichung über zuvor erstelltes Informationsmodell In unserem Verständnis erfüllen alle Objekte die Gleiche Aufgabe nur mit unterschiedlicher Vorgehensweise und Darstellung im OPC-UA-Server. Während durch die Symbolkonfiguration die Variablen und Instanzen über lange und verschachtelte Pfade abgelegt werden, wird durch die IEC-Symbolveröffentlichung ein Ordner im Pfad der Objekte erstellt. Dort sind die Variablen und Instanzen anschließend zu finden. Bei der Verwendung von Informationsmodellen hingegen, werden die Instanzen direkt unter den Objekten abgelegt. Für welchen Anwendungsfall ist welche Vorgehensweise am besten? Vielen Dank vorab und viele Grüße Joel
Last updated: 2024-04-09

Post by ferrim on IEC 61499 CODESYS Forge talk (Post)
IEC 61499 is probably something more complex than what you have correctly said so the prospects are interesting but we cannot ignore that it came out almost 20 years ago and has not won many hearts. I started to explore this world with a PLCnext controller because I love these devices based on RT Linux and Codesys is somehow usable with them but I have made little progress and I feel like inside a nutshell in the middle of the sea ;-) Gary's voluminous and precious book is always on my desk...
Last updated: 2024-02-10

Post by jf-fischer on PFC200 als Protokollumsetzer CODESYS Forge talk (Post)
Hallo, ich möchte IEC 104 Protokolldaten von einem Gerät über Ethernet empfangen, in ein Modbus-TCP Protokoll umwandeln und weiter geben (lesen und schreiben) an andere Modbus Geräte. Dies soll auch in die andere Richtung funktionieren, so dass daten aus dem Modbus Register vom IEC Gerät ausgelesen werden können. die Umwandlung soll eine pfc200 sps von wago durchführen. am Ende sollen die Daten in einer Webansicht visualisiert werden. das Programm der wago möchte ich in codesys 3.5V programmieren. Kann mir jemand helfen, meine Erfahrung mit Codesys ist leider bis jetzt nur sehr grundlegend.
Last updated: 2024-08-07

Post by marsmaennchen on llcallback() iec exception caught cmpid=0x00000002, eventid=0x00010008 CODESYS Forge talk (Post)
Never found a solution for that, or an answere that maker sense. Have you found out something New? Greetings Patrick.
Last updated: 2023-09-24

<< < 1 .. 4 5 6 7 8 .. 10 > >> (Page 6 of 10)

Showing results of 230

Sort by relevance or date