Discussion

FORUM LATEST POST # TOPICS
General Discussion

Forum about anything you want to talk about.

No posts yet 0

Recent Activities

    CODESYS Forge

  • TimvH TimvH modified a comment on discussion Engineering 🇬🇧

    If the Professsional Developer Edition (which includes the Test Manager) is not supported by Schneider, then an option is to use the Open Source Unit test framework. See: https://forge.codesys.com/lib/counit/home/Home/

  • william posted a comment on discussion Engineering 🇬🇧

    Thank you, I will try it!

  • TimvH TimvH posted a comment on discussion Engineering 🇬🇧

    If the Professsional Developer Edition (which inclused the Test Manager) is not supported by Schneider, then an option is the use the Open Source Unit test framework. See: https://forge.codesys.com/lib/counit/home/Home/

  • a-simone posted a comment on discussion Engineering 🇬🇧

    Same problem, someone solved it?

  • pernockham posted a comment on discussion Runtime 🇬🇧

    Thanks! Out of office, will check on Monday.

  • eschwellinger eschwellinger posted a comment on discussion Runtime 🇬🇧

    can you please check this: https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_toubleshooting_deploytool2.html#UUID-b83dc01e-8cff-c574-7efe-8615b95a51ed_section-idm234790234401598

  • william posted a comment on discussion Engineering 🇬🇧

    Hi, We are investigating available libraries and frameworks for automated PLC unit testing in Schneider EcoStruxure Machine Expert. Specifically, we are looking for: Assertion libraries or test frameworks compatible with Machine Expert CODESYS‑based solutions that are not TwinCAT‑specific Any official or community‑recommended approach for unit testing FB/FC logic offline We have found several open‑source examples, but many appear to be TwinCAT‑dependent and therefore not compatible. Are there any...

  • risele modified a comment on discussion Engineering 🇬🇧

    You are welcome. Also note, that it's valid only if you modbus-device use same real/float value representation (IEEE 754). That's true for most of systems. But some devices may have other representation, such as integer + position of the decimal point, for example 123.456 is integer = 123456 and position = 3 Also note, that, ones again, depending on endianess of each system, you may also need to swap not just words, but bytes. TYPE u_Real : UNION rVal:REAL; wVal:ARRAY[0..1] OF WORD; bVal:ARRAY[0..3]...

  • risele posted a comment on discussion Engineering 🇬🇧

    You are welcome. Also note, that it's valid only if you modbus-device use same real/float value representation (IEEE 754). That's true for most of systems. But some devices may have other representation, such as integer + position of the decimal point, for example 123.456 is integer = 123456 and position = 3 Also note, that, ones again, depending on endianess of each system, you may also need to swap not just words, but bytes. TYPE u_Real : UNION rVal:REAL; wVal:ARRAY[0..1] OF WORD; bVal:ARRAY[0..3]...

  • risele modified a comment on discussion Engineering 🇬🇧

    First, if you don't need to change conversion rules in runtime, take a look at "Unit conversion" module (Application -> add object -> UnitConversion). You can specify there biderectional conversion with different units, limits and so on. Second, since MODBUS don't have "real" types but only general 16-bit registers and Real is 32-bit, generally you need a byte-was conversion Real <> two Words. Note, that depending on the devices on both sides, there are two options: Real-> Word1, Word2 or Real->...