unCPC6  6.6.6
WinCC-OA implementation of UNICOS CPC
 All Files Functions Variables Pages
cpcOnOffConfig.ctl File Reference
const string UN_CONFIG_CPC_ONOFF_DPT_NAME = "CPC_OnOff"
 
const unsigned UN_CONFIG_CPC_ONOFF_LENGTH = 6
 
const unsigned UN_CONFIG_CPC_ONOFF_NORMAL_POSITION = 1
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDRESS_STSREG01 = 2
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDRESS_STSREG02 = 3
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDRESS_EVSTSREG01 = 4
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDRESS_EVSTSREG02 = 5
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDRESS_MANREG01 = 6
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_LENGTH = 9
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_MASKEVENT = 1
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_ON_LABEL = 2
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_OFF_LABEL = 3
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_PARAMETERS = 4
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_MASTER_NAME = 5
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_PARENTS = 6
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_CHILDREN = 7
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_TYPE = 8
 
const unsigned UN_CONFIG_CPC_ONOFF_ADDITIONAL_SECOND_ALIAS = 9
 
void CPC_OnOffConfig_initializeConstants ()
 
mapping CPC_OnOffConfig_getConfig ()
 
dyn_string CPC_OnOffConfig_getParamNames ()
 
 CPC_OnOffConfig_setCustomConfig (dyn_string dsConfigs, bool hasArchive, dyn_string &exceptionInfo)
 
void CPC_OnOffConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 S7_PLC_CPC_OnOff_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 _UnPlc_CPC_OnOff_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 OPCUA_CPC_OnOff_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 BACnet_CPC_OnOff_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void IEC104_CPC_OnOff_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 

Detailed Description

cpcOnOffConfig.ctl This library contains the import and export function of the CPC_OnOff.

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

Function Documentation

void CPC_OnOffConfig_initializeConstants ( )

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

Referenced by cpcConfigGenericFunctions_initConstants().

mapping CPC_OnOffConfig_getConfig ( )

DPE configuration TODO: use fw info instead

References CPC_INT32, CPC_StsReg01_ALST, CPC_StsReg01_TSTOPIST, CPC_StsReg02_FUSTOPIST, and CPC_UINT16.

dyn_string CPC_OnOffConfig_getParamNames ( )

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

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

Set custom configuration

References cpcDpFunc_fixAckPropogation().

S7_PLC_CPC_OnOff_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_OnOff Devices for S7_PLC front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_OnOffConfig_ExportConfig().

_UnPlc_CPC_OnOff_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_OnOff Devices for _UnPlc front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_OnOffConfig_ExportConfig().