unCPC6  6.6.8
WinCC-OA implementation of UNICOS CPC
 All Files Functions Variables Pages
cpcSumAlarmConfig.ctl File Reference
const string UN_CONFIG_CPC_SUMALARM_DPT_NAME = "CPC_SumAlarm"
 
const unsigned UN_CONFIG_CPC_SUMALARM_LENGTH = 22
 
const unsigned UN_CONFIG_CPC_SUMALARM_ADDITIONAL_LENGTH = 0
 
const unsigned UN_CONFIG_CPC_SUMALARM_ARCHIVE = 1
 
const unsigned UN_CONFIG_CPC_SUMALARM_ON_TEXT = 2
 
const unsigned UN_CONFIG_CPC_SUMALARM_OFF_TEXT = 3
 
const unsigned UN_CONFIG_CPC_SUMALARM_ALARM_CLASS = 4
 
const unsigned UN_CONFIG_CPC_SUMALARM_ACTIVE = 5
 
const unsigned UN_CONFIG_CPC_SUMALARM_DP_LIST_BASED = 6
 
const unsigned UN_CONFIG_CPC_SUMALARM_DP_PATTERN = 7
 
const unsigned UN_CONFIG_CPC_SUMALARM_PANEL = 8
 
const unsigned UN_CONFIG_CPC_SUMALARM_DPE_FRONTEND = 9
 
const unsigned UN_CONFIG_CPC_SUMALARM_DPE_OUTSIDE = 10
 
const unsigned UN_CONFIG_CPC_SUMALARM_DPE_THRESHOLD = 11
 
const unsigned UN_CONFIG_CPC_SUMALARM_DPE_THRESHOLD_VALUE = 12
 
const unsigned UN_CONFIG_CPC_SUMALARM_ALERT_ORDER_ORDER = 13
 
const unsigned UN_CONFIG_CPC_SUMALARM_ALERT_ORDER_PRIORITY = 14
 
const unsigned UN_CONFIG_CPC_SUMALARM_ALERT_PRIORITY_NUMBER = 15
 
const unsigned UN_CONFIG_CPC_SUMALARM_ALERT_SHORT_SIGN = 16
 
const unsigned UN_CONFIG_CPC_SUMALARM_ACK_DELETES = 17
 
const unsigned UN_CONFIG_CPC_SUMALARM_NOT_ACK = 18
 
const unsigned UN_CONFIG_CPC_SUMALARM_CAME_ACK = 19
 
const unsigned UN_CONFIG_CPC_SUMALARM_COUPLE_REQ_ACK = 20
 
const unsigned UN_CONFIG_CPC_SUMALARM_CAME_WENT_REQ_ACK = 21
 
const unsigned UN_CONFIG_CPC_SUMALARM_ENABLE_FILTER = 22
 
mapping CPC_SumAlarmConfig_getConfig ()
 
void CPC_SumAlarmConfig_initializeConstants ()
 
dyn_string CPC_SumAlarmConfig_getParamNames ()
 
void CPC_SumAlarmConfig_checkCustomConfig (dyn_string dsConfigLine, bool bHasArchive, dyn_string &exceptionInfo)
 
bool CPC_SumAlarmConfig_checkDpesExist (string sDpes, dyn_string &dsDpeNotExist, dyn_string &dsSumDpes, dyn_string &exceptionInfo)
 
void CPC_SumAlarmConfig_setCustomConfig (dyn_string dsConfigs, bool bHasArchive, dyn_string &exceptionInfo)
 
void CPC_SumAlarmConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
bool CPC_SumAlarmConfig_ExportParameters (string sDp, dyn_string &dsDpParameters, dyn_string &exceptionInfo)
 
void S7_PLC_CPC_SumAlarm_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void _UnPlc_CPC_SumAlarm_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void OPCUA_CPC_SumAlarm_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void BACnet_CPC_SumAlarm_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void IEC104_CPC_SumAlarm_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 

Detailed Description

cpcSummaryAlarmConfig.ctl This library contains the import and export function of the CPC_SumAlarm device

Creation Date
01/10/2020
Modification History
Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Author
the author (DEP-GROUP) Jonas Arroyo (BE-ICS-FD)

Function Documentation

void CPC_SumAlarmConfig_initializeConstants ( )

Initialize the constants required for the import process to improve the performance

dyn_string CPC_SumAlarmConfig_getParamNames ( )

Returns the list of parameter names that passed via config line.

void CPC_SumAlarmConfig_checkCustomConfig ( dyn_string  dsConfigLine,
bool  bHasArchive,
dyn_string &  exceptionInfo 
)
bool CPC_SumAlarmConfig_checkDpesExist ( string  sDpes,
dyn_string &  dsDpeNotExist,
dyn_string &  dsSumDpes,
dyn_string &  exceptionInfo 
)

Checks the existant of connected DPEs or Aliases in the Summary alarm

Referenced by CPC_SumAlarmConfig_checkCustomConfig(), and CPC_SumAlarmConfig_setCustomConfig().

void CPC_SumAlarmConfig_setCustomConfig ( dyn_string  dsConfigs,
bool  bHasArchive,
dyn_string &  exceptionInfo 
)
void CPC_SumAlarmConfig_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)
void S7_PLC_CPC_SumAlarm_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_SumAlarm Devices for S7_PLC front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_SumAlarmConfig_ExportConfig().

void _UnPlc_CPC_SumAlarm_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_SumAlarm Devices for _UnPlc front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_SumAlarmConfig_ExportConfig().

void OPCUA_CPC_SumAlarm_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_SumAlarm Devices for OPCUA front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_SumAlarmConfig_ExportConfig().

void BACnet_CPC_SumAlarm_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_SumAlarm Devices for BACnet front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_SumAlarmConfig_ExportConfig().

void IEC104_CPC_SumAlarm_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_SumAlarm Devices for IEC104 front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_SumAlarmConfig_ExportConfig().