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

 
<< < 1 .. 30 31 32 33 34 .. 287 > >> (Page 32 of 287)

Control Win one instance at a time CODESYS Forge talk (Thread)
Control Win one instance at a time
Last updated: 2024-10-25

Control Win one instance at a time CODESYS Forge talk (Thread)
Control Win one instance at a time
Last updated: 2024-10-25

Control Win one instance at a time CODESYS Forge talk (Thread)
Control Win one instance at a time
Last updated: 2024-10-25

Slider instance value when accessed through "execute ST-code" CODESYS Forge talk (Thread)
Slider instance value when accessed through "execute ST-code"
Last updated: 2025-02-07

Get a instance name as string variable? CODESYS Forge talk (Thread)
Get a instance name as string variable?
Last updated: 2010-02-27

Why declare FB instance name every time? CODESYS Forge talk (Thread)
Why declare FB instance name every time?
Last updated: 2005-09-13

Accessing a array instance variable is declared in VAR CODESYS Forge talk (Thread)
Accessing a array instance variable is declared in VAR
Last updated: 2015-10-10

Alarm Manager - notiifying which instance has fired alarm event CODESYS Forge talk (Thread)
Alarm Manager - notiifying which instance has fired alarm event
Last updated: 2020-05-29

Post by fajean on CODESYS control on RPi starts, shortly runs, then exits CODESYS Forge talk (Post)
4.11 appears to solve the problem. Thanks for your help. I had first installed the 64-bit version of RPiOS, but looking at various posts and the product's page on the store which only lists 32-bit compatibility, I downgraded to the 32-bit version. I did this before trying 4.11, and it did not solve the problem. Thus my working system is 32-bit, and I am wondering if I can go back to 64-bit or not. An 64-bit OS is not listed as compatible on the store's web page, but when installing there actually is a 64-bit version listed (automatically chosen when installing on 64-bit, but otherwise greyed out). Is 64-bit supported and the website is out-of-date, or is that some kind of work-in-progress?
Last updated: 2024-06-13

Post by pouyavakili on Execute Codesys Tests with python CODESYS Forge talk (Post)
❓ Issue: TestManager Not Available in Python Script (AttributeError) πŸ™ Question: Why does project.get_testmanager() not work in scripting, even though Test Manager is installed and licensed, and the script runs in GUI mode? Is there a way to ensure the Test Manager interface is loaded or accessible from the scripting environment? 🧠 Summary: I'm trying to automate test execution using the CODESYS scripting engine (Python) via a script that opens a project, builds the application, and runs tests from a TestRepository.xml. Although the Test Manager works manually in the IDE, it fails when accessed via script with the following error: AttributeError: 'ScriptObject' object has no attribute 'testmanager' πŸ§ͺ Test Setup: CODESYS version: 3.5.21.10 Test Manager: Installed and licensed (works in the IDE manually) Project: Contains a test repository, which can be executed via the GUI Script execution method: powershell Start-Process -FilePath "C:\Program Files\CODESYS 3.5.21.10\CODESYS\Common\CODESYS.exe" ` -ArgumentList @( '--profile="CODESYS V3.5 SP21 Patch 1"', '--runscript="C:\Scripts\run_tests.py"' ) -Wait πŸ“œ Script Summary: python project = projects.open(project_path) application = project.active_application application.build() This fails: testmanager = project.get_testmanager() ❗ Problem: Calling project.get_testmanager() or application.testmanager throws an AttributeError, even though the same project and test repository work in the GUI.
Last updated: 2025-07-23

Post by k2saki on Table How to set row number from 1 ( not from 0) CODESYS Forge talk (Post)
Thanks ! That worked fine !
Last updated: 2024-06-03

Post by haydermsalih on OSCAT Network LIBRARY: FTP_CLIENT CODESYS Forge talk (Post)
Hello I am using FTP_CLIENT to donwnload/Upload a text or CSV file from FTP server. UpLoading from PLC to FTP server is working without any problem but when I try to download from FTP server I get an error. The FTP_CLIENT Block allows me to add URL but I do not where I can specify the direcory to save the downloaded file... is there anyone has an experience with downloading from FTP server using FTP_CLIENT block. Thanks in advance Hayder
Last updated: 2024-01-24

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

Encryption of application and communication not working CODESYS Forge talk (Thread)
Encryption of application and communication not working
Last updated: 2021-11-04

Flow Control not working in case of using Library variables CODESYS Forge talk (Thread)
Flow Control not working in case of using Library variables
Last updated: 2016-05-11

mapping of I2C I/O Pins not possible CODESYS Forge talk (Thread)
mapping of I2C I/O Pins not possible
Last updated: 2015-12-14

