[{"data":1,"prerenderedAt":113},["ShallowReactive",2],{"blog-\u002Fblog\u002F2024\u002F02\u002Fnode-red-unified-namespace-architecture":3},{"id":4,"title":5,"body":6,"description":12,"extension":102,"meta":103,"navigation":108,"path":109,"seo":110,"stem":111,"__hash__":112},"blog\u002Fblog\u002F2024\u002F02\u002Fnode-red-unified-namespace-architecture.md","Node-RED in a Unified Namespace Architecture",{"type":7,"value":8,"toc":95},"minimark",[9,13,22,27,30,37,43,47,50,56,64,70,77,81,89],[10,11,12],"p",{},"As we embark on the journey toward a more interconnected industrial environment, the emergence of a Unified Namespace (UNS) as the fundamental framework for facilitating communication among various systems and devices has become a focal point of discussion. I've often been queried about the role of Node-RED in a UNS architecture. To illuminate this, let's delve into an exemplary UNS architecture, underlining the classic use cases for Node-RED within this framework.",[10,14,15,16,21],{},"In this Article: ",[17,18,20],"a",{"href":19},"\u002Fblog\u002F2024\u002F02\u002Fnode-red-perfect-adapter-middleware-uns\u002F","Node-RED: The perfect adapter and middleware for your UNS",", where classic use cases for Node-RED are delineated. Building upon that foundation, this discussion aims to present a tangible architectural example, showcasing the practical implementation of these use cases.",[23,24,26],"h2",{"id":25},"simplifying-complexity-the-two-layered-approach","Simplifying Complexity: The Two-Layered Approach",[10,28,29],{},"For ease of understanding, consider the architecture split into two principal layers: the Shopfloor layer and the Service layer.",[10,31,32,36],{},[33,34,35],"strong",{},"The Shopfloor Layer","\nThis is where the physical assets dwell, requiring connectivity through a network layer, which in our example, is the UNS. It acts as the foundation for data flow from the operational technology (OT) on the shop floor to the information technology (IT) in the Service layer.",[10,38,39,42],{},[33,40,41],{},"The Service Layer","\nHere resides the applications and software that analyze data, transforming raw metrics into actionable insights. It's where the data becomes meaningful through analytics, dashboards, and decision-support tools.",[23,44,46],{"id":45},"the-roles-in-uns-architecture","The Roles in UNS Architecture",[10,48,49],{},"Within this bifurcated architecture, we have two general categories of actors: Indirect Consumer\u002FProducers and Direct Consumer\u002FProducers.",[10,51,52,55],{},[33,53,54],{},"Indirect Consumer\u002FProducers",":\nThese actors cannot natively communicate with our UNS broker. The communication barrier could be due to protocol differences, such as not using MQTT, or payload structures incompatible with your UNS's schema. This is a common challenge in manufacturing, especially in \"brownfield\" scenarios where legacy machines and equipment from various eras must be integrated.",[10,57,58,59,63],{},"In such cases, Node-RED shines as a middleware for protocol conversion and data contextualization. Take, for example, the topic hierarchy in UNS based on location for context. A raw sensor reading might lack necessary details like measurement units or message versions. Node-RED steps in to enrich this data, ensuring compatibility with the UNS. In our ",[17,60,62],{"href":61},"\u002Fblog\u002F2023\u002F12\u002Funified-namespace-data-modelling\u002F","concrete architecture example",", we have an indirect PLC producer. With Node-RED, we can convert and contextualize the data from this PLC for the UNS, ensuring smooth communication and effective integration.",[10,65,66,69],{},[33,67,68],{},"Direct Consumer\u002FProducers",":\nContrastingly, direct actors can interact with the UNS out of the box. Modern industrial equipment usually falls into this category, equipped to speak the language of the UNS directly. However, the challenge remains not just in protocol communication but also in data contextualization. Merely speaking the same language is not enough; the data must also carry the correct context to be fully understood and utilized.",[10,71,72],{},[73,74],"img",{"alt":75,"src":76},"Example Architecture","\u002Fblog\u002F2024\u002F02\u002Fimages\u002Funified-namespace-architecture.png",[23,78,80],{"id":79},"harnessing-node-red-for-actionable-insights","Harnessing Node-RED for Actionable Insights",[10,82,83,84,88],{},"Node-RED's prowess extends beyond middleware capabilities; it can also derive actionable insights. Our example architecture includes Dashboards for both the Human Machine Interface on the Shopfloor and an OEE Dashboard in the Service Layer. These dashboards engage with the UNS, calculating KPIs directly within Node-RED. For manufacturing applications, our ",[17,85,87],{"href":86},"\u002Fblueprints\u002F","Blueprint Library"," serves as a robust starting point, offering one-click deployment to your Node-RED managed instance.\nNode-RED emerges not just as a translator between machines and UNS but as an interpreter and analyst, generating real-time insights that drive decision-making and operational efficiency. The role of Node-RED in UNS architecture, therefore, is not ancillary; it is central to realizing the vision of a connected, intelligent industrial ecosystem.",[10,90,91],{},[73,92],{"alt":93,"src":94},"Andon Live Dashboard","https:\u002F\u002Fflowfuse.com\u002Fimg\u002FANDON-Screenshot-D4DBvWieJZ-650.avif",{"title":96,"searchDepth":97,"depth":97,"links":98},"",2,[99,100,101],{"id":25,"depth":97,"text":26},{"id":45,"depth":97,"text":46},{"id":79,"depth":97,"text":80},"md",{"navTitle":5,"excerpt":104},{"type":7,"value":105},[106],[10,107,12],{},true,"\u002Fblog\u002F2024\u002F02\u002Fnode-red-unified-namespace-architecture",{"title":5,"description":12},"blog\u002F2024\u002F02\u002Fnode-red-unified-namespace-architecture","e3oz9s6phKBbiPDJur51ijPWZBsUq-jH8_MRh9JRRYQ",1780070551469]