public interface ISCADAPlugin
Modifier and Type | Method and Description |
---|---|
String |
computeAddress(String deviceAlias)
Get the address of a device element (e.g.
|
research.ch.cern.unicos.utilities.IPLCMemoryMapper |
getPLCMemoryMapper()
Get the PLC memory mapper instance.
|
String |
getResourceAddress(String resource)
For Siemens only: get the DB number for a given resource name.
|
void |
writeInstanceInfo(String theInstanceData)
Used to write an instance declaration in the WinCC O.A.
|
String computeAddress(String deviceAlias)
computeAddress("AnalogInput1_MPosR")
).deviceAlias
- The device alias.research.ch.cern.unicos.utilities.IPLCMemoryMapper getPLCMemoryMapper()
void writeInstanceInfo(String theInstanceData)
theInstanceData
- String getResourceAddress(String resource)
Example:
DB_WINCCOA_Address = self.thePlugin.getResourceAddress("DB_WINCCOA") thePlcDsIpAddress = "DB"+str(DB_WINCCOA_Address)+".DBD0"
resource
- The resource which address is required.Copyright © 2010–2020 CERN. All rights reserved.