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

 
<< < 1 .. 40 41 42 43 44 .. 309 > >> (Page 42 of 309)

Post by tmarmy1 on Redundancy for RTE x64 - stuck in standalone CODESYS Forge talk (Post)
Sorry if this has been asked before, but I can't seem to locate a thread that leads me answers. I am running two RTE x64 softPLCs, one on the host machine and a second via a VM. I have managed to finally get both to a position that they see each other, but they are in standalone mode instead of an active/passive state for failover (image attached). Every attempt to sync via the button fails. There is probably some step or option that I have missed in my bumbling through this learning process, but for the life of me I can't seem to figure it out. Anyone got any suggestions what I need to look at to get this into an active/passive redundancy state?
Last updated: 2025-02-20

Post by matt-purcell on Which Lib to use, connect to a socket with URL instead of IP address CODESYS Forge talk (Post)
Hello, I have a new project and I need to connect to a TCP socket using the URL instead of an explicit IP address, myendpoint@mydomain.com Which library is best suited for this? This is for a new enterprise project, the endpoint is a server in a datacenter running some real time application. We have big IP, it will automatically reassign the IP address to the backup server if a crash occurs so an explicit IP won't work for me. I've done this in RS logix, working now to migrate that code over to codesys. Thanks in advance!
Last updated: 2024-06-17

Post by fari on Configure J1939 I/O Mapping via Scripting CODESYS Forge talk (Post)
Hi everyone, With the latest version of Codesys, it’s now possible to import DBC files directly into the J1939 Manager, which is great. However, I’m trying to achieve the same thing programmatically and can’t find any scripting functions related to import_dbc or any host_parameter that would let me configure PGNs and signal mappings automatically. So far, I’ve managed to add the J1939 Manager and an ECU, and I can pass the DBC database to it, but I’m stuck when it comes to adding the signals. Has anyone figured out if this can be done through scripting? (Attached is an illustration of what I am trying to accomplish programmatically). Thanks in advance.
Last updated: 2025-10-24

Post by nico-hefr on Python script command for "Access Control" CODESYS Forge talk (Post)
Hi everyone, I use Python Script to generate some POU in Codesys V3.5 SP19 and I would like to limit the "Access Control" to them thanks to the Python command. Is there any commands that allow to edit the "Properties... >> Access Control" of the POU? The other possibility is to set the permissions with "Project >> User Management >> Permissions... >> Project objects >> Modify >> ... >> myPOU", but I did not find the related Python commands. Otherwise, is there a global setting that allows to set the permissions by default? For example, Modify = Denied for everyone user by default. Thank you in advance for your help, Nico
Last updated: 2024-07-18

Post by abauza on Image Pool using in other libraries CODESYS Forge talk (Post)
Hi I have done some tests and i realised that it's an issue with the visualizator simulator because i uploaded the program to a device and tried to see on the Web browser and I see correcctlu the images of the image pool of the library. I post this for anyone that have the same problem.
Last updated: 2024-08-20

Post by peterkcontrols on Making a Visu Element normally invisible and visible if variable is true CODESYS Forge talk (Post)
Hello I would like an element in my visu to be only visible when a certain Variable is true, currently it is only capable of being normally visible and then invisible if a certain variable is true. Is this possible without programming a new variable to be the opposite of my desired control variable? Thanks.
Last updated: 2025-03-12

Post by manuknecht on Specify Input Configuration "OnDialogClosed" Action to only react to certain Dialogs CODESYS Forge talk (Post)
Thanks for your responses. The close listener sounds like an interesting approach, will have to see what I can do with it. I actually solved it as suggested by sturmghost by setting an enum variable to a certain state as soon as I open a dialog. This way I always know which dialog was opened last.
Last updated: 2023-10-02

Post by westcountryewe on Persistence Variables missing and DO NOT retain from Persistence Channel when using Boot Application CODESYS Forge talk (Post)
We've been experiencing an issue through SP18, SP19 and now SP20 where the Persistence Variables do not retain if we upload our program via a Boot Application. If we use the exact same program, and perform a Direct Upload via the Laptop and Ethernet connection, the Persistence Variables work exactly as expected. I have submitted 2 bug support tickets but I haven't had a response back from Codesys. Has anybody experienced the same issues and discovered a workaround? We have a requirement to utilise the Boot Application method because of logistical restrictions of being able to get out to every site, so at the moment it's a bit restriction.
Last updated: 2024-05-15

