{ "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json", "mbmap": 2, "vendor": "Líder Balanças", "model": "LD2051", "models": ["LD2051"], "vendor_website": "liderbalancas.com.br", "description": "Digital weighing indicator: net weight and tare, as whole numbers and as floats", "revision": 1, "revised": "2026-11-10", "firmware": "Manual for versions from 2051A1 (Modbus RS-485 selection F315 from version D7)", "source": "Líder Balanças, Indicador Digital LD2051, Manual do Usuário v2.7 (8 October 2024), Modbus chapter", "sources": [ {"title": "Indicador Digital LD2051 - Manual do Usuário", "version": "2.7", "date": "2024-10-08", "url": "https://www.liderbalancas.com.br/wp-content/uploads/produtos/manual/1096727861.27pdf", "note": "Protocolo Modbus chapter and the F3 serial settings; linked in issue #144 (the link as written in the issue)"} ], "notes": [ "The Modbus protocol is optional on RS-485 and Ethernet and available on RS-232 by default. Modbus RTU or ASCII on RS-232 (F300 = 4 or 5) or RS-485 (F315 = 0 or 1), Modbus TCP (F316 = 2) or Modbus RTU over TCP (F316 = 1, F300 = 0). FC03 only. The protocol field of this format has no ASCII mode.", "The manual numbers the registers 84, 86, 88 and 90 and gives the hex addresses 0x53, 0x55, 0x57 and 0x59, which are what is sent on the wire (83, 85, 87, 89); this map uses the wire addresses.", "32-bit values are sent with the least significant word first and the most significant byte first in each word, in RTU, ASCII and RTU over TCP. In Modbus TCP the manual lists the registers at 84 to 90 with the most significant word first, and a second set at 100 to 106 (wire 99 to 105) with the least significant word first, so a Modbus TCP client should use the second set. The first set is correct as written for RTU and RTU over TCP.", "Factory serial settings: 9600 bit/s (F301 for RS-232, F304 for RS-485), 8 data bits, no parity (F308), 1 stop bit (F309). The address (F302) is 1 to 255; the manual gives no default, and 1 is assumed here.", "The document does not give the weight unit; the indicator sends the value in its configured unit.", "Written from the manual; this map has not been tested on a device." ], "protocol": "tcp+rtu", "unit_id": 1, "port": 502, "baudrate": 9600, "parity": "N", "databits": 8, "stopbits": 1, "byte_order": "big", "word_order": "little", "address_base": 0, "x_status": "official", "registers": [ {"name": "Net weight (integer)", "group": "Weight", "area": "holding", "address": 83, "type": "int32", "description": "Net weight as a signed whole number; the document does not say how the decimal point is handled (the Líder LD1050 LCD map reads 0.5 with three decimals as 500). Over Modbus TCP, words come most significant first at this address: use address 99 instead"}, {"name": "Tare (integer)", "group": "Weight", "area": "holding", "address": 85, "type": "int32", "description": "Tare as a signed whole number. Over Modbus TCP, use address 101"}, {"name": "Net weight", "group": "Weight", "area": "holding", "address": 87, "type": "float32", "description": "Net weight as a 32-bit float. Over Modbus TCP, use address 103"}, {"name": "Tare", "group": "Weight", "area": "holding", "address": 89, "type": "float32", "description": "Tare as a 32-bit float. Over Modbus TCP, use address 105"}, {"name": "Net weight (integer, Modbus TCP)", "group": "Weight", "area": "holding", "address": 99, "type": "int32", "description": "Same value as address 83, with the least significant word first; listed in the document for Modbus TCP only"}, {"name": "Tare (integer, Modbus TCP)", "group": "Weight", "area": "holding", "address": 101, "type": "int32", "description": "Same value as address 85; listed for Modbus TCP only"}, {"name": "Net weight (Modbus TCP)", "group": "Weight", "area": "holding", "address": 103, "type": "float32", "description": "Same value as address 87; listed for Modbus TCP only"}, {"name": "Tare (Modbus TCP)", "group": "Weight", "area": "holding", "address": 105, "type": "float32", "description": "Same value as address 89; listed for Modbus TCP only"} ] }