How can you read out all the measured values of the Energy Meter at once?
There are several options for reading out the measured values of the energy meter:
- Cyclic reading via the IO data.
- Acyclic reading via the data record 143 or 142.
The FAQ response describes how to read out all the measured values via the data 142.
If the "Energy meter gate" is enabled, the energy meters only count when the "Energy meter gate opened" bit in the output data (Offset 1.6) is also set to "1".
The following table describes how to read out acyclically the measured values of the energy meter via the data record 142.
|1||Create a data type with an identical structure to the data record 142. The sample project already contains such a UDT. Detailed information about the structure of data record 142 is available in the PDF in the download area of the FAQ response.|
|2||Read out the data record using the SFB 52 "RDREC" from the Energy Meter.
The input parameters of the SFB must be configured as follows:
The data record transmission is completed when the BUSY output parameter has the value FALSE.
|3|| All the measured values listed in the "Measured Variables" section are thus transferred to the CPU and can be evaluated in the user program.
The *.zip file includes the "EnergyMeter_allData.zip" project.
Copy the "EnergyMeter_allData.zip" file into a separate directory and then start the file with a double-click. You can then use STEP 7 V12 to open and process the extracted project data.
EnergyMeter_allData.zip ( 1137 KB )
The PDF document contains the structure of the data record 142.
DS142_allData_e.pdf ( 36 KB )
More FAQ responses about the Energy Meter IO module are available:
SIMATIC ET 200SP Analog Input Manual AI Energy Meter ST
(Entry ID 73098696)
What should you watch out for when setting up and configuring an ET 200SP with an Energy Meter?
(Entry ID: 81800892)
How do you find out the current measuring value from the IO data of the energy meter?
(Entry ID: 81714201)
How do you reset the Energy Meter?
(Entry ID: 81715807)
How do you select a current transformer for the ET 200SP Energy Meter and how do you connect it to the module?
(Entry ID: 85477190)
The screens and downloads in this FAQ response were created with STEP 7 V12 SP1.