Information about eTO_JUNK() instruction – Support Elsist https://support.elsist.biz/forums/topic/information-about-eto_junk-instruction/feed/ Fri, 30 Oct 2026 08:12:41 +0000 https://bbpress.org/?v=2.6.20 it-IT https://support.elsist.biz/forums/topic/information-about-eto_junk-instruction/#post-81779 Information about eTO_JUNK() instruction https://support.elsist.biz/forums/topic/information-about-eto_junk-instruction/#post-81779 Wed, 30 Apr 2025 06:19:10 +0000 George I did know anything about eTO_JUNK()  function…

]]>
https://support.elsist.biz/forums/topic/information-about-eto_junk-instruction/#post-81781 Rispondi a: Information about eTO_JUNK() instruction https://support.elsist.biz/forums/topic/information-about-eto_junk-instruction/#post-81781 Wed, 30 Apr 2025 06:23:27 +0000 Sergio Bertana The IEC 61131 norm requires that all functions have a return value and that the return value must transferred to a variable of the same type.

This forces to define variables only to store the return values ​​from the functions even if these values ​​are not useful in the development of the program.

The eTO_JUNK instruction (Present in the library package version from PCK055A030) allows to discard the return value of the functions without generating warnings or compilation errors.

]]>