Options to set up a common subscription for monitoring items in an OPC UA
client (optional). See interface
ClientSubscriptionOptions
of node-opcua-client package.
If a subscription option is not specified, its default value is defined as follows:
{
requestedPublishingInterval: 100,
requestedLifetimeCount: 60,
requestedMaxKeepAliveCount: 10,
maxNotificationsPerPublish: 0,
publishingEnabled: true,
priority: 1
}
Options to set up an OPC UA client (optional). See interface
OPCUAClientOptions
of node-opcua-client package.
The user identity for a connection session (optional). If not specified,
defaults to an unauthenticated anonymous user, i.e.
UserTokenType.Anonymous.
See type
UserIdentityInfo
of node-opcua-client package.
An object hash that defines a set of OPC UA data sources to be monitored. The key of each data source is used as a unique identifier for mapping the data source onto a Coaty-specific publishing item.
The specific endpoint URL of the OPC UA server, e.g. "opc.tcp://localhost:4334/UA/TestServer".
An object hash of IO actors to be associated with OPC UA variables to be
written as defined by the OpcuaOptions.dataSources property of this
interface.
Generated using TypeDoc
Configuration options for the
OpcuaIoActorControllerto be defined on theopcuaIoActorOptionsproperty.Defines IO actors for an
OpcuaIoActorController. The given IO actor objects are associated with OPC UA variables as defined by theOpcuaOptions.dataSourcesproperty of this interface. Whenever a new IO value is received by a defined IO actor, the value is written to its associated OPC UA data source variable.Example:
const opcuaIoActorOptions: OpcuaIoActorOptions = { endpointUrl: "opc.tcp://139.23.56.3:4334/UA/Producer", connectionOptions: { ... }, dataSources: { "PLC1.Tag1": { nodeIdentifier: { namespaceUri: "urn:NodeOPCUA-Server-default", identifierWithType: "i=2001" }, dataType: "Int32", }, }, ioActors: { "PLC1.Tag1": { name: "S7-1500 PLC 1.Tag1", objectId: Runtime.newUuid(), objectType: CoreTypes.OBJECT_TYPE_IO_ACTOR, coreType: "IoActor", valueType: "plc.Tag1[Int32]", }, }, };