CODESYS Development System
Attribute: enable_dynamic_creation The enable_dynamic_creation pragma is needed for using the __NEW in the case of function blocks. Syntax : {attribute 'enable_dynamic_creation'} Insert location: Firs
CODESYS Development System
Attribute: estimated-stack-usage The pragma provides an estimated value for the stack size requirement. Methods with recursive calls cannot pass a stack check because stack usage cannot be determined.
CODESYS Development System
Attribute: ExpandFully The effect of this pragma is that the members of an array used as an input variable for referenced visualizations are made visible in the properties dialog of the visualization.
CODESYS Development System
Attribute: hide Important Using the pragma {attribute 'hide'} to hide variables and POUs does not have the desired effect in most cases. Instead, you should use the {attribute 'conditionalshow'} . pra
CODESYS Development System
Attribute: initialize_on_call The pragma causes input variables of a function block to be initialized on each call of the function block. If an input variable is affected which expects a pointer and t
CODESYS Development System
Attribute: init_namespace The effect of this pragma is that a variable of the type STRING or WSTRING , which is declared in a library function block with this pragma, is initialized when used in the p
CODESYS Development System
Attribute: io_function_block, io_function_block_mapping The io_function_block attribute has the effect that a function block, which is decorated with it, is available in the device configuration for a
CODESYS Development System
Attribute: is_connected You use the pragma 'is_connected' to decorate a Boolean function block variable which, when a function module instance is called, provides information about whether the associa
CODESYS Development System
Attribute: linkalways The pragma {attribute 'linkalways'} instructs the compiler to always include a POU or a library POU in the compile information. During the build, the POU is compiled and is part
CODESYS Development System
Attribute: monitoring_display This pragma in the declaration of a function block or a structure has the effect that the current value of the specified member ( property or Variable) is also displayed