BA_Param

The global parameter list contains general parameters to initialize objects.

BA_Param 1:
VAR_GLOBAL CONSTANT
{region 'Sun Protection'}
  nSunPrt_MaxSunBldScn       : USINT := 20;
  nSunPrt_MaxRowFcd          : UINT := 10;
  nSunPrt_MaxColumnFcd       : UINT := 20;
  nSunPrt_MaxShdObj          : UINT := 20;
{attribute 'parameterUnit' := 'Byte'}
  nSunPrt_MaxDataFileSize    : UDINT := 100000;
{endregion}
  {region 'Universal'}
    {region 'Sequence'}
      nMaxSeqCtrl            : USINT := 8;
    {endregion}
    {region 'Plant Control'}
      nMaxPriority           : UDINT := 16;
      nMaxAggregate          : UDINT := 16;
      nNumberOfOpModes       : UDINT := 24;
    {endregion}
  {endregion}
END_VAR

Name

Type

Description

nSunPrt_MaxSunBldScn

USINT

Maximum set of scenes that can be administered by a FB_BA_SunBldScn:

nSunPrt_MaxRowFcd

UINT

Maximum number of floors that can be monitored by the shading correction (horizontal orientation of windows).

nSunPrt_MaxColumnFcd

UINT

Maximum number of axes that can be monitored by the shading correction (vertical alignment of windows).

nSunPrt_MaxShdObj

UINT

Maximum number of shading objects that cast shadows on a facade.

nSunPrt_MaxDataFileSize

UDINT

Maximum file size [byte] for Excel lists to be read by the function blocks FB_BA_RdFcdElemLst and FB_BA_RdShdObjLst.

nMaxSeqCtrl

USINT

The global parameter specifies the number of sequence controllers. It limits the data and command structure arrSeqLinkData within the structure ST_BA_SeqLink.

The value must not be less than 1.

nMaxPriority

UDINT

The global parameter specifies the maximum number of priorities within the plant control FB_BA_PlantControl.

The value must not be less than 1.

nMaxAggregates

UDINT

The global parameter specifies the maximum number of aggregates within the plant control FB_BA_PlantControl.

The value must not be less than 1.

nNumberOfOpModes

UDINT

The global parameter specifies the maximum number of operation modes within the plant controller FB_BA_PlantControl.

The value must not be less than 1.