cpcAnalogInputConfig.ctl File Reference



const string UN_CONFIG_CPC_ANALOGINPUT_DPT_NAME = "CPC_AnalogInput"
const unsigned UN_CONFIG_CPC_ANALOGINPUT_LENGTH = 22
const unsigned UN_CONFIG_CPC_ANALOGINPUT_UNIT = 1
const unsigned UN_CONFIG_CPC_ANALOGINPUT_FORMAT = 2
const unsigned UN_CONFIG_CPC_ANALOGINPUT_RANGEMAX = 3
const unsigned UN_CONFIG_CPC_ANALOGINPUT_RANGEMIN = 4
const unsigned UN_CONFIG_CPC_ANALOGINPUT_HHLIMIT = 5
const unsigned UN_CONFIG_CPC_ANALOGINPUT_HLIMIT = 6
const unsigned UN_CONFIG_CPC_ANALOGINPUT_LLIMIT = 7
const unsigned UN_CONFIG_CPC_ANALOGINPUT_LLLIMIT = 8
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ALARM_ACTIVE = 9
const unsigned UN_CONFIG_CPC_ANALOGINPUT_DEADBAND = 10
const unsigned UN_CONFIG_CPC_ANALOGINPUT_DEADBAND_TYPE = 11
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ARCHIVE_ACTIVE = 12
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ARCHIVE_TIME_FILTER = 13
const unsigned UN_CONFIG_CPC_ANALOGINPUT_SMS_CATEGORIES = 14
const unsigned UN_CONFIG_CPC_ANALOGINPUT_SMS_MESSAGE = 15
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ACK_ALARM = 16
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDRESS_STSREG01 = 17
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDRESS_EVSTSREG01 = 18
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDRESS_POSST = 19
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDRESS_HFST = 20
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDRESS_MANREG01 = 21
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDRESS_MPOSR = 22
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDITIONAL_LENGTH = 7
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDITIONAL_MASKEVENT = 1
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDITIONAL_PARAMETERS = 2
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDITIONAL_MASTER_NAME = 3
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDITIONAL_PARENTS = 4
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDITIONAL_CHILDREN = 5
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDITIONAL_TYPE = 6
const unsigned UN_CONFIG_CPC_ANALOGINPUT_ADDITIONAL_SECOND_ALIAS = 7
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_UNIT = 1
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_FORMAT = 2
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_RANGEMAX = 3
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_RANGEMIN = 4
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_HHLIMIT = 5
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_HLIMIT = 6
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_LLIMIT = 7
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_LLLIMIT = 8
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_ALARM_ACTIVE = 9
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_ARCHIVE_ACTIVE = 10
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_ARCHIVE_TIME_FILTER = 11
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_SMS_CATEGORIES = 12
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_SMS_MESSAGE = 13
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_ACK_ALARM = 14
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_LENGTH = 14
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_ADDITIONAL_LENGTH = 1
const unsigned UN_CONFIG_SOFT_FE_CPC_ANALOGINPUT_ADDITIONAL_MASKEVENT = 1
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_UNIT = 1
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_FORMAT = 2
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_RANGEMAX = 3
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_RANGEMIN = 4
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_HHLIMIT = 5
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_HLIMIT = 6
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_LLIMIT = 7
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_LLLIMIT = 8
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ALARM_ACTIVE = 9
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_DEADBAND = 10
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_DEADBAND_TYPE = 11
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ARCHIVE_ACTIVE = 12
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ARCHIVE_TIME_FILTER = 13
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_SMS_CATEGORIES = 14
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_SMS_MESSAGE = 15
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ACK_ALARM = 16
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ADDRESS_STSREG01 = 17
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ADDRESS_EVSTSREG01 = 18
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ADDRESS_POSST = 19
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ADDRESS_HFST = 20
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_LENGTH = 20
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ADDITIONAL_LENGTH = 1
const unsigned UN_CONFIG_CMW_CPC_ANALOGINPUT_ADDITIONAL_MASKEVENT = 1
mapping CPC_AnalogInputConfig_getConfig ()
 CPC_AnalogInputConfig_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 SOFT_FE_CPC_AnalogInput_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 CMW_CPC_AnalogInput_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 S7_PLC_CPC_AnalogInput_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 _UnPlc_CPC_AnalogInput_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 CPC_AnalogInputConfig_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 SOFT_FE_CPC_AnalogInput_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 CMW_CPC_AnalogInput_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 S7_PLC_CPC_AnalogInput_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 _UnPlc_CPC_AnalogInput_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 CPC_AnalogInputConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 S7_PLC_CPC_AnalogInput_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 _UnPlc_CPC_AnalogInput_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 CPC_CMW_AnalogInputConfig_setCustomConfig (dyn_string configLine, bool hasArchive, dyn_string &exceptionInfo)
void SOFT_FE_CPC_AnalogInput_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
void CMW_CPC_AnalogInput_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)

Detailed Description

cpcAnalogInputConfig.ctl This library contains the import and export function of the CPC_AnalogInput.

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

©Copyright CERN 2013 - all rights reserved


Function Documentation

mapping CPC_AnalogInputConfig_getConfig (  ) 

DPE configuration TODO: use fw info instead

References CPC_CMW_DPTYPE, CPC_FLOAT, CPC_INT32, CPC_UINT16, and cpcConfigGenericFunctions_getFrontEndType().

CPC_AnalogInputConfig_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check data before configuration

Parameters:
[in] configLine Configs (see dyn_string indexes in constants defined)
[out] exceptionInfo All possible errors will be returned here
SOFT_FE_CPC_AnalogInput_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_AnalogInput device configuration for the SOFT_FE front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_checkDeviceConfig().

CMW_CPC_AnalogInput_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_AnalogInput device configuration for the CMW front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_checkDeviceConfig().

S7_PLC_CPC_AnalogInput_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_AnalogInput device configuration for the S7_PLC front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_checkDeviceConfig().

_UnPlc_CPC_AnalogInput_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_AnalogInput device configuration for the _UnPlc front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_checkDeviceConfig().

CPC_AnalogInputConfig_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

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

Parameters:
[in] dsConfigs Configs (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] exceptionInfo All possible errors will be returned here
SOFT_FE_CPC_AnalogInput_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_AnalogInput device configuration for the SOFT_FE front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_setDeviceConfig().

CMW_CPC_AnalogInput_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_AnalogInput device configuration for the CMW front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_setDeviceConfig().

S7_PLC_CPC_AnalogInput_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_AnalogInput device configuration for the S7_PLC front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_setDeviceConfig().

_UnPlc_CPC_AnalogInput_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_AnalogInput device configuration for the _UnPlc front-end

Parameters:
dsConfigs input, config line as dyn_string
exceptionInfo output, for errors

References cpcConfigGenericFunctions_setDeviceConfig().

CPC_AnalogInputConfig_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)
S7_PLC_CPC_AnalogInput_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogInput Devices for S7_PLC front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogInputConfig_ExportConfig().

_UnPlc_CPC_AnalogInput_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_AnalogInput Devices for _UnPlc front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_AnalogInputConfig_ExportConfig().


Generated on 11 Dec 2013 for unCPC6 by  doxygen 1.6.1