10/18/2019
Hi,
Has anyone got queries on OPC UA vs Yang?
In general, we have very good articles and comparison options of OPC UA vs Modbus or OPC UA vs MQTT, etc.
But, then there is something called Yang Data Model which claims to be platform/language independent from TeleCom but these models are being used in other domains now.
So, if anyone has some additional articles or information related to how OPC UA and Yang are different like OPC UA/MQTT, can you please share your thoughts and inputs?
Sometimes people start saying to use Yang instead of OPC UA CS and it is a bit tricky to explain all the analysis and details to everyone. Hence, if there is any article or standard information, that could be really helpful.
05/30/2017
Someone could do modelling in Yang and then convert that to a OPC UA model or vice versa. One could do the same the with the numerous other modelling languages from RDF/Owl to UML to XML/JSON schema. They all do the job but some will mean more effort to get from the abstract model to a real system that can use the models.
If the objective is to exchange information via OPC UA then it makes sense to OPC UA modelling. This is particularly true if you need to extend existing OPC UA CS. If someone thinks they can use Yang to create a model that can be exchanged via a protocol like NETCONF then Yang may make more sense.
The end implementation matters because different modelling languages have constructs which can make it very difficult to translate into implementation frameworks that were not designed for that modelling language.
The latter point means the real discussion is OPC UA vs. NETCONF as the primary network protocol. For any sort of industrial device OPC UA the way to go because it designed for this specific purpose and it will allow interoperability with other industrial devices. If someone is building a network switch or other network hardware then NETCONF would likely inter-operate better with existing management s/w.
In OPCUA-FX, NETCONF will be used to configure TSN network devices while OPC UA will be used to stream data across the TSN network. IOW. both protocols are used where they are designed to be used and Yang models co-exist with OPC UA models depending on the problem that needs to be solved.
Does this help?
10/18/2019
Hi Randy,
Thanks a lot for the information and it definitely helps. I am always grateful for the quick response time in the OPC F Forum.
One low-priority point is, that we have a lot of public articles which has explained OPC UA vs Modbus and OPC vs MQTT etc. Maybe in future, if a technical article is created, that would help many other people who have the same question.
When we search in Google, OPC UA vs Modbus, or OPC UA vs MQTT, we can get a lot of results, but with respect to OPC UA and Yang, there are no results.
Also, I have seen some sets of discussions to promote Yang over OPC UA and then I had underlying knowledge that it is apple vs orange comparison, but then I did not have open articles to share.
10/18/2019
It was with-in the organization at this point and some colleagues had some discussions with networking related orgs.Â
I am trying to collect the information and add in some type of general PPT or document so that these questions does not have to be discussed at multiple levels.
That was the reason, I asked if there were any open articles.
1 Guest(s)