Difference between revisions of "OPC UA PubSub Automatic Message Mapping Recognition"

From OPC Labs Knowledge Base
Jump to navigation Jump to search
(Created page with "OPC UA PubSub uses different message mappings, which define how the PubSub messages are structured and encoded when put into the transport protocol as its payload. Currently,...")
 
Line 2: Line 2:
 
* UADP (binary, defined by OPC UA)
 
* UADP (binary, defined by OPC UA)
 
* JSON (textual, built upon interoperable standard)
 
* JSON (textual, built upon interoperable standard)
 +
 +
With some transport protocols, only a single message mapping is used (or, at least, OPC UA only has a standard profile with a single combination). For example, UDP and Ethernet transport protocol mappings are only used with the UADP message mapping (this is because they are meant for optimized, fast, low-level communications). Other transport protocol mappings, such as AMQP or MQTT, can be combined with different message mappings. For example, MQTT can be used either with UADP or JSON, depending on the needs of the application.

Revision as of 12:04, 21 March 2022

OPC UA PubSub uses different message mappings, which define how the PubSub messages are structured and encoded when put into the transport protocol as its payload. Currently, OPC UA PubSub defines two message mappings:

  • UADP (binary, defined by OPC UA)
  • JSON (textual, built upon interoperable standard)

With some transport protocols, only a single message mapping is used (or, at least, OPC UA only has a standard profile with a single combination). For example, UDP and Ethernet transport protocol mappings are only used with the UADP message mapping (this is because they are meant for optimized, fast, low-level communications). Other transport protocol mappings, such as AMQP or MQTT, can be combined with different message mappings. For example, MQTT can be used either with UADP or JSON, depending on the needs of the application.