Description of what have been used for the peripheric server
First at all create a class as a children of root
class
children |
use |
cachevariable |
define a variable/register for this class(one of these for each method) it will be accessible for client of the peripheralServer |
configentry |
define a configuration option (will be defined in config.xml) |
devicelogic |
define if the class as an internal logic (needed if there is a method) |
hasobject |
define which class this class contain |
method |
define that the class have a method (one of these for each methode) |
cachevariable
attribute |
use |
initializeWith |
Always with valueAndStatus |
dataType |
the type of the data |
name |
the name of the variable |
nullPolicy |
always nullForbidden |
addressSpaceWrite |
delegated will create a function when this variable is written by client
regular in other cases
|
initialStatus |
Initial State for opcUa clients |
initialValue |
the initial value of the variable |
configentry
attribute |
use |
dataType |
The types of the data |
name |
The name of the configuration paramater |
storedInDeviceObject |
true if it will be called by the device logic |
hasobject
attribute |
use |
instantiateUsing |
Always configuration |
class |
Name of the sub-class |
method
attribute |
use |
name |
name of the method |
executionSynchronicity |
synchronous see the 62541 commentary |
children |
use |
argument |
Argument of the method |
returnValue |
The value returned by the method |
argument
dataType |
The types of the data |
name |
The name of the argument |
returnValue
dataType |
The types of the data |
name |
The name of the Value returned |
-- Main.etfortin - 2018-11-29