List of shading elements
The shading elements per facade are saved within the program in a field of structure elements of the type ST_BARShadingObject.
The declaration is global, since the administration function block FB_BARShadingObjectsEntry as well as the shading correction FB_BARShadingCorrection / FB_BARShadingCorrectionSouth access this field directly by input/output variable:
VAR_GLOBAL
arrShadingObject : ARRAY[1..iShadingObjects] OF ST_BARShadingObject;
END_VAR
The variable iShadingObjects thereby represents the upper limit of the available elements and is to be globally defined as a constant:
VAR_GLOBAL CONSTANT
iShadingObjects : INT := 20;
END_VAR
Requirements
Development environment | required library | required function |
---|---|---|
TwinCAT 3.1 build 4022.16 or higher | Tc2_HVAC V3.3.1.0 | TF8000 | TC3 HVAC V1.0.0.0 |