unCPC6  6.6.6
WinCC-OA implementation of UNICOS CPC
 All Files Functions Variables Pages
cpcDpFunc.ctl File Reference

Functions

bit32 cpcDigitalParameterDPFunc_getStsReg01Value (string name, bit32 manreg01)
 
void cpcDpFunc_fixAckPropogation (string deviceName, string elemName)
 
int cpcDpFunc_syncAcknowledge (string dpeName, bool isUnAck)
 

Detailed Description

cpcDpFunc.ctl This library contains dpFunctions and functions to set them up.

Creation Date
04/02/2014
Modification History
Constraints
None
Usage
Public
PVSS managers
Ui, CTRL, DP_FUNC
Author
Alexey Merezhin (EN-ICE)

Function Documentation

bit32 cpcDigitalParameterDPFunc_getStsReg01Value ( string  name,
bit32  manreg01 
)
Function to retrieve a status register value
Constraints
None
Usage
Public
PVSS managers
UI, CTRL
Reviewed:
2018-06-22 DPFunction
Parameters
namename of datapoint
manreg01manreg value
void cpcDpFunc_fixAckPropogation ( string  deviceName,
string  elemName 
)
Function set up the workaround for a dpe (deviceName + elemName) to keep it consistent with AlUnAck signal.

See cpcDpFunc_syncAcknowledge for more details.

Constraints
None
Usage
Public
PVSS managers
UI, CTRL
Parameters
deviceNamename of datapoint (e.g. "un-PLCATLTRT-ATLTRT-CPC_AnalogAlarm-00761")
elemNamename of element (e.g. ".ProcessInput.HHAlSt")

Referenced by CPC_AnaDigConfig_setCustomConfig(), CPC_AnaDOConfig_setCustomConfig(), CPC_AnalogAlarmConfig_setCustomConfig(), CPC_AnalogConfig_setCustomConfig(), CPC_DigitalAlarmConfig_setCustomConfig(), CPC_MassFlowControllerConfig_setCustomConfig(), CPC_OnOffConfig_setCustomConfig(), CPC_ProcessControlObjectConfig_setCustomConfig(), and CPC_SteppingMotorConfig_setCustomConfig().

int cpcDpFunc_syncAcknowledge ( string  dpeName,
bool  isUnAck 
)
Function acknowledges alert handler of dpe called dpeName if isUnAck is false but alert is not acknowledged.

Function is needed to repair the consistency between device acknowledged in PLC bypassing WinCC OA. For more details see UCPC-862.

Constraints
None
Usage
Public
PVSS managers
UI, CTRL, DP_FUNC
Reviewed:
2018-06-22 DPFunction
Parameters
dpeNamename of dpe configured with alert handler ("un-PLCATLTRT-ATLTRT-CPC_AnalogAlarm-00761.ProcessInput.HHAlSt")
isUnAckif device is not acknowledged