cpcProcessControlObjectConfig.ctl File Reference



const string UN_CONFIG_CPC_PROCESSCONTROLOBJECT_DPT_NAME = "CPC_ProcessControlObject"
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_LENGTH = 26
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_PCONAME = 1
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_NORMAL_POSITION = 2
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDRESS_STSREG01 = 3
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDRESS_STSREG02 = 4
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDRESS_EVSTSREG01 = 5
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDRESS_EVSTSREG02 = 6
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDRESS_AUOPMO = 7
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDRESS_OPMOST = 8
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDRESS_MANREG01 = 9
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDRESS_MOPMOR = 10
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_NAME_1 = 11
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_NAME_2 = 12
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_NAME_3 = 13
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_NAME_4 = 14
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_NAME_5 = 15
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_NAME_6 = 16
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_NAME_7 = 17
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_NAME_8 = 18
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_ALLOWANCE_1 = 19
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_ALLOWANCE_2 = 20
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_ALLOWANCE_3 = 21
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_ALLOWANCE_4 = 22
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_ALLOWANCE_5 = 23
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_ALLOWANCE_6 = 24
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_ALLOWANCE_7 = 25
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_MODE_ALLOWANCE_8 = 26
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDITIONAL_LENGTH = 7
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDITIONAL_MASKEVENT = 1
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDITIONAL_PARAMETERS = 2
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDITIONAL_MASTER_NAME = 3
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDITIONAL_PARENTS = 4
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDITIONAL_CHILDREN = 5
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDITIONAL_TYPE = 6
const unsigned UN_CONFIG_CPC_PROCESSCONTROLOBJECT_ADDITIONAL_SECOND_ALIAS = 7
mapping CPC_ProcessControlObjectConfig_getConfig ()
dyn_string CPC_ProcessControlObjectConfig_getParamNames ()
 CPC_ProcessControlObjectConfig_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 S7_PLC_CPC_ProcessControlObject_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 _UnPlc_CPC_ProcessControlObject_checkConfig (dyn_string configLine, dyn_string &exceptionInfo)
 CPC_ProcessControlObjectConfig_checkCustomConfig (dyn_string configLine, bool hasArchive, dyn_string &exceptionInfo)
 CPC_ProcessControlObjectConfig_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 S7_PLC_CPC_ProcessControlObject_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 _UnPlc_CPC_ProcessControlObject_setConfig (dyn_string dsConfigs, dyn_string &exceptionInfo)
 CPC_ProcessControlObjectConfig_setCustomConfig (dyn_string dsConfigs, bool hasArchive, dyn_string &exceptionInfo)
 CPC_ProcessControlObjectConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 S7_PLC_CPC_ProcessControlObject_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 _UnPlc_CPC_ProcessControlObject_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)

Detailed Description

cpcProcessControlObjectConfig.ctl This library contains the import and export function of the CPC_ProcessControlObject.

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_ProcessControlObjectConfig_getConfig (  ) 

DPE configuration TODO: use fw info instead

References CPC_FLOAT, CPC_INT32, CPC_STSREG01_ALST, CPC_STSREG01_FUSTOPIST, CPC_STSREG01_TSTOPIST, and CPC_UINT16.

dyn_string CPC_ProcessControlObjectConfig_getParamNames (  ) 

Returns the list of parameter names that passed via config line.

References CPC_PARAMS_MRESTART, and CPC_PARAMS_RSTARTFS.

CPC_ProcessControlObjectConfig_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
S7_PLC_CPC_ProcessControlObject_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_ProcessControlObject 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_ProcessControlObject_checkConfig ( dyn_string  configLine,
dyn_string &  exceptionInfo 
)

Check the CPC_ProcessControlObject device configuration for the _UnPlc front-end

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

References cpcConfigGenericFunctions_checkDeviceConfig().

CPC_ProcessControlObjectConfig_checkCustomConfig ( dyn_string  configLine,
bool  hasArchive,
dyn_string &  exceptionInfo 
)

Check custom configuration

CPC_ProcessControlObjectConfig_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Creates dp (or checks if it is already presented)and sets configuration for CPC_ProcessControlObject 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
S7_PLC_CPC_ProcessControlObject_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_ProcessControlObject 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_ProcessControlObject_setConfig ( dyn_string  dsConfigs,
dyn_string &  exceptionInfo 
)

Set the CPC_ProcessControlObject device configuration for the _UnPlc front-end

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

References cpcConfigGenericFunctions_setDeviceConfig().

CPC_ProcessControlObjectConfig_setCustomConfig ( dyn_string  dsConfigs,
bool  hasArchive,
dyn_string &  exceptionInfo 
)
CPC_ProcessControlObjectConfig_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)
S7_PLC_CPC_ProcessControlObject_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_ProcessControlObject Devices for S7_PLC front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_ProcessControlObjectConfig_ExportConfig().

_UnPlc_CPC_ProcessControlObject_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_ProcessControlObject Devices for _UnPlc front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_ProcessControlObjectConfig_ExportConfig().


Generated on 11 Dec 2013 for unCPC6 by  doxygen 1.6.1