| |
const string | UN_CONFIG_CPC_WORDPARAMETER_DPT_NAME = "CPC_WordParameter" |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_LENGTH = 15 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_UNIT = 1 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_FORMAT = 2 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_DEADBAND = 3 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_DEADBAND_TYPE = 4 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_RANGEMAX = 5 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_RANGEMIN = 6 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ARCHIVE_ACTIVE = 7 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ARCHIVE_TIME_FILTER = 8 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDRESS_MPOSRST = 9 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDRESS_POSST = 10 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDRESS_MPOSR = 11 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDRESS_STSREG01 = 12 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDRESS_EVSTSREG01 = 13 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDRESS_MANREG01 = 14 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_DEFAULT_VALUE = 15 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDITIONAL_LENGTH = 7 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDITIONAL_MASKEVENT = 1 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDITIONAL_DESCRIPTION = 2 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDITIONAL_MASTER_NAME = 3 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDITIONAL_PARENTS = 4 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDITIONAL_CHILDREN = 5 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDITIONAL_TYPE = 6 |
const unsigned | UN_CONFIG_CPC_WORDPARAMETER_ADDITIONAL_SECOND_ALIAS = 7 |
mapping | CPC_WordParameterConfig_getConfig () |
CPC_WordParameterConfig_checkConfig (dyn_string configLine, dyn_string &exceptionInfo) | |
S7_PLC_CPC_WordParameter_checkConfig (dyn_string configLine, dyn_string &exceptionInfo) | |
_UnPlc_CPC_WordParameter_checkConfig (dyn_string configLine, dyn_string &exceptionInfo) | |
CPC_WordParameterConfig_checkCustomConfig (dyn_string configLine, bool hasArchive, dyn_string &exceptionInfo) | |
CPC_WordParameterConfig_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo) | |
S7_PLC_CPC_WordParameter_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo) | |
_UnPlc_CPC_WordParameter_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo) | |
CPC_WordParameterConfig_setCustomConfig (dyn_string dsConfigs, bool hasArchive, dyn_string &exceptionInfo) | |
CPC_WordParameterConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo) | |
S7_PLC_CPC_WordParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo) | |
_UnPlc_CPC_WordParameter_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo) | |
bool | CPC_WordParameterConfig_isWithText (string posStDescription) |
cpcWordParameterConfig.ctl This library contains the import and export function of the CPC_WordParameter.
©Copyright CERN 2013 - all rights reserved
mapping CPC_WordParameterConfig_getConfig | ( | ) |
DPE configuration TODO: use fw info instead
References CPC_INT32, and CPC_UINT16.
CPC_WordParameterConfig_checkConfig | ( | dyn_string | configLine, | |
dyn_string & | exceptionInfo | |||
) |
Check data before configuration
[in] | configLine | Configs (see dyn_string indexes in constants defined) |
[out] | exceptionInfo | All possible errors will be returned here |
S7_PLC_CPC_WordParameter_checkConfig | ( | dyn_string | configLine, | |
dyn_string & | exceptionInfo | |||
) |
Check the CPC_WordParameter device configuration for the S7_PLC front-end
dsConfigs | input, config line as dyn_string | |
exceptionInfo | output, for errors |
References cpcConfigGenericFunctions_checkDeviceConfig().
_UnPlc_CPC_WordParameter_checkConfig | ( | dyn_string | configLine, | |
dyn_string & | exceptionInfo | |||
) |
Check the CPC_WordParameter device configuration for the _UnPlc front-end
dsConfigs | input, config line as dyn_string | |
exceptionInfo | output, for errors |
References cpcConfigGenericFunctions_checkDeviceConfig().
CPC_WordParameterConfig_checkCustomConfig | ( | dyn_string | configLine, | |
bool | hasArchive, | |||
dyn_string & | exceptionInfo | |||
) |
Check custom configuration
CPC_WordParameterConfig_setConfig | ( | dyn_string | dsConfigs, | |
dyn_string & | exceptionInfo | |||
) |
Creates dp (or checks if it is already presented)and sets configuration for CPC_WordParameter object.
[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 |
S7_PLC_CPC_WordParameter_setConfig | ( | dyn_string | dsConfigs, | |
dyn_string & | exceptionInfo | |||
) |
Set the CPC_WordParameter device configuration for the S7_PLC front-end
dsConfigs | input, config line as dyn_string | |
exceptionInfo | output, for errors |
References cpcConfigGenericFunctions_setDeviceConfig().
_UnPlc_CPC_WordParameter_setConfig | ( | dyn_string | dsConfigs, | |
dyn_string & | exceptionInfo | |||
) |
Set the CPC_WordParameter device configuration for the _UnPlc front-end
dsConfigs | input, config line as dyn_string | |
exceptionInfo | output, for errors |
References cpcConfigGenericFunctions_setDeviceConfig().
CPC_WordParameterConfig_setCustomConfig | ( | dyn_string | dsConfigs, | |
bool | hasArchive, | |||
dyn_string & | exceptionInfo | |||
) |
Set custom configuration
CPC_WordParameterConfig_ExportConfig | ( | dyn_string | dsDpList, | |
dyn_string & | exceptionInfo | |||
) |
Purpose: Export CPC_WordParameter Devices
Usage: External function
PVSS manager usage: NG, NV
References cpcExportGenericFunctions_getArchive(), cpcExportGenericFunctions_getArchiveNameForDpes(), cpcExportGenericFunctions_getDeadband(), cpcExportGenericFunctions_getDefaultValue(), cpcExportGenericFunctions_getFormat(), cpcExportGenericFunctions_getMaskEvent(), cpcExportGenericFunctions_getMetainfo(), cpcExportGenericFunctions_getParameters(), cpcExportGenericFunctions_getRange(), cpcExportGenericFunctions_getUnit(), and cpcExportGenericFunctions_processAddress().
Referenced by _UnPlc_CPC_WordParameter_ExportConfig(), and S7_PLC_CPC_WordParameter_ExportConfig().
S7_PLC_CPC_WordParameter_ExportConfig | ( | dyn_string | dsDpList, | |
dyn_string & | exceptionInfo | |||
) |
Purpose: Export CPC_WordParameter Devices for S7_PLC front-end
Usage: External function
PVSS manager usage: NG, NV
References CPC_WordParameterConfig_ExportConfig().
_UnPlc_CPC_WordParameter_ExportConfig | ( | dyn_string | dsDpList, | |
dyn_string & | exceptionInfo | |||
) |
Purpose: Export CPC_WordParameter Devices for _UnPlc front-end
Usage: External function
PVSS manager usage: NG, NV
References CPC_WordParameterConfig_ExportConfig().