node-red-contrib-iiot-opcua - Events

v1.0.x Example:

  • Events
  • Listener
[
  {
    "id": "cba43db7.197ff",
    "type": "tab",
    "label": "IIoT OPC UA Events",
    "disabled": false,
    "info": ""
  },
  {
    "id": "5fee50d3.b244f",
    "type": "OPCUA-IIoT-Listener",
    "z": "cba43db7.197ff",
    "connector": "823d2dee.6d0b6",
    "action": "events",
    "queueSize": "1000",
    "name": "",
    "justValue": false,
    "multipleRequest": false,
    "metaDataInject": false,
    "showStatusActivities": false,
    "showErrors": false,
    "x": 590,
    "y": 120,
    "wires": [
      [
        "8d2750f4.adef6"
      ],
      [
        "ee5afa8e.501e98"
      ]
    ]
  },
  {
    "id": "8d2750f4.adef6",
    "type": "debug",
    "z": "cba43db7.197ff",
    "name": "",
    "active": true,
    "console": "false",
    "complete": "true",
    "x": 740,
    "y": 100,
    "wires": []
  },
  {
    "id": "ee5afa8e.501e98",
    "type": "debug",
    "z": "cba43db7.197ff",
    "name": "",
    "active": true,
    "console": "false",
    "complete": "true",
    "x": 740,
    "y": 140,
    "wires": []
  },
  {
    "id": "2c145c92.e7fb84",
    "type": "OPCUA-IIoT-Event",
    "z": "cba43db7.197ff",
    "eventType": "BaseEventType",
    "eventTypeLabel": "BaseEventType (i=2041)",
    "queueSize": "1000",
    "usingListener": true,
    "name": "Base Events",
    "x": 420,
    "y": 120,
    "wires": [
      [
        "5fee50d3.b244f"
      ]
    ]
  },
  {
    "id": "ce52e27f.ec2b9",
    "type": "OPCUA-IIoT-Inject",
    "z": "cba43db7.197ff",
    "injectType": "listen",
    "payload": "200",
    "payloadType": "num",
    "topic": "",
    "repeat": "",
    "crontab": "",
    "once": true,
    "startDelay": "",
    "name": "listen with 200 ms",
    "addressSpaceItems": [
      {
        "name": "Tanks",
        "nodeId": "ns=1;i=1000",
        "datatypeName": ""
      },
      {
        "name": "Server",
        "nodeId": "ns=0;i=2253",
        "datatypeName": ""
      }
    ],
    "x": 230,
    "y": 120,
    "wires": [
      [
        "2c145c92.e7fb84"
      ]
    ]
  },
  {
    "id": "823d2dee.6d0b6",
    "type": "OPCUA-IIoT-Connector",
    "z": "",
    "endpoint": "opc.tcp://localhost:55388/",
    "keepSessionAlive": true,
    "loginEnabled": false,
    "securityPolicy": "None",
    "securityMode": "NONE",
    "name": "LOCAL SERVER",
    "showStatusActivities": false,
    "showErrors": false
  }
]
biancode

Flow Info

created 2 weeks, 2 days ago

Node Types

Core
  • debug (x2)
Other

Tags

  • node-opcua
  • opcua
  • iiot
  • iot
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option