{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Alfa Instrumentos",
  "model": "Balança de Fluxo",
  "vendor_website": "alfainstrumentos.com.br",
  "description": "Flow scale with Modbus TCP data table",
  "revision": 1,
  "revised": "2026-11-11",
  "source": "Alfa Instrumentos, Manual de Configuração e Operação, Balança de Fluxo (0053.MN.02.A), section 6.1 Dados em Modbus TCP",
  "sources": [
    {
      "title": "Manual de Configuração e Operação - Balança de Fluxo",
      "version": "0053.MN.02.A",
      "note": "Section 6.1; supplied with the map request"
    }
  ],
  "notes": [
    "Modbus TCP on port 502. The device sends 13 signed integer registers starting at register 200.",
    "The manual names the 32-bit values Hi and Lo in that order (200 Hi, 201 Lo), so the word order is big. It does not state the unit or the decimals of the weight, flow and accumulated value; values are raw.",
    "The data table is shown on the controller: Menu, CLP configuration (maintenance password in the manual), Ethernet parameters, Data table."
  ],
  "protocol": "tcp",
  "port": 502,
  "unit_id": 1,
  "byte_order": "big",
  "word_order": "big",
  "address_base": 0,
  "x_status": "official",
  "registers": [
    {
      "name": "Current weight",
      "group": "Weighing",
      "area": "holding",
      "address": 200,
      "type": "int32",
      "access": "R",
      "word_order": "big",
      "description": "Current weight, high word first (register 200 Hi, 201 Lo)"
    },
    {
      "name": "Current flow",
      "group": "Weighing",
      "area": "holding",
      "address": 202,
      "type": "int32",
      "access": "R",
      "word_order": "big",
      "description": "Current flow, high word first"
    },
    {
      "name": "Record line",
      "group": "Records",
      "area": "holding",
      "address": 204,
      "type": "int16",
      "access": "R"
    },
    {
      "name": "Accumulated value",
      "group": "Weighing",
      "area": "holding",
      "address": 205,
      "type": "int32",
      "access": "R",
      "word_order": "big",
      "description": "Accumulated value, high word first"
    },
    {
      "name": "Day",
      "group": "Records",
      "area": "holding",
      "address": 207,
      "type": "int16",
      "access": "R",
      "description": "Date and time of the record"
    },
    {
      "name": "Month",
      "group": "Records",
      "area": "holding",
      "address": 208,
      "type": "int16",
      "access": "R",
      "description": "Date and time of the record"
    },
    {
      "name": "Year",
      "group": "Records",
      "area": "holding",
      "address": 209,
      "type": "int16",
      "access": "R",
      "description": "Date and time of the record"
    },
    {
      "name": "Hour",
      "group": "Records",
      "area": "holding",
      "address": 210,
      "type": "int16",
      "access": "R",
      "description": "Date and time of the record"
    },
    {
      "name": "Minute",
      "group": "Records",
      "area": "holding",
      "address": 211,
      "type": "int16",
      "access": "R",
      "description": "Date and time of the record"
    },
    {
      "name": "Second",
      "group": "Records",
      "area": "holding",
      "address": 212,
      "type": "int16",
      "access": "R",
      "description": "Date and time of the record"
    }
  ]
}