fwWiener  8.4.0
fwWiener.ctl File Reference
const string FW_WIENER_PL512_DEVICE_MODEL = "PL512 Crate (TCP/IP)"
 
bool fwWiener_applyDefaultOpcAddressing2Pl512 (dyn_string &exceptionInfo)
 
 fwWiener_createOpcConfigFile (dyn_string canBuses, string fileName, dyn_string &exceptionInfo, int driverNumber=14)
 
 fwWiener_loadSettingsFromHw (string dpName, dyn_string &exceptionInfo)
 
 fwWiener_getReadbackElements (string dpType, string prefixDpName, dyn_string &readbackElements, dyn_string &exceptionInfo)
 
 fwWiener_setKrakowMarathonCustomisation (string dpName, dyn_string &exceptionInfo)
 
 fwWiener_deleteKrakowMarathonCustomisation (string dpName, dyn_string &exceptionInfo)
 
 fwWiener_setSupervisionBehaviourOpcTypes (string dpName, dyn_string &exceptionInfo)
 

Detailed Description

Creation Date
25/04/2017
Constraints
fwDevice/fwDevice.ctl, fwDevice/fwDeviceFrontEndConfigFile.ctl libraries
Author
Oliver Holme
Fernando Varela
Jonas Arroyo Garcia

Function Documentation

bool fwWiener_applyDefaultOpcAddressing2Pl512 ( dyn_string &  exceptionInfo)

Function to add newer properties exposed by latest firmware relase in PL512 crates.

Constraints
fwDevice/fwDevice.ctl, fwDevice/fwDeviceFrontEndConfigFile.ctl libraries
Usage
Public
PVSS managers
VISION
Parameters
[out]exceptionInfodyn_string: returns details of any errors
Returns
bool: TRUE = Success, FALSE = Error: some JCOP call returned an error
fwWiener_createOpcConfigFile ( dyn_string  canBuses,
string  fileName,
dyn_string &  exceptionInfo,
int  driverNumber = 14 
)

Function to create the Wiener OPC DA config file based on the WinCC OA instances

Constraints
fwDevice/fwDevice.ctl, fwDevice/fwDeviceFrontEndConfigFile.ctl libraries
Usage
Public
PVSS managers
VISION
Parameters
[in]canBusesdyn_string: Array with the list of canBuses devices to create the config file
[in]fileNamestring: Wiener OPC DA config file
[out]exceptionInfodyn_string: returns details of any errors
[in]driverNumberint: by default is 14. In case you would like to specify a different driver number
Returns
Nothing
fwWiener_loadSettingsFromHw ( string  dpName,
dyn_string &  exceptionInfo 
)

Function to update the WinCC OA settings DPE based in the hardware settings

Constraints
fwDevice/fwDevice.ctl, fwDevice/fwDeviceFrontEndConfigFile.ctl libraries
Usage
Public
PVSS managers
VISION
Parameters
[in]dpNamestring: Device DP to retrieve its settings from the hardware
[out]exceptionInfodyn_string: returns details of any errors
Returns
Nothing
fwWiener_getReadbackElements ( string  dpType,
string  prefixDpName,
dyn_string &  readbackElements,
dyn_string &  exceptionInfo 
)

Function to get the readback elements for certain model

Constraints
fwDevice/fwDevice.ctl, fwDevice/fwDeviceFrontEndConfigFile.ctl libraries
Usage
Public
PVSS managers
VISION
Parameters
[in]dpTypestring: Device DPT to identify its JCOP Device definition and model
[in]prefixDpNamestring: prefix in the dpName to access the settings fields in the device dp name
[out]readbackElementsdyn_string: dpes with readback settings
[out]exceptionInfodyn_string: returns details of any errors
Returns
Nothing
fwWiener_setKrakowMarathonCustomisation ( string  dpName,
dyn_string &  exceptionInfo 
)

Function to set the Krakow Marathon customizations

Constraints
fwDevice/fwDevice.ctl, fwDevice/fwDeviceFrontEndConfigFile.ctl libraries
Usage
Public
PVSS managers
VISION
Parameters
[in]dpNamestring: crate device dpname to set customizations
[out]exceptionInfodyn_string: returns details of any errors
Returns
Nothing
fwWiener_deleteKrakowMarathonCustomisation ( string  dpName,
dyn_string &  exceptionInfo 
)

Function to remove the Krakow Marathon customizations

Constraints
fwDevice/fwDevice.ctl, fwDevice/fwDeviceFrontEndConfigFile.ctl libraries
Usage
Public
PVSS managers
VISION
Parameters
[in]dpNamestring: crate device dpname to set customizations
[out]exceptionInfodyn_string: returns details of any errors
Returns
Nothing
fwWiener_setSupervisionBehaviourOpcTypes ( string  dpName,
dyn_string &  exceptionInfo 
)

Function to change the Supervision Behaviour Types

Constraints
fwDevice/fwDevice.ctl, fwDevice/fwDeviceFrontEndConfigFile.ctl libraries
Usage
Public
PVSS managers
VISION
Parameters
[in]dpNamestring: crate device dpname to set customizations
[out]exceptionInfodyn_string: returns details of any errors
Returns
Nothing

Variable Documentation

string FW_WIENER_PL512_DEVICE_MODEL = "PL512 Crate (TCP/IP)"

Constant used to identify the PL512 TCP crate JCOP model