avatar  

Log out

Recently viewed tickets

OPC UA Basic - DCM config

The purpose of this article is to provide a DCM config example for OPC UA collector

Prerequisite:

A Starter package (SiteManager + accounts) 
Other sections in DCM:


{
  "ConfigDescription": "Example configuration for OPC UA",
  "ConfigName": "OPC_UA_basic",
  "CheckpointInterval": 600,
  "Collectors": [
    {
      "CollectorName": "OmronOPCUA",
      "CollectorDescription": "Setup using Omron NX1 with OPC-UA Server",
      "Protocol": "OPC-UA/TCP",
      "ConnectRetryMin": 2,
      "ConnectRetryMax": 240,
      "OPCUAAccess": {
        "OPCUASecurityPolicy": "none",
        "OPCUAUserTokenType": "anonynmous",
        "OPCUATimeStampPolicy": "dcm"
      },
      "SamplePoints": [
        {
          "SampleName": "Temp1",
          "SampleDescription": "B1 Potmeter",
          "SamplesSaved": 1000,
          "SampleDataType": "int16",
          "OPCUAObject": {
            "NodeIdNameSpaceIndex": 4,
            "NodeIdType": "string",
            "NodeIdString": "Analog1",
            "OPCUASampleInterval": 1
          }
        },
        {
          "SampleName": "Temp2",
          "SampleDescription": "B2 Potmeter",
          "SamplesSaved": 10,
          "SampleDataType": "int16",
          "OPCUAObject": {
            "NodeIdNameSpaceIndex": 4,
            "NodeIdType": "string",
            "NodeIdString": "Analog2",
            "OPCUASampleInterval": 1
          }
        },
        {
          "SampleName": "Press1",
          "SampleDescription": "B3 Potmeter",
          "SamplesSaved": 10,
          "SampleDataType": "int16",
          "OPCUAObject": {
            "NodeIdNameSpaceIndex": 4,
            "NodeIdType": "string",
            "NodeIdString": "Analog3",
            "OPCUASampleInterval": 1
          }
        },
        {
          "SampleName": "Press2",
          "SampleDescription": "B4 Potmeter",
          "SamplesSaved": 10,
          "SampleDataType": "int16",
          "OPCUAObject": {
            "NodeIdNameSpaceIndex": 4,
            "NodeIdType": "string",
            "NodeIdString": "Analog4",
            "OPCUASampleInterval": 1
          }
        }
      ]
    }
  ],
  "DataServers": [
    {
      "ConnectRetryMax": 60,
      "ConnectRetryMin": 2,
      "DatasrvName": "DCC",
      "DatasrvProtocol": "SCI/SPD",
      "IOPin": true,
      "SCISPDParams": {
        "DevCertName": "dccdevcert",
        "DevPkeyName": "dccprivkey",
        "PushInterval": 5,
        "RootCAName": "dccrootca",
        "SCIServerAddr": "dcm-dcc.secomea.com",
        "SPDPort": 443,
        "Security": "TLS1.2"
      }
    }
  ]
}
Creation date: 11/12/2019 14:15 (skr@secomea.com)      Updated: 17/11/2020 11:52 (tvo@secomea.com)