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

 
<< < 1 .. 3 4 5 6 7 .. 268 > >> (Page 5 of 268)

trend visualisation bug with date time picker object CODESYS Forge talk (Thread)
trend visualisation bug with date time picker object
Last updated: 2022-09-28

Access visualization object property through code CODESYS Forge talk (Thread)
Access visualization object property through code
Last updated: 2015-04-08

Object oriented programming in Codesys V2? CODESYS Forge talk (Thread)
Object oriented programming in Codesys V2?
Last updated: 2013-01-29

New Communication Manager with "OPC UA Server" Object CODESYS Forge talk (Thread)
New Communication Manager with "OPC UA Server" Object
Last updated: 2022-05-11

Scan Network with PLC Handler ActiveX Object? CODESYS Forge talk (Thread)
Scan Network with PLC Handler ActiveX Object?
Last updated: 2011-05-04

Search and replace doesn't work in visualation object? CODESYS Forge talk (Thread)
Search and replace doesn't work in visualation object?
Last updated: 2016-07-13

Using the "Position" Input Selection for Object Va CODESYS Forge talk (Thread)
Using the "Position" Input Selection for Object Va
Last updated: 2007-12-21

Monitor working counter via the EtherCAT_Master object? CODESYS Forge talk (Thread)
Monitor working counter via the EtherCAT_Master object?
Last updated: 2016-09-10

WEBVISU / ROTATE OBJECT WITHOUT ROTATING TEXT INSIDE CODESYS Forge talk (Thread)
WEBVISU / ROTATE OBJECT WITHOUT ROTATING TEXT INSIDE
Last updated: 2022-06-07

Execute custom object commands in python script CODESYS Forge talk (Thread)
Execute custom object commands in python script
Last updated: 2014-01-09

JSON parsing and composing library null object CODESYS Forge talk (Thread)
JSON parsing and composing library null object
Last updated: 2022-12-20

No source code available for this object CODESYS Forge talk (Thread)
No source code available for this object
Last updated: 2024-07-15

OPC-UA object instances preexisting in imported xml information model CODESYS Forge talk (Thread)
OPC-UA object instances preexisting in imported xml information model
Last updated: 2024-08-08

No source code available for this object CODESYS Forge talk (Thread)
No source code available for this object
Last updated: 2025-01-28

Post by timvh on Limiting Memory Access of an Array to Within its Bounds CODESYS Forge talk (Post)
Add the object "POU for Implicit Checks" to your application, then select "Bounds check". This will create a function which is automatically called each time an array is write accessed. In the function you can handle "out of bounds" situations. By default it will be limited to its lower or upper bound.
Last updated: 2024-03-06

Post by felipemsgarcia on Generic EtherCAT slave CODESYS Forge talk (Post)
Hello Edwin, Thank you foryour answer but, I believe I was not very clear in my question, sorry. What I wanted to know is if there is a generic EtherCAT slave object already in CODESYS that I can use for anything, remote IO, Drives, VFD's and so on, as long as I match PDO's. Is there such an object? Thank you again!
Last updated: 2024-05-16

How do I configure a visualisation text object to enter data? CODESYS Forge talk (Thread)
How do I configure a visualisation text object to enter data?
Last updated: 2016-05-20

How to change font and font color rectangle/or related object CODESYS Forge talk (Thread)
How to change font and font color rectangle/or related object
Last updated: 2025-03-17

Post by timvh on FB string and naming CODESYS Forge talk (Post)
I see, you want to initialize the FB. To be able to initialise it like you described, you need to add the FB_Init method to your FB. (right click on the FB, select add object --> method). Then press the arrow down, to select the FB_Init (overwrite default implementation). In the VAR_INPUT section of this method, add the variable --> Tag : STRING; Then in the code section of this method add: THIS^.Tag := Tag; // copy initial value to local variable in FB Search Google if you want to know more about FB_Init. PS, reflection + instance path, is also an option if you want to get the full name of the instance (path) of the Function Block. See: https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_pragma_attribute_instance_path.html
Last updated: 2024-09-30

Post by timvh on CanOpen write issue CODESYS Forge talk (Post)
See: https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_canopen_canopen.html SDO example: SegmentedAndBlockWriteExample: Writing if an object of any length via SDO (segmented transfer or block transfer) by means of CiA405.SDO_WRITE_DATA This help page also contains a link to a demo project.
Last updated: 2024-07-16

Post by squiggleypuff on RemoteTargetVisu creates Unresolved Reference CODESYS Forge talk (Post)
I have a project with a Festo CPX-E-CEC-C1-PN PLC (Run-time version 3.5.12.50) that I have been developing on just fine using Codesys V3.5 SP19 Patch 5 (64bit). I am at the stage where I wanted to use the Festo HMI screen, and have added a RemoteTargetVisu object to my application. After adding this object, I am no longer able to log in to the PLC as I get an Unresolved Reference warning for 'USERMGRUSERGETPROPERTY' towards the end of the download process. I was able to find this post (https://forge.codesys.com/forge/talk/Visualization/thread/fc686a6cb2/) where the two possible solutions are to "set the placeholder to emtpy" or update the runtime. Problem is, I don't know how to do either of these things, as I'm still very green in Codesys land. I'd be happy to update the Festo PLC runtime, as that seems like the better option, but have not had any luck in finding a tutorial for this online. If anyone could point me in the right direction I'd appreciate it.
Last updated: 2024-03-19

Post by jonathan1321351 on IO-Link write parameters Ethernet/IP CODESYS Forge talk (Post)
I want to read and write parameters of an IO-Link device using acyclic messages. I have a Cube67+ in Ethernet/IP, connected to an IO-Link master. In the datasheet, I can find the parameters required for the message (Service, Class, Instance, etc.). I see the function block "Set_attribute_single" in the "EthernetIP Services" library, but I'm not sure how to correctly send the index and sub-index for the IO-Link device. The class in the datasheet is 0x80 for the IO-Link Parameter Object, but it’s not present in the CPIClass enum. Is there another function block more suitable for configuring IO-Link devices? (similar to "iol_call" in PROFINET or what’s used in EtherCAT).
Last updated: 2024-09-02

Post by jonathan1321351 on IO-Link read/write parameters Ethernet/IP CODESYS Forge talk (Post)
I want to read and write parameters of an IO-Link device using acyclic messages. I have a Cube67+ in Ethernet/IP, connected to an IO-Link master. In the datasheet, I can find the parameters required for the message (Service, Class, Instance, etc.). I see the function block "Set_attribute_single" in the "EthernetIP Services" library, but I'm not sure how to correctly send the index and sub-index for the IO-Link device. The class in the datasheet is 0x80 for the IO-Link Parameter Object, but it’s not present in the CPIClass enum. Is there another function block more suitable for configuring IO-Link devices? (similar to "iol_call" in PROFINET or what’s used in EtherCAT).
Last updated: 2024-09-04

Limiting Memory Access of an Array to Within its Bounds CODESYS Forge talk (Thread)
Limiting Memory Access of an Array to Within its Bounds
Last updated: 2024-03-06

Is it possible to link an array of bits to an alarm group to show a lot of alarms at once? CODESYS Forge talk (Thread)
Is it possible to link an array of bits to an alarm group to show a lot of alarms at once?
Last updated: 2021-07-08

<< < 1 .. 3 4 5 6 7 .. 268 > >> (Page 5 of 268)

Showing results of 6676

Sort by relevance or date