Post by r-niedermayer on OPC UA subscriber not operational CODESYS Forge talk (Post)
Hi. As far as projects in "old version"s are concerned, these can be upgraded to newer versions at any time. To do this, the device must be updated accordingly and the copilers and library versions must be adapted. You can find instructions on how to proceed in the online help/FAQ: https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_changing_compiler_version.html https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_cmd_update_device.html See also 4.3.22.4 "How to open an Example Project" within the following pdf for more details on the single steps: https://forge.codesys.com/lib/counit/tickets/_discuss/thread/3e991befbc/ca97/attachment/Public%20FAQ-v13-20240610_075228.pdf Regaring your OPCUA connection state always showing just "DISABLED", without knowing both sides of the assembly in detail, one can only approach the problem theoretically. We can give a chekclist on how to proceed: Fist, please recheck the communication settings in the OPC UA connection function block to ensure that the server URL, endpoint URL, and other settings are correct and match the configuration of the OPC UA server. Verify that the OPC UA server is running and accessible. -You can try to connect to the OPC UA server using a separate client, such as UAExpert, to ensure that the issue is not related to the OPC UA server itself. Test the security settings in the OPC UA connection function block to ensure that the correct security policy and certificate are selected. If you are using a dynamic connection to the OPC UA server, probe that the connection settings are correctly configured and that the OPC UA client is able to establish a connection to the OPC UA server. Also, please loock into the log files for any errors related to the OPC UA connection function block, these should be listet there. The log files may also provide additional information about the issue and help you to further troubleshoot the problem. FYI - Please see https://content.helpme-codesys.com/en/CODESYS%20Communication/_cds_obj_data_source_communication_opc_ua_server.html: Her you can finde the Communication settings via OPC UA Server -> layout Browse Live Server: The client connects to the server and detects the existing variables and types. From Information Model The client reads the data structure (layout) of the OPC UA Server from the information model set here and as a result receives the information about available variables and types. A connection to the server is not required. The list contains the information models installed in the OPC UA Information Model Repository. "Read Connection" Settings from IEC Variable (option set): - The connection settings used by the device are not read here from the dialog, but at runtime from the IEC variable specified here. - For this possibility, please see the Using a Dynamic Connection to an OPC UA Server (https://content.helpme-codesys.com/en/CODESYS%20Communication/_comm_use_dynamic_opc_ua_server_comm_settings.html) The settings for the communication of a Client-data source to an OPC UA Server can also be dynamically configured from the IEC code and can also be changed at runtime. For such a purpose, a structure is available in the DatasourceOpcUAServer library (For a description of the OPC UA Server, there is one included in the standard installation of CODESYS, https://content.helpme-codesys.com/en/CODESYS%20Communication/_cds_encrypt_communication_data_sources_opc_ua_client.html)
Last updated: 2024-11-04

Post by clarenced on Multiple applications on one device sharing variables. CODESYS Forge talk (Post)
I am looking for an example of how to run 2 applications on 1 device that would have global variables shared between the two apps. In this case what I am trying to do is to have the main program logic run as one application and then have the visualization run as a second application. I find this https://us.store.codesys.com/media/n98_media_assets/files/000013-F/0/Multiple%20Applications_en.pdf, that talks about exactly what I want to do, but I can't find the download. The main reason I want to do this is for download speed. Right now it takes at least a minute to download our application to the PLC. A simple program downloads to the PLC in a very short time, but add visualization and the download time gets much longer. If I could download the program separately from the visualization I think that a simple program change would take very little time to download. I have tried create a GVL in the POUs view. This partly works in that both applications can see the GVL, but they each create their own instance of it and the variables are not shared between the two apps. There are ideas of using OPCUA but this raises problems with licensing and having to move any variable that needs to be shared into the Symbol Configuration. This adds a lot of management to keep this up to date. Any ideas would be appreciated thanks.
Last updated: 2025-02-20

Post by janderson on OPC UA Server limitations, large array crashes runtime CODESYS Forge talk (Post)
when using an array of structs, the runtime crashes. but when using an array of LREALS, it'll do 100k at least
Last updated: 2023-08-23

Post by eschwellinger on Gateway CODESYS Forge talk (Post)
yes, sorry this is an accident in current Gateway Version. Either use 3.5.20.0 Version. (download from CODESYS Store standalone setup - https://store.codesys.com/en/codesys-edge-gateway-for-windows.html ) or do it manually by: 1. stop Gateway: 2. Add in c:\Windows\System32\config\systemprofile\AppData\Roaming\CODESYS\CODESYSGatewayV3\xxxxxxxx\Gateway.cfg [CmpEdgeGateway] MaintenanceMode=1 3. start Gateway again 4. add it to your CAS Instance
Last updated: 2024-09-18

Post by kumareasu on How to open an .EXE file window from Codesys CODESYS Forge talk (Post)
Have you solved this ?
Last updated: 2024-04-18

Post by derpaul on Official MQTT-Client: MAX_RECEIVE_BUFFER_SIZE_EXCEEDED CODESYS Forge talk (Post)
Thank you very much so far - As I finaly decided to make an update on the PFC200 - as I've to get it up and running again. But something failed there and no I'm having an other Problem :-( I'll come back to this, when the error comes back!
Last updated: 2023-09-28

Post by jari-koivuluoma on Newly created texlists wont appear in the selection dropdown CODESYS Forge talk (Post)
When I create a new textlist in Codesys 3.5 SP19 Patch 5, it wont appear in the dropdown menu at Rectangle element > Dynamic texts > Text list. If I just type the name of the textlist to the field (in quotes), I get an error saying that some file is missing. Any good ideas what to do and what is going on. I recently updated to that version and I only now noticed this when I needed to add a new textlist so Im quite screwed with this not being able to add text lists. While im typing this, I tried copying an existing list and modifying it and it seems to show. Any ideas?
Last updated: 2024-09-19

Post by kevinjordan on C0244: No VAR_PERSISTENT list is part of the application to enter instance path for variable CODESYS Forge talk (Post)
Do you still have this image, or can you tell me where I need to click to enable persistant variables? I'm getting the same error:C0244: No VARPERSISTENT
Last updated: 2024-07-17

Network variables not working in some of the downloads of the application CODESYS Forge talk (Thread)
Network variables not working in some of the downloads of the application
Last updated: 2020-03-19

<< < 1 .. 30 31 32 33 34 .. 287 > >> (Page 32 of 287)

Showing results of 7157

Sort by relevance or date