Adapter for OPC 10.3 | webMethods Adapter for OPC Documentation | webMethods Adapter for OPC Installation and User's Documentation | Adapter Services | Configuring Write Service
 
Configuring Write Service
Prerequisite:
Before you configure adapter services, ensure that you have completed the steps mentioned in Preparing to Configure and Manage Adapter Services.
A write service writes into a node value from the OPC UA server. You can configure Adapter for OPC services using Software AG Designer. For more information about adapter services, see Using Adapter Services.
*To configure Write service
1. In Software AG Designer, right click the package in which the service is contained and select File > New > Adapter Service.
2. Select the service from the list, provide the Element name. Click Next.
3. Select Adapter for OPC as the adapter type. Click Next.
4. Select the appropriate Adapter Connection Name. Click Next.
5. Select the template for the unique service name. Click Finish.
In the adapter service editor, select the Adapter Settings tab to confirm adapter service properties such as Adapter Name, Adapter Connection Name, andAdapter Service Template, as necessary.
6. In Node Attribute tab, click Browse to navigate and find the node. The following fields are available in the Node Selector tab :
Field
Description
Search Node
Searches the node.
Note:
This is mainly for the nodes that are available but not visible due to Tree View Level control in Adapter Service Preference. For more information on Adapter Service Preference, see webMethods Service Development Help.
After selecting the node from Node Selector, the selected node appears in the Extended Node Id. The following fields are available in Node Attribute tab:
Field
Description/Action
Extended Node Id
Displays the extended node id of the selected node. The node id is represented in the following format: nsu=<namespace uri>; Id type=Id value
Node Id
Displays the node id of the selected node.
In Adapter Tree Viewer, right click on a node to view the following menu options:
Menu Option
Description
Set As Root
Use to set a node in the Tree-View as the root node. To view the hidden nodes in the tree view, set a node as a root node.
Copy Node Id
Use to copy the node's id from the tree view.
Copy Node Details
Use to copy the node's details from the tree view.
7. To select attributes that write value to the OPC UA server. The following fields are auto-populated:
Field
Description/Action
Field Name
Displays the value attribute name.
Native Type
Displays the built-in type and complex data types of the value attribute that the OPC UA server supports.
Input Field Type
Displays all the supported Java data types for built-in type.
Displays java.lang.Object, Document or DocumentList for complex data types.
Note:
If the Input Field Type is an array, then you must provide the value at runtime. This field is non- editable.
Input Value
Specify the input value either at runtime or design-time.
Note:
If you input "?", then you must provide the value at runtime.
8. To verify input or output information for this service, use the Input/Output tab as needed.
If the Input Field Type is of type Document or DocumentList, then the output value displays the structure for corresponding the Document or DocumentList.
9. From the File menu, select Save.