cpcAnalogAlarmConfig.ctl File Reference



const string UN_CONFIG_CPC_ANALOGALARM_DPT_NAME = "CPC_AnalogAlarm"
const unsigned UN_CONFIG_CPC_ANALOGALARM_LENGTH = 24
const unsigned UN_CONFIG_CPC_ANALOGALARM_UNIT = 1
const unsigned UN_CONFIG_CPC_ANALOGALARM_FORMAT = 2
const unsigned UN_CONFIG_CPC_ANALOGALARM_HHALST_ARCHIVE_ACTIVE = 3
const unsigned UN_CONFIG_CPC_ANALOGALARM_HWST_ARCHIVE_ACTIVE = 3
const unsigned UN_CONFIG_CPC_ANALOGALARM_LWST_ARCHIVE_ACTIVE = 3
const unsigned UN_CONFIG_CPC_ANALOGALARM_LLALST_ARCHIVE_ACTIVE = 3
const unsigned UN_CONFIG_CPC_ANALOGALARM_IST_ARCHIVE_ACTIVE = 3
const unsigned UN_CONFIG_CPC_ANALOGALARM_WST_ARCHIVE_ACTIVE = 3
const unsigned UN_CONFIG_CPC_ANALOGALARM_POSST_ARCHIVE_ACTIVE = 4
const unsigned UN_CONFIG_CPC_ANALOGALARM_POSST_ARCHIVE_TIME_FILTER = 5
const unsigned UN_CONFIG_CPC_ANALOGALARM_SMS_CATEGORIES = 6
const unsigned UN_CONFIG_CPC_ANALOGALARM_SMS_MESSAGE = 7
const unsigned UN_CONFIG_CPC_ANALOGALARM_ACK_ALARM = 8
const unsigned UN_CONFIG_CPC_ANALOGALARM_ALARM_LEVEL = 9
const unsigned UN_CONFIG_CPC_ANALOGALARM_NORMAL_POSITION = 10
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_STSREG01 = 11
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_STSREG02 = 12
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_EVSTSREG01 = 13
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_EVSTSREG02 = 14
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_POSST = 15
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_HHST = 16
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_HST = 17
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_LST = 18
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_LLST = 19
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_MANREG01 = 20
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_HH = 21
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_H = 22
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_L = 23
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDRESS_LL = 24
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDITIONAL_LENGTH = 7
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDITIONAL_MASKEVENT = 1
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDITIONAL_PARAMETERS = 2
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDITIONAL_MASTER_NAME = 3
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDITIONAL_PARENTS = 4
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDITIONAL_CHILDREN = 5
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDITIONAL_TYPE = 6
const unsigned UN_CONFIG_CPC_ANALOGALARM_ADDITIONAL_SECOND_ALIAS = 7
const string UN_CONFIG_CPC_ANALOGALARM_HHALST_ALERT_TEXT = "HH"
const string UN_CONFIG_CPC_ANALOGALARM_HWST_ALERT_TEXT = "H"
const string UN_CONFIG_CPC_ANALOGALARM_LWST_ALERT_TEXT = "L"
const string UN_CONFIG_CPC_ANALOGALARM_LLALST_ALERT_TEXT = "LL"
const string UN_CONFIG_CPC_ANALOGALARM_HHALST_ALERT_CLASS_POSTFIX = "HH"
const string UN_CONFIG_CPC_ANALOGALARM_HWST_ALERT_CLASS_POSTFIX = "H"
const string UN_CONFIG_CPC_ANALOGALARM_LWST_ALERT_CLASS_POSTFIX = "L"
const string UN_CONFIG_CPC_ANALOGALARM_LLALST_ALERT_CLASS_POSTFIX = "LL"
mapping CPC_AnalogAlarmConfig_getConfig ()
dyn_string CPC_AnalogAlarmConfig_getParamNames ()
 CPC_AnalogAlarmConfig_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 S7_PLC_CPC_AnalogAlarm_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 _UnPlc_CPC_AnalogAlarm_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 CPC_AnalogAlarmConfig_checkCustomConfig (dyn_string configLine, bool hasArchive, dyn_string &exceptionInfo)
 CPC_AnalogAlarmConfig_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 S7_PLC_CPC_AnalogAlarm_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 _UnPlc_CPC_AnalogAlarm_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 CPC_AnalogAlarmConfig_setCustomConfig (dyn_string dsConfigs, bool hasArchive, dyn_string &exceptionInfo)
 CPC_AnalogAlarmConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 S7_PLC_CPC_AnalogAlarm_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 _UnPlc_CPC_AnalogAlarm_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)

Detailed Description

cpcAnalogAlarmConfig.ctl This library contains the import and export function of the CPC_AnalogAlarm.

Creation Date
dd/mm/yyyy
Modification History
Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Author:
the author (DEP-GROUP)

©Copyright CERN 2013 - all rights reserved


Function Documentation

mapping CPC_AnalogAlarmConfig_getConfig (  ) 
dyn_string CPC_AnalogAlarmConfig_getParamNames (  ) 

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

References CPC_PARAMS_ALDT.

CPC_AnalogAlarmConfig_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check data before configuration

Parameters:
[in] configLine Configs (see dyn_string indexes in constants defined)
[out] exceptionInfo All possible errors will be returned here
S7_PLC_CPC_AnalogAlarm_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_AnalogAlarm device configuration for the S7_PLC front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_checkDeviceConfig().

_UnPlc_CPC_AnalogAlarm_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_AnalogAlarm device configuration for the _UnPlc front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_checkDeviceConfig().

CPC_AnalogAlarmConfig_checkCustomConfig ( dyn_string  configLine,
bool  hasArchive,
dyn_string &  exceptionInfo 
)

Check custom configuration

CPC_AnalogAlarmConfig_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Creates dp (or checks if it is already presented)and sets configuration for CPC_AnalogAlarm object.

Parameters:
[in] dsConfigs Configs (see dyn_string indexes in constants defined) dsConfigs is the addition of the file configuration line + additional parameters needed for PVSS. These additional parameters are added during the import process. Their contents can be accessed using constants defined in unConfigGenericFunctions.ctl library
[out] exceptionInfo All possible errors will be returned here
S7_PLC_CPC_AnalogAlarm_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_AnalogAlarm device configuration for the S7_PLC front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_setDeviceConfig().

_UnPlc_CPC_AnalogAlarm_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_AnalogAlarm device configuration for the _UnPlc front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_setDeviceConfig().

CPC_AnalogAlarmConfig_setCustomConfig ( dyn_string  dsConfigs,
bool  hasArchive,
dyn_string &  exceptionInfo 
)

Set custom configuration

References CPC_CONFIG_ALARM_LEVEL.

CPC_AnalogAlarmConfig_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)
S7_PLC_CPC_AnalogAlarm_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogAlarm Devices for S7_PLC front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogAlarmConfig_ExportConfig().

_UnPlc_CPC_AnalogAlarm_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogAlarm Devices for _UnPlc front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogAlarmConfig_ExportConfig().


Generated on 11 Dec 2013 for unCPC6 by  doxygen 1.6.1