Post by swe-hob on call of a method of a function block in another program CODESYS Forge talk (Post)
Hi, Let's assume following: PRG_1 fb_1 : fbExample1; fb_1.method_1 do something... PRG_2 fb_2 : fbExample2; fb_2.method_2 if xTest then PRG_1.fb_1.method_1(); end_if; Is there a reason why runtime hangs when I call the method_1 in PRG_1 from a method in PRG_2? Both programs run in the same task. No chance that any other program calls the method. What I practically do there is that in the program PRG_2 I add a structed object into a buffer. In PRG_1 I just process the items in the buffer.
Last updated: 2024-06-03

Post by swe-hob on call of a method of a function block in another program CODESYS Forge talk (Post)
Hi, Let's assume following: PRG_1 fb_1 : fbExample1; fb_1.method_1 do something... PRG_2 fb_2 : fbExample2; fb_2.method_2 if xTest then PRG_1.fb_1.method_1(); end_if; Is there a reason why runtime hangs when I call the method_1 in PRG_1 from a method in PRG_2? Both programs run in the same task. No chance that any other program calls the method. What I practically do there is that in the program PRG_2 I add a structed object into a buffer. In PRG_1 I just process the items in the buffer.
Last updated: 2024-06-03

IVisualizationDialog.SetInterface does not seem to work at all CODESYS Forge talk (Thread)
IVisualizationDialog.SetInterface does not seem to work at all
Last updated: 2022-04-05

Not Possible to connect using control SL CODESYS Forge talk (Thread)
Not Possible to connect using control SL
Last updated: 2025-01-10

Webvisu not supported due to missing browser feature HTML5-Canvas CODESYS Forge talk (Thread)
Webvisu not supported due to missing browser feature HTML5-Canvas
Last updated: 2025-02-17

Type SM3_Drive is not equal to type SM3_Drive CODESYS Forge talk (Thread)
Type SM3_Drive is not equal to type SM3_Drive
Last updated: 2025-04-17

Why is Application_DataLog.sqlite not moved to my directory CODESYS Forge talk (Thread)
Why is Application_DataLog.sqlite not moved to my directory
Last updated: 2025-08-22

Codesys Installer not running after upgrading to v18 CODESYS Forge talk (Thread)
Codesys Installer not running after upgrading to v18
Last updated: 2022-09-12

Not able to get in run mode CODESYS Forge talk (Thread)
Not able to get in run mode
Last updated: 2017-11-07

Licences not functioning after update to 3.5 SP17 CODESYS Forge talk (Thread)
Licences not functioning after update to 3.5 SP17
Last updated: 2021-06-24

FB_init not passing parameters down to FB_init CODESYS Forge talk (Thread)
FB_init not passing parameters down to FB_init
Last updated: 2021-04-22

Not able to program in Instruction list CODESYS Forge talk (Thread)
Not able to program in Instruction list
Last updated: 2018-02-19

Retain identity does not match to current bootproject progra CODESYS Forge talk (Thread)
Retain identity does not match to current bootproject progra
Last updated: 2013-11-06

OPCUA not working since updating to 3.5.16.0 CODESYS Forge talk (Thread)
OPCUA not working since updating to 3.5.16.0
Last updated: 2020-06-16

Library is not export during export to "PLCOpenXML" CODESYS Forge talk (Thread)
Library is not export during export to "PLCOpenXML"
Last updated: 2021-03-31

no connection to target (Raspberry not found) CODESYS Forge talk (Thread)
no connection to target (Raspberry not found)
Last updated: 2018-04-26

Git does not seem to support Safety program? CODESYS Forge talk (Thread)
Git does not seem to support Safety program?
Last updated: 2023-05-24

<< < 1 .. 40 41 42 43 44 .. 309 > >> (Page 42 of 309)

Showing results of 7710

Sort by relevance or date