Skip to content

Open OPC UA PubSub Node

Industrial/OPC UA PubSub

Open a local UADP UDP publisher or subscriber with configured scalar field metadata. Supports plaintext or PubSub-Aes256-CTR group keys supplied through the security configuration. Requires a local executor.

industrial_opcua_pubsub_connectindustrial
Inputs2
Outputs2
Security exposureUnrated
Packageindustrial

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

2

Input

Execution
exec_in

Run this operation

Configuration

Struct
request

Inputs and configuration

OpcUaPubSubConfigOpcUaPubSubConfig9 fields
addressstringrequired

An opc.udp://IPv4:port address. Subscribers bind this unicast address or join this group.

interfacestringrequired

Local IPv4 interface for multicast. 0.0.0.0 uses the operating system route.

modePubSubModerequired
enum "publisher", "subscriber"
writerPubSubWriterrequired
publisher_idPublisherIdrequired
variant 1objectvariant
typeconstrequired
const "byte"
valueinteger:uint8required
format uint8min 0max 255
variant 2objectvariant
typeconstrequired
const "uint16"
valueinteger:uint16required
format uint16min 0max 65535
variant 3objectvariant
typeconstrequired
const "uint32"
valueinteger:uint32required
format uint32min 0
variant 4objectvariant
typeconstrequired
const "uint64"
valueinteger:uint64required
format uint64min 0
variant 5objectvariant
typeconstrequired
const "string"
valuestringrequired
writer_group_idinteger:uint16required
format uint16min 0max 65535
data_set_writer_idinteger:uint16required
format uint16min 0max 65535
fieldsArray<PubSubFieldMetaData>required
itemsPubSubFieldMetaDataarray item
namestringrequired

Names are local labels. Both peers must configure the same field order and types.

data_typePubSubDataTyperequired
enum "boolean", "sbyte", "byte", "int16"...
configuration_versionanyOf (2)

When set, publications include both versions and subscriptions require an exact match.

default null
variant 1ConfigurationVersionvariant
majorinteger:uint32required
format uint32min 0
minorinteger:uint32required
format uint32min 0
variant 2nullvariant
timeout_msinteger:uint64required
format uint64min 0
max_datagram_bytesinteger:uintrequired

Includes UADP headers. UDP fragmentation may occur above the network MTU.

format uintmin 0
securityanyOf (2)

Omit for plaintext. Secure sessions require persistent executor state and fail closed on downgrade.

default null
variant 1PubSubSecurityvariant

Manually provisioned PubSub-Aes256-CTR group keys. Use secret variables and separate keys per publisher.

modePubSubSecurityModerequired
enum "sign", "sign_and_encrypt"
security_token_idinteger:uint32required
format uint32min 0
signing_keyArray<integer:uint8>required

Exactly 32 bytes, supplied from a secret variable.

itemsinteger:uint8array item
format uint8min 0max 255
encrypting_keyArray<integer:uint8>required

Exactly 32 bytes, distinct from the signing key.

itemsinteger:uint8array item
format uint8min 0max 255
key_nonceArray<integer:uint8>required

Exactly 4 bytes. Rotate together with the encryption key when executor state is lost.

itemsinteger:uint8array item
format uint8min 0max 255
variant 2nullvariant
SensitiveSchema enforced

Output Pins

2

Done

Execution
exec_out

Operation completed

Result

Struct
result

Operation result

SessionSession2 fields
ref_idstringrequired
protocolstringrequired

Node Info

Internal name
industrial_opcua_pubsub_connect
Category
Industrial/OPC UA PubSub