Skip to content

D0 IEC reader

swissembedded edited this page Aug 21, 2016 · 6 revisions

The EMDO101 has a build in IEC62056-21 D0 reader. It has been tested with Landis & Gyr Energy Meter. Landis & Gyr is a major Energy Manufacturer worldwide, the IEC62056-21 is very common.
The so called OBIS code, an example:
F.F(00)
0.0( 120664)
C.1.0(13643214)
C.1.1( )
1.8.1(008533.368kWh)
1.8.2(009080.227
kWh)
2.8.1(000011.266kWh)
2.8.2(000046.988
kWh)
1.8.0(017613.595kWh)
2.8.0(000058.254
kWh)
15.8.0(017671.850kWh)
C.7.0(0004)
32.7(233
V)
52.7(235V)
72.7(236
V)
31.7(012.47A)
51.7(006.30
A)
71.7(006.02*A)
82.8.1(0000)
82.8.2(0000)
0.2.0(M26)
C.5.0(0421)
The fields 1.8.0 (energy import) and 2.8.0 (energy export) contain the relevant information in the round brackets. Some manufacturer use different codes for the energy import and export, or run the IEC interface in another mode (example uses mode C). This can be configured. With the energy import and export information a simple control loop can be established which switches loads on and off.
The EMDO has three BASIC commands which enables to communicate with the energy meter without the IEC protocol overhead.
Commands:

  • D0Start, D0End, D0ReadLn$

Customizing: Example code for Landis & Gyr Example code 2 for Easymeter

Clone this wiki locally