public interface IS7SymbolTemplate
| Modifier and Type | Method and Description | 
|---|---|
| String | s7db_id(research.ch.cern.unicos.utilities.IDeviceInstance instance,
       boolean isDBSimpleRequested)This function provides the symbol name of the DB for a given instance name (e.g. | 
| String | s7db_id(String name)This function provides the symbol name of the DB for a given instance name (e.g. | 
| String | s7db_id(String name,
       boolean isDBSimpleRequested)This function provides the symbol name of the DB for a given instance name (e.g. | 
| String | s7db_id(String name,
       String deviceTypes)This function provides the symbol name of the DB for a given instance name (e.g. | 
| String | s7db_id(String name,
       String deviceTypes,
       boolean isDBSimpleRequested)This function provides the symbol name of the DB for a given instance name (e.g. | 
String s7db_id(String name, String deviceTypes) throws Exception
s7db_id(AIRinstance1Name,"AnalogInputReal") returns DB_AIR_All.AIR_SET).
 Example:
 FeedbackOn = instance.getAttributeData("FEDeviceEnvironmentInputs:Feedback On")
 if FeedbackOn != "":
     s7db_id_result=self.thePlugin.s7db_id(FeedbackOn, "DigitalInput")
     self.thePlugin.writeInstanceInfo('''$Name$.HFOn:='''+s7db_id_result+FeedbackOn+'''.PosSt;''')
 
 name - Is the name of the instance that we want to processdeviceTypes - Device type list (comma separated)ExceptionString s7db_id(String name, String deviceTypes, boolean isDBSimpleRequested) throws Exception
s7db_id(AIRinstance1Name,"AnalogInputReal") returns DB_AIR_All.AIR_SET).
 Note:
isDBSimpleRequested is TRUE, andAnalogInputReal or a DigitalInput deviceDB_<RepresentationName>_All_S.<RepresentationName>_SET.
 
 Example:
 FeedbackOn = instance.getAttributeData ("FEDeviceEnvironmentInputs:Feedback On")
 if FeedbackOn != "":
     s7db_id_result=self.thePlugin.s7db_id(FeedbackOn, "DigitalInput")
     self.thePlugin.writeInstanceInfo('''$Name$.HFOn:='''+s7db_id_result+FeedbackOn+'''.PosSt;''')
 
 name - Is the name of the instance that we want to processdeviceTypes - Device type list (comma separated)isDBSimpleRequested - TRUE if the DB Simple is requested. * @return The symbol name.ExceptionString s7db_id(String name) throws Exception
s7db_id(AIRinstance1Name) returns DB_AIR_All.AIR_SET).
 Example:
 FeedbackOn = instance.getAttributeData ("FEDeviceEnvironmentInputs:Feedback On")
 if FeedbackOn != "":
     s7db_id_result=self.thePlugin.s7db_id(FeedbackOn)
     self.thePlugin.writeInstanceInfo('''$Name$.HFOn:='''+s7db_id_result+FeedbackOn+'''.PosSt;''')
 
 name - Is the name of the instance that we want to processExceptionString s7db_id(String name, boolean isDBSimpleRequested) throws Exception
s7db_id(AIRinstance1Name,false) returns DB_AIR_All.AIR_SET).
 Note:
isDBSimpleRequested is TRUE, andAnalogInputReal or a DigitalInput deviceDB_<RepresentationName>_All_S.<RepresentationName>_SET.
 
 Example:
 s7db_id_result=self.thePlugin.s7db_id("DigitalInput_1")
 
 name - Is the name of the instance that we want to processisDBSimpleRequested - TRUE if the DB Simple is requested.ExceptionString s7db_id(research.ch.cern.unicos.utilities.IDeviceInstance instance, boolean isDBSimpleRequested) throws Exception
s7db_id(AIRinstance1,false) returns DB_AIR_All.AIR_SET).
 Note:
isDBSimpleRequested is TRUE, andAnalogInputReal or a DigitalInput deviceDB_<RepresentationName>_All_S.<RepresentationName>_SET.
 
 Example:
 FeedbackOn = instance.getAttributeData ("FEDeviceEnvironmentInputs:Feedback On")
 if FeedbackOn != "":
     s7db_id_result=self.thePlugin.s7db_id(FeedbackOn, true)
     self.thePlugin.writeInstanceInfo('''$Name$.HFOn:='''+s7db_id_result+FeedbackOn+'''.PosSt;''')
 
 instance - Is the instance which symbol is requested.isDBSimpleRequested - TRUE if the DB Simple is requested.ExceptionCopyright © 2010–2020 CERN. All rights reserved.