OPC UA
Authentication & advanced configs
Authentication & advanced configs can be configured under the "Custom config" of your connection. (Settings icon)
Example
{
"ArraySearch": true,
"DataTypeCheck": true,
"PublishInterval": 1000,
"MaxNotificationsPerPublish": 65000,
"MonitoredItemQueueSize": 65000,
"AuthMode": "Basic",
"SecurityPolicy": "Sign",
"SecurityAlgorithm": "Auto",
"Username": "john.doe",
"Password": "secretpassword",
"CertPath": "/path/to/certificate.pem"
}
Properties
ArraySearch
(bool): Indicates whether array search is enabled. (Default true)DataTypeCheck
(bool): Indicates whether data type checking is enabled. (Default true)PublishInterval
(int): Sets the publish interval. (Default 1000 = 1s)MaxNotificationsPerPublish
(int): Sets the max notifications per publish. (Default 65000)MonitoredItemQueueSize
(int): Sets or sets the max items in the monitoredItemQueue (Default 65000)AuthMode
(AuthMethod): Authentication method for OPC UA communication.- None (Default)
- Basic
- Certificate
SecurityPolicy
(OpcSecurityMode): Security policy for OPC UA communication.- None (Default)
- Sign
- SignAndEncrypt.
SecurityAlgorithm
(OpcSecurityAlgorithm): Security policy for OPC UA communication.- Auto (Default)
- None
- Basic128Rsa15
- Basic256
- Basic256Sha256
- Https
Username
(string): Username for authentication (if applicable).Password
(string): Password for authentication (if applicable).CertPath
(string): Path to the certificate file for certificate-based authentication (if applicable).
Collect settings
OPC UA is notification based. We support reading Structs, arrays and primitive type variables. The nodeId is used for the mapping. This id can be found on the opc ua server or with an opc ua client.
Type | Example mapping | Output database fieldnames |
---|---|---|
Single var | ns=6;s=::Test_OPC:Frame_OPC_Mach_1._02_Machine_Running | Variable name |
Full array | ns=4;s=OpcUa.arArrayArray | Varname[0], Varname[x] |
Full struct | ns=4;s=OpcUa.stStructStruct | Varname_ElementName1, Varname_ElementNamex |
Single element in struct | ns=4;s=OpcUa.stStructStruct.elementName | Variable name |