meta data for this page
  •  

lamaPLC: energyMeter UDP (oldSchool project)

Modbus communication is the oldest automation technology data exchange solution. It is old but well-proven, it fits into the old-school solutions. Modern energy meters quite often use Modbus communication, so if we want to monitor the energy consumption of our house with the simplest of such units. These measuring units typically use Modbus RTU communication, which in this solution is converted into Ethernet UDP telegrams by an Adruino unit. The biggest advantage of this solution is that the telegrams do not need to be acknowledged, i.e., the other units participating in the communication do not need to be known exactly. This is an extremely big advantage in networks where the address assignment is automatically performed by the router, for example in Starlink networks. In the solution, it does not matter what address the subunits receive within a given range (e.g. 192.168.178.nnn), the telegrams are identified based on the addressed ports and the content of the telegrams.