BA2_Param

The global variable list contains general parameters to initialize objects.

Illustration

{attribute 'qualified_only'}
{attribute 'strict'}
VAR_GLOBAL CONSTANT 
  fAP                                : REAL := 1013.25; 
  nDefTimeDelay_ToAbnormal           : UDINT := 1;
  nDefTimeDelay_ToNormal             : UDINT := 1;
  fDefCOVIncrement                   : REAL := 0.1;
  fDefLimitDeadband                  : REAL := 0.0;
  nLoop_DefOpMode                    : E_BA_PIDMode := E_BA_PIDMode.eP1ID;
  stTrend_DefStartTime               : ST_BA_DateTime := ();
  stTrend_DefStopTime                : ST_BA_DateTime := ();
  nTrend_BufferSize                  : UDINT:= 500;
  bTrend_DefLogEnable                : BOOL := FALSE;
  bTrend_DefStopOnFull               : BOOL := FALSE;
  nTrend_DefLogInterval              : UDINT := 90;
  nTrend_DefNotificationThreshold    : UDINT := 50;
  eTrend_DefLoggingType              : E_BA_LoggingType := E_BA_LoggingType.ePolled;
END_VAR
VAR_GLOBAL
  bBlink                             : BOOL;
  bDlyStartPLC                       : BOOL := TRUE;
END_VAR

VAR_GLOBAL CONSTANT

Name

Type

Description

fAP

REAL

Global constant Hydrostatic air pressure. The mean air pressure of the earth's atmosphere at sea level is 1013.25 hPa.

nDefTimeDelay_ToAbnormal

UDINT

 

nDefTimeDelay_ToNormal

UDINT

 

fDefCOVIncrement

REAL

 

fDefLimitDeadband

REAL

 

nLoop_DefOpMode

E_BA_PIDMode

 

stTrend_DefStartTime

ST_BA_DateTime

 

stTrend_DefStopTime

ST_BA_DateTime

 

nTrend_BufferSize

UDINT

 

bTrend_DefLogEnable

BOOL

 

bTrend_DefStopOnFull

BOOL

 

nTrend_DefLogInterval

UDINT

 

nTrend_DefNotificationThreshold

UDINT

 

eTrend_DefLoggingType

E_BA_LoggingType

 

VAR_GLOBAL

Name

Type

Description

bBlink

BOOL

Global blink pulse. The blink pulse is generated in the template FB_BA_ControlCabinetBasic.

bDlyStartPLC

BOOL

The variable is set to TRUE delayed after a restart of the PLC. In the template FB_BA_Device this delay is implemented by the timing element tonDlyStartPLC.