unCPC6
WinCC-OA implementation of UNICOS CPC
 All Files Functions Variables Pages
cpcAnalogStatusConfig.ctl File Reference
const string UN_CONFIG_CPC_ANALOGSTATUS_DPT_NAME = "CPC_AnalogStatus"
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_LENGTH = 9
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_UNIT = 1
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_FORMAT = 2
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_DEADBAND = 3
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_DEADBAND_TYPE = 4
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_RANGEMAX = 5
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_RANGEMIN = 6
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ARCHIVE_ACTIVE = 7
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ARCHIVE_TIME_FILTER = 8
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ADDRESS_POSST = 9
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ADDITIONAL_LENGTH = 6
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ADDITIONAL_PARAMETERS = 1
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ADDITIONAL_MASTER_NAME = 2
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ADDITIONAL_PARENTS = 3
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ADDITIONAL_CHILDREN = 4
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ADDITIONAL_TYPE = 5
 
const unsigned UN_CONFIG_CPC_ANALOGSTATUS_ADDITIONAL_SECOND_ALIAS = 6
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGSTATUS_UNIT = 1
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGSTATUS_FORMAT = 2
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGSTATUS_RANGEMAX = 3
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGSTATUS_RANGEMIN = 4
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGSTATUS_ARCHIVE_ACTIVE = 5
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGSTATUS_ARCHIVE_TIME_FILTER = 6
 
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGSTATUS_LENGTH = 6
 
mapping CPC_AnalogStatusConfig_getConfig ()
 
 CPC_AnalogStatusConfig_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 
 S7_PLC_CPC_AnalogStatus_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 
 _UnPlc_CPC_AnalogStatus_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 
 CPC_AnalogStatusConfig_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 
 S7_PLC_CPC_AnalogStatus_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 
 _UnPlc_CPC_AnalogStatus_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 
 CPC_AnalogStatusConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 S7_PLC_CPC_AnalogStatus_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 _UnPlc_CPC_AnalogStatus_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void SOFT_FE_CPC_AnalogStatus_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 
void SOFT_FE_CPC_AnalogStatus_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 
void SOFT_FE_CPC_AnalogStatus_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 

Detailed Description

cpcAnalogStatusConfig.ctl This library contains the import and export function of the CPC_AnalogStatus.

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

Function Documentation

mapping CPC_AnalogStatusConfig_getConfig ( )

DPE configuration TODO: use fw info instead

References CPC_FLOAT.

CPC_AnalogStatusConfig_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check data before configuration

Parameters
[in]configLineConfigs (see dyn_string indexes in constants defined)
[out]exceptionInfoAll possible errors will be returned here
S7_PLC_CPC_AnalogStatus_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_AnalogStatus device configuration for the S7_PLC front-end

Parameters
dsConfigsinput, config line as dyn_string
exceptionInfooutput, for errors

References cpcConfigGenericFunctions_checkDeviceConfig().

_UnPlc_CPC_AnalogStatus_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_AnalogStatus device configuration for the _UnPlc front-end

Parameters
dsConfigsinput, config line as dyn_string
exceptionInfooutput, for errors

References cpcConfigGenericFunctions_checkDeviceConfig().

CPC_AnalogStatusConfig_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

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

Parameters
[in]dsConfigsConfigs (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]exceptionInfoAll possible errors will be returned here
S7_PLC_CPC_AnalogStatus_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_AnalogStatus device configuration for the S7_PLC front-end

Parameters
dsConfigsinput, config line as dyn_string
exceptionInfooutput, for errors

References cpcConfigGenericFunctions_setDeviceConfig().

_UnPlc_CPC_AnalogStatus_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_AnalogStatus device configuration for the _UnPlc front-end

Parameters
dsConfigsinput, config line as dyn_string
exceptionInfooutput, for errors

References cpcConfigGenericFunctions_setDeviceConfig().

S7_PLC_CPC_AnalogStatus_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogStatus Devices for S7_PLC front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogStatusConfig_ExportConfig().

_UnPlc_CPC_AnalogStatus_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogStatus Devices for _UnPlc front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogStatusConfig_ExportConfig().