Home
Home
Home
Home
Hi, CODESYS does not have a tag database. Just like C, C#, Pascal Java and any other higher language don't have a tag database. Allthough the compiler is ment for PLC programmes, the setup of the IDE and compiler are based on modern IDE's as mentioned before (CODESYS largely looks and feels like a slimmed down version of VS.NET) Generally you are asking for a list of variables. You can use a GVL list for this. Regards,
Hi, CODESYS does not have a tag database. Just like C, C#, Pascal Java and any other higher language don't have a tag database. Allthough the compiler is ment for PLC programmes, the setup of the IDE and compiler are based on modern IDE's as mentioned before (CODESYS largely looks and feels like a slimmed down version of VS.NET) Generally you are asking for a list of all variables used in all POU's? What do you want to achieve with such a list? Regards,
Hi, CODESYS does not have a tag database, just like C, C#, Pascal Java and any other higher language don't have a tag database. Allthough the compiler is ment for PLC programmes, the setup of the IDE and compiler are based on modern IDE's as mentioned before (CODESYS largely looks and feels like a slimmed down version of VS.NET) Generally you are asking for a list of all variables used in all POU's? What do you want to achieve with such a list? Regards,
Home
Home
Home
Home
Home
Home
Ah, I never considered that. But pointers should do fine if you check them <> 0 before trying to dereference them.
Home
Some tips after seeing your code snippet: To ensure you always work with a valid pointer you should take care of the following: Always call the code which references the pointer and not do this only once(!) Doing it continuously ensures correct working during a warm download after a code change, besides the overhead is minimal compared to a crashing application ;-) //IF xFirstCycle THEN apwPointers[0] := ADR(LagerD.Evaporator1.iDefrostHour1); // xFirstCycle := FALSE; //END_IF Plus always test the...
Hi there! You are cordially invited to download the latest stable version of the "CfUnit Release v1.1.0.0" https://forge.codesys.com/prj/cfunit/landing/Home/ So, whats new in CfUnit v1.1.0.0? Improved performance and log responsiveness, Writing tests now takes less effort through yet smaller burner plate code. Added new assertion methods, among WSTRING support for IIoT targeted software (UTF8/UTF16 encoded strings) Improved feedback from assertion failures (actual value, expected value, message)...
Home
Home