Description of what have been used for the peripheric server

First at all create a class as a children of root

class

attribute use
name to define the name of the 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

attributeSorted ascending use
executionSynchronicity synchronous see the 62541 commentary
name name of the method

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
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2018-11-29 - EtienneMarieFortin
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback