Reading and processing measured values
6.4 Read out measured values acyclically using data records
Analog input module AI Energy Meter 480VAC/CT HF (6ES7134-6PA00-0CU0)
52 Manual, 07/2018, A5E42674880-AA
Read out measured values acyclically using data records
With all module versions you can read out the measured values using data records.
An overview of all measured value data records and exact information about the structure is
available in the appendix Overview of all measured value data records (Page 226).
In the STEP 7 project you have created a PLC data type that has an identical structure to the
data record you want to evaluate.
Example of the structure of a data record
The following overview shows the structure of the data record DS 142.
1 Reserved UINT8 - - -
1. Read the desired data record with the RDREC instruction.
The measured values are in the target range of the data block which you specified with
the RDREC instruction.
2. Evaluate the measured values for the desired measured variables.
Note
If you want to read or write several data records at the same time in the user program, note
that the number of active jobs that you started with the RDREC or WRREC instruction is
limited
by the resources of the CPU used.
Measured value data record for base measurements (DS 142) (Page 227)