OPC UA Methods
- Last UpdatedOct 08, 2024
- 1 minute read
You can use Application Server object scripts and/or Industrial Graphics scripts to call OPC UA servers through aaMethods.
Note: InTouch does not support using OPC UA script methods. InTouch ViewApps will not recognize any of the aaMethods documented in this section.
aaMethod calls are executed in the OPC UA server through the OPC UA client, and are supported through the OPC client in the Gateway Communication Driver. aaMethods calls are divided into the following classes:
An Application Server script library allows System Platform script developers to call methods in OPC UA servers, via the OPC UA client in the Gateway Communication Driver. Internally, the script library leverages PCS infrastructure to facilitate secure off-node method calls.
To use OPC UA scripting, the Communication Driver Gateway must be configured with an OPC UA client, with the correct configuration settings (URL, security settings, etc.). This ensures that you can connect to the OPC UA server, thus exposing the method(s) of interest.
See Sample Application Server script for details.