PLC Gateway Configuration

Edit the configuration JSON below. Be careful with the syntax.

Configuration Guide

PLC Configuration:

Data Area Configuration:

Example:

{
  "plcs": [
    {
      "name": "PLC1",
      "ip": "192.168.0.10",
      "rack": 0,
      "slot": 1,
      "areas": [
        {
          "name": "DB100_Read",
          "type": "read",
          "db_number": 100,
          "offset": 0,
          "size": 4000,
          "structure": [
            {"name": "temperature", "type": "real", "offset": 0},
            {"name": "pressure", "type": "int", "offset": 4}
          ]
        }
      ]
    }
  ]
}