unCPC6 9.1.1
WinCC-OA implementation of UNICOS CPC
Loading...
Searching...
No Matches
cpcAnalogParameterConfig.ctl File Reference

Functions

mapping CPC_AnalogParameterConfig_getConfig ()
 
void CPC_AnalogParameterConfig_initializeConstants ()
 
 CPC_AnalogParameterConfig_checkCustomConfig (dyn_string configLine, bool hasArchive, dyn_string &exceptionInfo)
 
 CPC_AnalogParameterConfig_setCustomConfig (dyn_string dsConfigs, bool hasArchive, dyn_string &exceptionInfo)
 
void CPC_AnalogParameterConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo, bool bExportOnlineValuesAsDefault=FALSE)
 
 S7_PLC_CPC_AnalogParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 _UnPlc_CPC_AnalogParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 OPCUA_CPC_AnalogParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 BACnet_CPC_AnalogParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 DIP_CPC_AnalogParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 SNMP_CPC_AnalogParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void IEC104_CPC_AnalogParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 S7_PLC_CPC_AnalogParameter_ExportConfigOnlineValues (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 _UnPlc_CPC_AnalogParameter_ExportConfigOnlineValues (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 OPCUA_CPC_AnalogParameter_ExportConfigOnlineValues (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 BACnet_CPC_AnalogParameter_ExportConfigOnlineValues (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 DIP_CPC_AnalogParameter_ExportConfigOnlineValues (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 SNMP_CPC_AnalogParameter_ExportConfigOnlineValues (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void IEC104_CPC_AnalogParameter_ExportConfigOnlineValues (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 CPC_SOFT_FE_AnalogParameterConfig_checkCustomConfig (dyn_string configLine, bool hasArchive, dyn_string &exceptionInfo)
 
 CPC_SOFT_FE_AnalogParameterConfig_setCustomConfig (dyn_string dsConfigs, bool hasArchive, dyn_string &exceptionInfo)
 
void SOFT_FE_CPC_AnalogParameter_ExportConfigOnlineValues (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void SOFT_FE_CPC_AnalogParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 

Variables

const string UN_CONFIG_CPC_ANALOGPARAMETER_DPT_NAME = "CPC_AnalogParameter"
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_LENGTH = 15
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_UNIT = 1
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_FORMAT = 2
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_DEADBAND = 3
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_DEADBAND_TYPE = 4
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_RANGEMAX = 5
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_RANGEMIN = 6
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ARCHIVE_ACTIVE = 7
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ARCHIVE_TIME_FILTER = 8
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDRESS_MPOSRST = 9
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDRESS_POSST = 10
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDRESS_MPOSR = 11
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDRESS_STSREG01 = 12
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDRESS_EVSTSREG01 = 13
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDRESS_MANREG01 = 14
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_DEFAULT_VALUE = 15
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDITIONAL_LENGTH = 7
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDITIONAL_MASKEVENT = 1
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDITIONAL_PARAMETERS = 2
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDITIONAL_MASTER_NAME = 3
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDITIONAL_PARENTS = 4
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDITIONAL_CHILDREN = 5
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDITIONAL_TYPE = 6
 
const unsigned UN_CONFIG_CPC_ANALOGPARAMETER_ADDITIONAL_SECOND_ALIAS = 7
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_UNIT = 1
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_FORMAT = 2
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_RANGEMAX = 3
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_RANGEMIN = 4
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_ARCHIVE_ACTIVE = 5
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_ARCHIVE_TIME_FILTER = 6
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_DEFAULT_VALUE = 7
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_AUTONOMOUS = 8
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_LENGTH = 8
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_ADDITIONAL_LENGTH = 1
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGPARAMETER_ADDITIONAL_MASKEVENT = 1
 

Detailed Description

cpcAnalogParameterConfig.ctl This library contains the import and export function of the CPC_AnalogParameter.

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

Function Documentation

◆ CPC_AnalogParameterConfig_getConfig()

mapping CPC_AnalogParameterConfig_getConfig ( )

DPE configuration TODO: use fw info instead

References CPC_FLOAT, CPC_INT32, and CPC_UINT16.

◆ CPC_AnalogParameterConfig_initializeConstants()

void CPC_AnalogParameterConfig_initializeConstants ( )

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

Referenced by cpcConfigGenericFunctions_initConstants().

◆ CPC_AnalogParameterConfig_checkCustomConfig()

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

Check custom configuration

◆ CPC_AnalogParameterConfig_setCustomConfig()

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

Set custom configuration

References cpcGenericDpFunctions_getDeviceProperty().

◆ CPC_AnalogParameterConfig_ExportConfig()

◆ S7_PLC_CPC_AnalogParameter_ExportConfig()

S7_PLC_CPC_AnalogParameter_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogParameter Devices for S7_PLC front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogParameterConfig_ExportConfig().

◆ _UnPlc_CPC_AnalogParameter_ExportConfig()

_UnPlc_CPC_AnalogParameter_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogParameter Devices for _UnPlc front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogParameterConfig_ExportConfig().

◆ S7_PLC_CPC_AnalogParameter_ExportConfigOnlineValues()

S7_PLC_CPC_AnalogParameter_ExportConfigOnlineValues ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogParameter Devices and override the default parameters with the online values These are just simple wrappers to indicate that the device supports the feature

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogParameterConfig_ExportConfig().

◆ SOFT_FE_CPC_AnalogParameter_ExportConfigOnlineValues()

void SOFT_FE_CPC_AnalogParameter_ExportConfigOnlineValues ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Wrapper for SOFT_FE_CPC_AnalogParameter_ExportConfig to override default values with online values

References CPC_AnalogParameterConfig_ExportConfig(), and cpcExportGenericFunctions_setAutonomous().