You should use this method: VAR NULL:REFERENCE TO FB_MSG END_VAR Add_EVT_OUT REF= NULL;
It seems that there is no solution to this problem.
Dear, When I use "__NEW" to dynamically create the object "Object_1", and assign this object "Object_1" to another object "Object_2". At this point, I use "DELETE" to release the object from "Object_2". At this time, I cannot judge whether the object has been released normally through "Object_1" (in fact, the object has been released theoretically). Thanks for you help.
Memory addressing is measured in bytes, with BOOL occupying one byte. BIT is quite unique as it occupies one bit. So, try not to use BIT in the program. You can use the Unpack function to solve your problem.
Can you add a background FB block to the visualization page, and loop through this FB block when the page is in display mode. This FB block requires two more functions, one for executing when the page is displayed and the other for executing when the page is closed.
It's not that you missed something, it's that CODESYS doesn't have this feature. I hope CODESYS can add this feature. We also hope to add function overload functionality.
I have also been troubled by this issue for a long time, to the extent that I have to implement a recipe management library myself. Codesys version used: 3.5.19.40
I think what you want is a declaration period function for the page, but unfortunately CODESYS does not have it.