node-red-contrib-iiot-opcua - Read OPC UA address space structures

v1.0.x Example:

  • Server
  • Client (read structure)
  • Response
[
  {
    "id": "5ee15620.af3f58",
    "type": "tab",
    "label": "IIoT Read Structure",
    "disabled": false,
    "info": ""
  },
  {
    "id": "ca7fc2b0.8451c",
    "type": "OPCUA-IIoT-Inject",
    "z": "5ee15620.af3f58",
    "injectType": "read",
    "payload": "",
    "payloadType": "date",
    "topic": "",
    "repeat": "",
    "crontab": "",
    "once": false,
    "startDelay": 15,
    "name": "Server Info",
    "addressSpaceItems": [
      {
        "name": "ServerStatus",
        "nodeId": "ns=0;i=2256",
        "datatypeName": ""
      }
    ],
    "x": 120,
    "y": 150,
    "wires": [
      [
        "766029e2.549a68"
      ]
    ]
  },
  {
    "id": "766029e2.549a68",
    "type": "OPCUA-IIoT-Read",
    "z": "5ee15620.af3f58",
    "attributeId": "0",
    "maxAge": 1,
    "depth": 1,
    "connector": "e51de948.21cf48",
    "name": "",
    "justValue": true,
    "multipleRequest": true,
    "showStatusActivities": false,
    "showErrors": false,
    "x": 280,
    "y": 150,
    "wires": [
      [
        "287e54ae.c069fc",
        "56578f97.87f1e"
      ]
    ]
  },
  {
    "id": "287e54ae.c069fc",
    "type": "debug",
    "z": "5ee15620.af3f58",
    "name": "",
    "active": true,
    "console": "false",
    "complete": "true",
    "x": 480,
    "y": 210,
    "wires": []
  },
  {
    "id": "56578f97.87f1e",
    "type": "OPCUA-IIoT-Response",
    "z": "5ee15620.af3f58",
    "name": "",
    "x": 490,
    "y": 150,
    "wires": [
      [
        "fc0507d3.212f08"
      ]
    ]
  },
  {
    "id": "fc0507d3.212f08",
    "type": "debug",
    "z": "5ee15620.af3f58",
    "name": "",
    "active": false,
    "console": "false",
    "complete": "true",
    "x": 670,
    "y": 150,
    "wires": []
  },
  {
    "id": "e51de948.21cf48",
    "type": "OPCUA-IIoT-Connector",
    "z": "",
    "endpoint": "opc.tcp://localhost:55388/",
    "keepSessionAlive": false,
    "loginEnabled": false,
    "securityPolicy": "None",
    "securityMode": "NONE",
    "name": "Local Server",
    "showStatusActivities": false,
    "showErrors": false
  }
]
biancode

Flow Info

created 5 months, 1 week ago
updated 2 months, 2 weeks ago

Node Types

Core
  • debug (x2)
Other

Tags

  • opcua
  • opc
  • ua
  • iot
  • iiot
  • information
  • model
  • rami4.0
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option