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

 
<< < 1 .. 82 83 84 85 86 .. 268 > >> (Page 84 of 268)

Post by pharus on Setup problems with PiXtend CODESYS Forge talk (Post)
Hello all, I have an PiXtend V2L complete kit and installed everything like in the manual. Ive installed Codesys V3.5 S20 Codesys Control for Raspberry Pi PiXtend_V2_Professional_for_CODESYS.package But as soon as i Create a Project, i get a lot of error messages, and i cant find the PLC via Ethernet Thanks a lot
Last updated: 2024-06-19

Post by struccc on Wish: CODESYSControl.cfg - again CODESYS Forge talk (Post)
Before creating this topic, I was browsing the search results for CodesysControl.cfg - many results, and I remember very well, it's a problematic issue for a long time. To summarize: there were many requests for documentation on this file - the most comprehensive reply is: https://forge.codesys.com/forge/talk/Runtime/thread/ebbf851a3d/#eb85 Hi, not really, this is covered by the manual which you get if you use a runtime toolkit which is not free of charge. Maybe we need to extract the config file part from that documentation if that is possible. BR Edwin I am not sure how much is this relevant, since we buy SL License directly from CODESYS... I think it is a reasonable demand, to get documentation on the configuration entries affecting the documented behaviour of the runtime system and it's components The actual reason I bring up this issue again can be read here: https://forge.codesys.com/forge/talk/Runtime/thread/febad3cc40/#0e12 but mostly my frustration about noticing some new, unknown and undocumented entries in my configuration file. Again. And this happens a lot recently. Just some examples: Changes with SysFile - and mandatory use of IEC path Introduction of Mandatory user management File transfer service now disabled by default SysProcess - allowed commands The above mentioned CmpApp parameters... And finally (Regaridng windows install): With the newer versions, the installation directory (together with the configuration file) tends to hide itself to some super silly location under the roaming profile data of local system account. I am not sure if this change was documented somewhere, but was a very unpleasant one. Someone could please explain the reason and the concept of the introduction of this release specific directories (I am sure, there is a good reason) - how to use them properly? - How to re-introduce user configuration (to preserve configuration data between versions)? - How to do version - to version migrations properly? - How to keep old version of runtime available and ready to start with it's original configuration and application? - ... Therefore, the lack a regularly updated description of CodesysControl .cfg , including all the configuration entries, together with their default values for different runtime versions is really a big deficiency.* This should be done for all components storing or just seeking data from this file... (Maybe there is such thing but I failed to find???) It is regularly causing trouble when introducing a new version (together with the long awaited bug fixes and enhancements), what has changed it's default behaviour for security or other practical reasons. I agree this is very important, and it is logical to change the default options: But it must be documented historically, and make it easily available, so we can prepare better for the upgrade of the runtime. Forge talk is a great source, but not very practical for this kind of documentation purposes... Thanks in advance for CODESYS staff πŸ™πŸ™πŸ™ (Ps.: It would look rather silly, if some members of the user community prepares this documentation on a Forge Wiki page... Or??? Should we?)
Last updated: 2024-11-21

Post by kleeswi on Visualization scaling problem with B&R T30 panel CODESYS Forge talk (Post)
The probelm arises for the B&R T30 panel after updating Codesys from 3.5.17 to 3.5.19 patch 5. We have to use 3.5.19 for other reasons so we cannot downgrade the version. The scaling problem only exists for the B&R 6PPT30.0702.20F025 panel, the B&R T50 panel and a esa lumia panel work. When we choose a fixed resolution it looks also good, however we also want to support the esa lumia panel with a different resolution. The images show the anisotropic and isotropic option. In the anisotropic option it scales the hight correctly but not the width and in the isotropic option is scales both hight and width false, it also does not start in the top left corner. Does someone have any suggestion why it does not work anymore with the new codesys version and are there workarounds? I added all versions with visualization packages as an image, visuElems is 4.4.0.0.
Last updated: 2024-07-29

