unCPC6
6.6.8
WinCC-OA implementation of UNICOS CPC
|
Functions | |
bit32 | cpcDigitalParameterDPFunc_getStsReg01Value (string name, bit32 manreg01) |
void | cpcDpFunc_fixAckPropogation (string deviceName, string elemName) |
int | cpcDpFunc_syncAcknowledge (string dpeName, bool isUnAck) |
cpcDpFunc.ctl This library contains dpFunctions and functions to set them up.
bit32 cpcDigitalParameterDPFunc_getStsReg01Value | ( | string | name, |
bit32 | manreg01 | ||
) |
Function to retrieve a status register value
name | name of datapoint |
manreg01 | manreg 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.
deviceName | name of datapoint (e.g. "un-PLCATLTRT-ATLTRT-CPC_AnalogAlarm-00761") |
elemName | name 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.
dpeName | name of dpe configured with alert handler ("un-PLCATLTRT-ATLTRT-CPC_AnalogAlarm-00761.ProcessInput.HHAlSt") |
isUnAck | if device is not acknowledged |