EasyManuals Logo

Siemens simatic et200sp User Manual

Siemens simatic et200sp
172 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #42 background imageLoading...
Page #42 background image
Reading and processing measured values
6.4 Read measured value from a measured value data record
Analog input module AI Energy Meter 480VAC ST (6ES7134-6PA20-0BD0)
42 Manual, 12/2015, A5E36061895-AA
6.4
Read measured value from a measured value data record
Introduction
To read measured values of a measured value data record, use the RDREC instruction. The
read values are stored in a PLC variable with user-defined data type (UDT).
You can find more information on this in the STEP 7 documentation, under the keyword
"RDREC".
Requirement
STEP 7 is open.
AI Energy Meter 480VAC ST is configured.
Procedure
1. In STEP 7 create a user-defined data type with the structure of the data record to be
read.
2. Insert the number of structural elements, which corresponds to the number of entries
contained in the measured value data record.
3. Insert the RDREC instruction in the user program.
4. Configure the RDREC instruction as follows:
ID: Hardware identifier or start address of the Energy Meter (depending on the CPU
used).
INDEX: Number of measured value data record whose entries are read.
MLEN: Length of the measured value data record in bytes. "0" if all the entries are to
be read.
RECORD: Target range for the read data record Length depends on MLEN.
5. Call the RDREC instruction with REQ = 1.
Result
The values from the measured value data record were transferred into the target data area.
See also
Basics for reading measured values (Page 35)

Table of Contents

Other manuals for Siemens simatic et200sp

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens simatic et200sp and is the answer not in the manual?

Siemens simatic et200sp Specifications

General IconGeneral
CategoryI/O Systems
Power Supply24 V DC
Protection RatingIP20
Number of ModulesUp to 64 modules
MountingDIN Rail
Communication ProtocolsPROFINET, PROFIBUS
Storage Temperature-40 °C to +70 °C
Digital InputsYes (depending on module)
Digital OutputsYes (depending on module)
Analog InputsYes (depending on module)
Analog OutputsYes (depending on module)
ModularityModular
Relative Humidity5 to 95% (non-condensing)
WeightVaries by configuration
System TypeDistributed I/O

Related product manuals