FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
03-01-2024 07:41 PM
Hello,
A customer noticed these warnings in his ctrlX PLC 2.04 project associated with DL_ReadNode and IL_ECatSoeRead function blocks:
After some testing in my own project, the issue seems to be related to having these function blocks within a user-defined FB. If I call DL_ReadNode from a PRG I get no warning. The same DL_ReadNode called within an FB yields this warning, but seems to function properly.
DL_ReadNode called from user-defined FB:
DL_ReadNode called from PRG:
Best regards,
Brian
Solved! Go to Solution.
03-05-2024 11:28 AM
You can suppress this warning by adding pragma {attribute 'no_assign'} to the wrapper block:
The 'no_assign' pragma is described in the CODESYS documentation here.
03-06-2024 08:43 PM
Thank you!