Create an OPC UA method
Create an OPC UA method and then edit its code in an external code
editor.
Prerequisites
Set the default external code editor. See #.
- To create an OPC UA method
- Either:
- Create a NetLogic. See #.
- InProject view, find a NetLogic to extend with a new method.
- Right-click a NetLogic and select .The external code editor opens. The following code is added in the NetLogic:[ExportMethod] public void MethodName() { }
- (Optional) Rename the method in C#.
Develop the code of the method.
Provide Feedback