unCPC6  6.6.8
WinCC-OA implementation of UNICOS CPC
 All Files Functions Variables Pages
cpcSteppingMotorConfig.ctl File Reference
const string UN_CONFIG_CPC_STEPPINGMOTOR_DPT_NAME = "CPC_SteppingMotor"
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_LENGTH = 26
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_UNIT = 1
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_FORMAT = 2
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_RANGEMAX = 3
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_RANGEMIN = 4
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_SPDST_RANGEMAX = 5
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_SPDST_RANGEMIN = 6
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_DEADBAND = 7
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_DEADBAND_TYPE = 8
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ARCHIVE_ACTIVE = 9
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ARCHIVE_TIME_FILTER = 10
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_NORMAL_POSITION = 11
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_STSREG01 = 12
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_STSREG02 = 13
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_EVSTSREG01 = 14
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_EVSTSREG02 = 15
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_POSST = 16
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_SPDST = 17
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_POSRST = 18
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_SPDRST = 19
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_AUPOSRST = 20
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_AUSPDRST = 21
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_MPOSRST = 22
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_MSPDRST = 23
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_MANREG01 = 24
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_MPOSR = 25
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDRESS_MSPDR = 26
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDITIONAL_LENGTH = 7
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDITIONAL_MASKEVENT = 1
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDITIONAL_PARAMETERS = 2
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDITIONAL_MASTER_NAME = 3
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDITIONAL_PARENTS = 4
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDITIONAL_CHILDREN = 5
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDITIONAL_TYPE = 6
 
const unsigned UN_CONFIG_CPC_STEPPINGMOTOR_ADDITIONAL_SECOND_ALIAS = 7
 
mapping CPC_SteppingMotorConfig_getConfig ()
 
void CPC_SteppingMotorConfig_initializeConstants ()
 
dyn_string CPC_SteppingMotorConfig_getParamNames ()
 
 CPC_SteppingMotorConfig_setCustomConfig (dyn_string dsConfigs, bool hasArchive, dyn_string &exceptionInfo)
 
void CPC_SteppingMotorConfig_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 S7_PLC_CPC_SteppingMotor_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 _UnPlc_CPC_SteppingMotor_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 OPCUA_CPC_SteppingMotor_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
 BACnet_CPC_SteppingMotor_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 
void IEC104_CPC_SteppingMotor_ExportConfig (dyn_string dsDpList, dyn_string &exceptionInfo)
 

Detailed Description

cpcSteppingMotorConfig.ctl This library contains the import and export function of the CPC_SteppingMotor.

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

Function Documentation

mapping CPC_SteppingMotorConfig_getConfig ( )

DPE configuration TODO: use fw info instead

References CPC_FLOAT, CPC_INT32, CPC_StsReg01_ALST, CPC_StsReg01_TSTOPIST, CPC_StsReg02_FUSTOPIST, and CPC_UINT16.

void CPC_SteppingMotorConfig_initializeConstants ( )

Initialize the constants required for the import process to improve the performance

Referenced by cpcConfigGenericFunctions_initConstants().

dyn_string CPC_SteppingMotorConfig_getParamNames ( )

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

CPC_SteppingMotorConfig_setCustomConfig ( dyn_string  dsConfigs,
bool  hasArchive,
dyn_string &  exceptionInfo 
)

Set custom configuration

References cpcDpFunc_fixAckPropogation().

S7_PLC_CPC_SteppingMotor_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_SteppingMotor Devices for S7_PLC front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_SteppingMotorConfig_ExportConfig().

_UnPlc_CPC_SteppingMotor_ExportConfig ( dyn_string  dsDpList,
dyn_string &  exceptionInfo 
)

Purpose: Export CPC_SteppingMotor Devices for _UnPlc front-end

Usage: External function

PVSS manager usage: NG, NV

References CPC_SteppingMotorConfig_ExportConfig().