Post by dom4u on Using PEAK CAN PCIe card (IPEH-004040) with Codesys Control RTE V3 CODESYS Forge talk (Post)
Some findings on this issue: PEAK CAN Driver is the same as in every PCI card from PEAK. I updated the inf file. Here are my steps: 1. Include right VendorID into the *.inf file 2. Disable Windows driver check (Disable WHQL check). This you need because 3S driver is not certified. You will find steps via google or ask chatgpt :) 3. Select: Select driver from a list and navigate to the folder. Say yes to install an uncertified driver. 4. Driver installed and device without errors I did the same with CAN Card from ESD, but here you dont need to include the vendor ID. In ANY CASE it was not successful. The RTIOwdmgeneric is not available in Codesys or anyhow accassable :( I wonder that it fails in two cases, two suppliers, two driver in the same way. How can RTIOwdmgeneric implemented into the project?
Last updated: 2024-12-20

Post by jaspergain on Non-existing identifiers CODESYS Forge talk (Post)
Hello, I got a bit of a weird issue going on which is kind of annoying. So recently we switched a lot of Modbus IO to EtherCAT, as we were having issues with stability. All works fine, which is great. But sometimes when I change the program I get errors claiming that identifiers are not defined. Meaning I can't go online. See the picture below. I believe this is because some of these identifiers were used with Modbus, and they weren't properly removed/deleted? A clean all temporary fixes the issue, but it comes back again after a while of changing the code, and building. Any way to fix these non-existing required identifiers, or even find out where they are required? Thanks for the help in advance. Jasper.
Last updated: 2024-05-29

Post by pistola on Making a Visu Element normally invisible and visible if variable is true CODESYS Forge talk (Post)
You can use Not(Variable) in that Invisible spot. Example if you want it to be invisible when the bool is false then: Not(True) = False Not(False) = True
Last updated: 2025-03-14

Post by macros8 on Alarm Management - Import and Export of AlarmGroup CODESYS Forge talk (Post)
Hi, I struggle with exporting my Alarm Messages and following importing back to my project. Because filling in one by one is very time consuming I want to use export function and edit .csv file in Excel. As soon as I modify the file the import back to project does not work at all and function returns errors. Would you pls give me a hint how to properly use this functionality? Thanks a lot for help. Regards, M.
Last updated: 2023-12-02

Post by micik on PLCOpenXML Export/Import with Visualisation CODESYS Forge talk (Post)
I have noticed that Codesys doesn't provide option to Export any Visualization objects even though there is option to check to export VISU_TASK, which is strange because when Import in another empty project, user will end up with build errors. I understand that probable reason for this is that PLCOpenXML specification includes only "PLC" parts of the project (POU, PRG, variable lists, device ....), but not sure about it. Perhaps, there is some option to include visu objects also in the plcopen xml export list??
Last updated: 2025-01-07

Post by sercan on Connecting Parameter 'A' in G-Code to Physical Axis in CNC Project CODESYS Forge talk (Post)
I want to run the following command by linking it to the A-Axis: G01 A45.0 Which TRAFO should I use to do this? SMC_TRAFO_5Axes and SMC_TRAFO_GantryCutter3 function blocks did not work! For example, when SMC_TRAFO_5Axes is used, parameters B and C can be resolved by the transformer. However, parameter A cannot be resolved. Only SMC_Interpolator displays the value of parameter A in the SMC_Interpolator => piSetPosition.dA output. Should I drive this axis with SoftMotion commands (MC_MoveAbsolute etc.)?
Last updated: 2025-05-07

Post by ppix on Establishing TLS Connection with MQTT Broker using MQTT Client SL Package CODESYS Forge talk (Post)
For anyone confused with the process visit this link (the bottom section about creating a .pfx file) https://content.helpme-codesys.com/en/LibDevSummary/certificate.html#import-of-client-certificates-with-private-key. I solved this problem by creating a .pfx file and importing it into the security store under 'Own Certificates'(must have SP18 or newer to import .pfx). I used a gitbash shell to enter the openssl command that created the .pfx file. Once you import the file, in your TLS context, set your 'sUseCaseName' to be the same as the name listed in the 'Information' column of your imported certificate. This did it for me
Last updated: 2024-06-20

Post by francescoc on Logger in ms CODESYS Forge talk (Post)
Hi, I cannot find any documentation regarding the codesys configuration file. I modified this part to have log files saved to disk: [CmpLog] Logger.0.Name=LOGS/PlcLog Logger.0.Filter=0xFFFFFFFF Logger.0.Enable=1 Logger.0.MaxEntries=20000 Logger.0.MaxFileSize=5000 Logger.0.MaxFiles=10 Logger.0.Backend.0.ClassId=0x0000010B ;sends logger messages to SysOut Logger.0.Backend.1.ClassId=0x00000104 ;writes logger messages in a file Logger.0.Backend.2.ClassId=0x00000135 ;sends logger messages as UDP syslog Logger.0.Type=0x314;Set the timestamp to RTC ;Logger.1.Name=/tmp/CommLog ;Logger.1.Enable=1 I need to have milliseconds in the timestamp as well. What value should I use instead of 0x314? Is there any documentation regarding this file? Thank you
Last updated: 2024-03-16

Bypass of "onlineapp.login" CODESYS Forge talk (Thread)
Bypass of "onlineapp.login"
Last updated: 2014-08-22

Management of Unit Tests CODESYS Forge talk (Thread)
Management of Unit Tests
Last updated: 2018-10-05

Example of CmpIecVarAccess CODESYS Forge talk (Thread)
Example of CmpIecVarAccess
Last updated: 2020-04-03

Cause of error message CODESYS Forge talk (Thread)
Cause of error message
Last updated: 2021-09-18

ARRAY of unknow struct CODESYS Forge talk (Thread)
ARRAY of unknow struct
Last updated: 2017-10-09

SAfe Shutdown of BBB CODESYS Forge talk (Thread)
SAfe Shutdown of BBB
Last updated: 2017-08-07

ARRAY [*] OF in PLCopenXML CODESYS Forge talk (Thread)
ARRAY [*] OF in PLCopenXML
Last updated: 2018-10-26

Simulation of SysLibStr? CODESYS Forge talk (Thread)
Simulation of SysLibStr?
Last updated: 2012-09-04

Import of .gdc files CODESYS Forge talk (Thread)
Import of .gdc files
Last updated: 2018-12-25

Restoration of Codesys License CODESYS Forge talk (Thread)
Restoration of Codesys License
Last updated: 2023-08-09

Control of origins. CODESYS Forge talk (Thread)
Control of origins.
Last updated: 2018-07-30

List of compiler defines CODESYS Forge talk (Thread)
List of compiler defines
Last updated: 2019-03-13

Strange behavior of SMC_SetSoftwareLimist CODESYS Forge talk (Thread)
Strange behavior of SMC_SetSoftwareLimist
Last updated: 2022-04-06

Resetting of Sub-SFCs CODESYS Forge talk (Thread)
Resetting of Sub-SFCs
Last updated: 2017-06-07

<< < 1 .. 82 83 84 85 86 .. 268 > >> (Page 84 of 268)

Showing results of 6676

Sort by relevance or date