Siemens SIMATIC ET 200SP Manual

Analog input module ai energy meter 400vac st 6es7134-6pa01-0bd0
Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

Manual
SIMATIC
ET 200SP
Analog input module
AI Energy Meter 400VAC ST
(6ES7134-6PA01-0BD0)
Edition
10/2017
support.industry.siemens.com

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC ET 200SP

  • Page 1 Manual SIMATIC ET 200SP Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Edition 10/2017 support.industry.siemens.com...
  • Page 2 ___________________ Preface ___________________ Documentation guide ___________________ SIMATIC Product overview ___________________ Wiring ET 200SP Analog input module ___________________ Configuration / address AI Energy Meter 400VAC ST space (6ES7134-6PA01-0BD0) ___________________ Quick start Manual ___________________ Reading and processing measured values ___________________ Energy counters ___________________ Parameters ___________________...
  • Page 3 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 4: Preface

    Purpose of the documentation This manual supplements the system manual ET 200SP distributed I/O system (http://support.automation.siemens.com/WW/view/en/58649293). Functions that generally relate to the system are described in this manual. The information provided in this manual and in the system/function manuals supports you in commissioning the system.
  • Page 5 Siemens' products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customers' exposure to cyber threats.
  • Page 6: Table Of Contents

    Table of contents Preface ..............................4 Documentation guide ..........................8 Product overview ..........................12 Area of application ......................... 12 Properties of the AI Energy Meter 400VAC ST ..............14 Wiring ..............................16 Terminal and block diagram ....................16 Connection examples ......................19 Current transformer selection data ..................
  • Page 7 Table of contents Parameters ............................54 Parameters ..........................54 Description of parameters ....................... 57 Interrupts/diagnostic alarms ........................61 Status and error display ......................61 Interrupts ..........................63 9.2.1 Diagnostics interrupt ....................... 63 Diagnostic alarms ........................64 Diagnostics response......................65 Technical specifications ........................66 10.1 Technical specifications ......................
  • Page 8: Documentation Guide

    Documentation guide The documentation for the SIMATIC ET 200SP distributed I/O system is arranged into three areas. This arrangement enables you to access the specific content you require. Basic information The system manual describes in detail the configuration, installation, wiring and commissioning of the SIMATIC ET 200SP.
  • Page 9 You can download the product information free of charge from the Internet (https://support.industry.siemens.com/cs/us/en/view/73021864). Manual Collection ET 200SP The Manual Collection contains the complete documentation on the SIMATIC ET 200SP distributed I/O system gathered together in one file. You can find the Manual Collection on the Internet (http://support.automation.siemens.com/WW/view/en/84133942).
  • Page 10 ● Manuals, characteristics, operating manuals, certificates ● Product master data You can find "mySupport" - CAx Data in the Internet (http://support.industry.siemens.com/my/ww/en/CAxOnline). Application examples The application examples support you with various tools and examples for solving your automation tasks. Solutions are shown in interplay with multiple components in the system - separated from the focus in individual products.
  • Page 11 You can find the SIMATIC Automation Tool on the Internet (https://support.industry.siemens.com/cs/ww/en/view/98161300). PRONETA With SIEMENS PRONETA (PROFINET network analysis), you analyze the plant network during commissioning. PRONETA features two core functions: ● The topology overview independently scans PROFINET and all connected components.
  • Page 12: Product Overview

    Product overview Area of application Introduction Energy efficiency is playing an increasingly important role in industry. Rising energy prices, increasing pressure to improve profitability and the growing awareness of climate protection are important factors for reducing energy costs and for introducing an energy data management system.
  • Page 13 Product overview 2.1 Area of application Measuring with AI Energy Meter 400VAC ST A typical supply network of a production plant is usually divided into three voltage ranges: ● The infeed of the entire plant ● The subdistribution, for example, to individual lines within the plant ●...
  • Page 14: Properties Of The Ai Energy Meter 400Vac St

    Product overview 2.2 Properties of the AI Energy Meter 400VAC ST Properties of the AI Energy Meter 400VAC ST Article number 6ES7134-6PA01-0BD0 View of the module ① ⑥ Module type and name LED for supply voltage ② ⑦ LED for diagnostics Function class ③...
  • Page 15 ● BaseUnit Type D0 ● Labeling strips ● Reference identification label You can find additional information on the accessories in the ET 200SP distributed I/O system (http://support.automation.siemens.com/WW/view/es/58649293) system manual. Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 16: Wiring

    Wiring Terminal and block diagram In an ET 200SP station, the AI Energy Meter 400VAC ST forms its own potential group together with its dark BaseUnit. General safety instructions WARNING Danger to life due to electric shock Touching live parts can lead to death or severe injuries. Before beginning any work deenergize the system and the Energy Meter and short-circuit installed transformers.
  • Page 17 Wiring 3.1 Terminal and block diagram Protecting the connection cables To protect the connection cables at U and U , make sure there is adequate cable protection, especially after cross-section transitions. If short-circuit resistance according to IEC 61439-1:2009 is ensured by the design, there is no need for separate cable protection for the AI Energy Meter 400VAC ST.
  • Page 18 Wiring 3.1 Terminal and block diagram Usable BaseUnit The ET 200SP Distributed I/O System manual explains that a potential group always starts with a light BaseUnit. The AI Energy Meter 400VAC ST makes an exception in this case and only uses the dark BaseUnits type D0, 6ES7193-6BP00-0BD0. The BaseUnit is not in contact with the power bus and passes the potential through from the left to the right slot.
  • Page 19: Connection Examples

    Wiring 3.2 Connection examples Connection examples The following figures show the connection of the Energy Meter for three-phase and single- phase measurements. Note that the Energy Meter must always be connected via a current transformer. Connection type Wiring diagram Comment 3P4W Any load Three-phase measurement,...
  • Page 20: Current Transformer Selection Data

    Wiring 3.3 Current transformer selection data Current transformer selection data Introduction Connection via a current transformer is always required for the current measurement. Use toroids with an accuracy class of 0.5, 1 or 3. Dimensioning of the current transformer The correct dimensioning of the current transformer is important for the following reasons: ●...
  • Page 21 Wiring 3.3 Current transformer selection data The maximum value of the resistance of the connection cable is obtained with the following formula: Cable resistance in ohms Secondary current of the current trans- former Rated burden current transformer in VA Resistance of the Energy Meter (25 mΩ) burden Figure 3-3 Maximum value for the resistance of the connection cable...
  • Page 22 Wiring 3.3 Current transformer selection data The following table shows the resistance values of copper cables for typical cross-sections with ρ = 0.017857 Ω x mm Estimating the length for a connection cable The value in the table must be less than the calculated terminal resistance R of the L max cable.
  • Page 23: Configuration / Address Space

    Configuration / address space Configuring Introduction To configure the AI Energy Meter 400VAC ST after connecting it, use configuration software such as STEP 7. In addition, you can also change numerous parameters of the AI Energy Meter 400VAC ST in RUN via the user program. Configuring You configure the AI Energy Meter 400VAC ST with: ●...
  • Page 24: Selecting The Module Versions

    Configuration / address space 4.2 Selecting the module versions Selecting the module versions Introduction The AI Energy Meter 400VAC ST has different module versions. During the configuration you use the selection of the module version to specify which measured values can be read. Each module version supplies quality information via the input user data.
  • Page 25: Changing Over The User Data Variant During Operation

    Configuration / address space 4.2 Selecting the module versions 4.2.1 Changing over the user data variant during operation Introduction At the module version 32 I / 12 Q you switch over the user data variant in the output data in Byte 0.
  • Page 26: Recommendations For Selecting The Module Version

    Configuration / address space 4.2 Selecting the module versions 4.2.2 Recommendations for selecting the module version The following table shows which module version is suitable for a given purpose. Module version Remarks on the field of application 2 I / 2 Q Solely acyclic reading of the measured values via the RDREC instruction •...
  • Page 27: Applicable Modules

    Configuration / address space 4.3 Applicable modules Applicable modules The following table shows with which controllers the different module versions can be configured. Module version Controller 2 I / 2Q 32 I / 12 Q IM 155-6 PN ST V1.0 or higher IM 155-6 PN HF V2.0 or higher IM 155-6 PN BA...
  • Page 28: Quick Start

    Quick start Introduction This section shows you how to read and view your first measured values on the Energy Meter 400 VAC ST in a particularly quick and easy way. Requirement You have already connected the Energy Meter to your network with one of the connection types shown in the section Wiring (Page 16).
  • Page 29 Quick start Result After being switched on, the Energy Meter supplies the measured values for the "Total power L1L2L3" user data variant "Basic measurements" with the ID 254 or FE Read and check the measured values provided by the Energy Meter in the output data. The table below shows the structure of the user data variant, the measured variables and the data type of the measured values in STEP 7 (TIA Portal) that are stored in the 32 bytes of output data of the module.
  • Page 30: Reading And Processing Measured Values

    32-bit measured values. Note the conversion can cause loss of accuracy. For more information, read FAQ: Processing 64-bit-floating-point numbers in S7-300/400 (https://support.industry.siemens.com/cs/ww/en/view/56600676) Validity of the measured values After turning on the supply voltage UL1, the first measured values are available after approximately 2 seconds.
  • Page 31 Reading and processing measured values 6.1 Basics for reading measured values Initial startup of the module After the first startup or restart of the module, the parameters are transferred to the module. You can preset a user data variant in the parameters of the hardware configuration. This remains in effect until a different user data variant is selected in the output data (byte 0).
  • Page 32: Quality Information

    Reading and processing measured values 6.2 Quality information Quality information Introduction The AI Energy Meter 400VAC ST supplies quality information about the measurement in a status word. This information can be used to evaluate the status: ● Currents (I ) and voltages (U ) lie within the valid measuring range ●...
  • Page 33 Reading and processing measured values 6.2 Quality information Operating quadrant Figure 6-2 Quadrant in the quality bits See also Module version "32 I / 12 Q" (Page 88) Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 34: Reading Measured Values From User Data Cyclically

    Reading and processing measured values 6.3 Reading measured values from user data cyclically Reading measured values from user data cyclically Requirement ● STEP 7 is open. ● AI Energy Meter 400VAC ST is configured. Scaling of measured values in the user data Since the value range of 16-bit values is often smaller than the value range of the physical value, a scaling factor is supplied together with the basic value in the user data for the respective measured or calculated values.
  • Page 35 Reading and processing measured values 6.3 Reading measured values from user data cyclically In the user data variant FE (254) the measured value for the current L1 is stored in Byte 2 + 3. The current is supplied by the module as a 16-bit-fixed-point number in the value range from 0 to 65535 in the unit 1 mA.
  • Page 36: Read Measured Value From A Measured Value Data Record

    Reading and processing measured values 6.4 Read measured value from a measured value data record 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).
  • Page 37: Energy Counters

    Energy counters How the energy meter works Introduction The AI Energy Meter 400VAC ST provides 42 energy counters that detect both line-based and phase-based energy values. ● Active energy (total, outflow, inflow) ● Reactive energy (total, outflow, inflow) ● Apparent energy (total) How energy recording works Based on the measured currents and voltages and the calculation cycle the Energy Meter calculates the active, reactive and apparent energy.
  • Page 38 Energy counters 7.1 How the energy meter works Automatic reset of the energy counter The energy counters are automatically reset to "0" when parameter settings relevant to the energy counter are changed. In the case of phase-specific changing of parameter settings relevant to the energy counter only the energy counters of the respective phases are reset.
  • Page 39: Configuring Counters

    Energy counters 7.2 Configuring counters Configuring counters Overview You can configure the energy counters of the AI Energy Meter 400VAC ST as follows: ● Activate / Deactivate ● Start / stop counters using gate ● Set and reset start value Energy counter gate You have the option of starting and stopping the energy counter using the gate.
  • Page 40 Energy counters 7.3 Evaluating energy counters If you deselect the "Enable gate control for the energy counter" parameter in the configuration of the AI Energy Meter 400VAC ST, the energy counters operate independently of the DQ bit as long as the current value lies above the configured "Low limit for measuring current".
  • Page 41: Evaluating Energy Counters

    Energy counters 7.3 Evaluating energy counters Evaluating energy counters Evaluating energy counters The energy counters are evaluated by ● Using the input data of the user data variants for energy – User data variant "Total energy L1 L2 L3" (ID 249 or F9 –...
  • Page 42: Reset Energy Counter

    Energy counters 7.4 Reset energy counter Reset energy counter 7.4.1 Introduction Introduction At the beginning of a new work order, it may be useful to reset the energy counter of the Energy Meter Reset here means that the energy counters are reset to their start value. The following sections describe how you ●...
  • Page 43 Energy counters 7.4 Reset energy counter Procedure at module version with 12 bytes of output data Resetting energy counters for all 3 phases 1. Select the categories of energy counter that you want to reset in byte 2. – Set bit 5 for active energy counters. –...
  • Page 44: Resetting Energy Counters Via Data Record Ds 143

    Energy counters 7.4 Reset energy counter Start values After the reset the energy counters count with the specified start values (default = 0). You can change the start values for the energy counters via data record DS 143, see section Structure for energy counters (DS 143) (Page 49).
  • Page 45 Energy counters 7.4 Reset energy counter 4. Transfer the data record with the WRREC instruction. Figure 7-6 Energy counter control information DS 143 Start values You specify the moment for the application of the start values in Control byte 1 via Bit 7. After the reset the energy counters count with the specified start values (default = 0).
  • Page 46: Example For Resetting Energy Counters Via Data Record Ds 143

    Energy counters 7.4 Reset energy counter 7.4.4 Example for resetting energy counters via data record DS 143 Introduction Before you can transfer the data record DS 143 to the CPU you have to create a PLC data type in your user program that has an identical structure to data record DS 143. Procedure 1.
  • Page 47 Energy counters 7.4 Reset energy counter 2. Create a DB or instance DB and allocate the values of the data record Byte 0 and byte 1: Enter the value 01 in Byte 0 and the value 00 to Byte 1. Byte 2 ...
  • Page 48 Energy counters 7.4 Reset energy counter 3. Write the data record to the AI Energy Meter 400VAC ST module using the "WRREC" instruction. The input parameters must be allocated as follows: – REQ: A new write job is triggered if REQ = TRUE. –...
  • Page 49: Data Record For Energy Counter (Ds 143)

    Energy counters 7.5 Data record for energy counter (DS 143) Data record for energy counter (DS 143) 7.5.1 Structure for energy counters (DS 143) Energy meter data record 143 for different actions The energy meter data record 143 includes all energy meters available on the module phase-by-phase.
  • Page 50 Energy counters 7.5 Data record for energy counter (DS 143) Byte Measured variable Data Unit Value range Mea- type sured value 16...23 Active energy outflow (initial value) L1 LREAL 61181 24...31 Reactive energy inflow (initial value) L1 LREAL varh 61182 32...39 Reactive energy outflow (initial value) L1 LREAL...
  • Page 51 Energy counters 7.5 Data record for energy counter (DS 143) Error while transferring the data record The module always checks all the values of the transferred data record. Only if all the values were transferred without errors does the module apply the values from the data record. The WRREC instruction for writing data records returns corresponding error codes when errors occur in the STATUS parameter.
  • Page 52: Structure Of The Control And Feedback Interface For Ds 143

    Energy counters 7.5 Data record for energy counter (DS 143) 7.5.2 Structure of the control and feedback interface for DS 143 Introduction Bytes 2 to 7 of data record 143 form the phase-based control and feedback interface for the measured value data record of the energy counter. ●...
  • Page 53 Energy counters 7.5 Data record for energy counter (DS 143) Control information When data record 143 is written with the WRREC instruction, Bytes 2 to 7 are used as phase-specific control information for energy counters. The length of the control information amounts to 2 bytes for each phase: ●...
  • Page 54: Parameters

    Parameters Parameters Parameters of the AI Energy Meter 400VAC ST (DS 128) As a rule the AI Energy Meter 400VAC ST is already integrated in the hardware catalog of STEP 7 (TIA Portal) or STEP 7 V5.5 or higher. In this case STEP 7 (TIA Portal) or STEP 7 V5.5 or higher checks the parameterized properties for plausibility during designing.
  • Page 55 Parameters 8.1 Parameters In addition you can change the parameterized properties via the user program in RUN mode. When you assign parameters in the user program, the "WRREC" instruction transfers the parameters to the module using data records (see appendix Configuration via parameter data records (Page 72)).
  • Page 56 Parameters 8.1 Parameters Parameters Value range Default setting Reconfigurati- Effective range with configuration on in RUN software, e.g. STEP 7 (TIA Portal) GSD file GSD file PROFINET IO PROFIBUS DP Diagnostics Disable Channel/phase Module Disable • underflow voltage Enable • Diagnostics Disable Channel/phase...
  • Page 57: Description Of Parameters

    Parameters 8.2 Description of parameters Description of parameters Diagnostics line voltage Activate the diagnostics line voltage here. If there is no voltage or too little voltage at L1, the message "No supply voltage at L1" is output and a diagnostic interrupt is triggered. Connection type Specify the connection type you used for the Energy Meter here.
  • Page 58 Parameters 8.2 Description of parameters Diagnostics overflow current The measured current is monitored after expiry of the "Tolerance time" for "Overcurrent [0.1 A] tolerance value". Exceeding this results in overflow current. ① The tolerance time starts as soon as the secondary current value (1 A, 5 A) is exceeded. ②...
  • Page 59 Parameters 8.2 Description of parameters Diagnostics overflow cumulative values A cumulative overflow in the calculated variables is displayed. The values stop at the high or low limit. A violation triggers a diagnostic interrupt. Overcurrent tolerance value [0.1 A] The tolerance factor secondary overcurrent parameter (10 to 100) indicates the tolerable value of the secondary current in 0.1 A increments (10 = 1 A to 100 = 10 A).
  • Page 60 Parameters 8.2 Description of parameters Current transformer secondary current Enter here the nominal value for the secondary current (1 A or 5 A) of the current transformer used. The transformer ratio is calculated from the primary and secondary current. Reverse current direction Setting to determine whether or not to reverse the direction of current.
  • Page 61: Interrupts/Diagnostic Alarms

    Interrupts/diagnostic alarms Status and error display LED display ① DIAG (green/red) ② Error (red) ③ PWR (green) ④ Status (green) Figure 9-1 LED display Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 62 Interrupts/diagnostic alarms 9.1 Status and error display Meaning of the LED displays The following table explains the meaning of the status and error displays. Remedial measures for diagnostic alarms can be found in the section Diagnostic alarms (Page 64). DIAG LED Table 9- 1 Meaning of the DIAG LED DIAG...
  • Page 63: Interrupts

    Interrupts/diagnostic alarms 9.2 Interrupts Interrupts The AI Energy Meter 400VAC ST analog input module supports diagnostic alarms. 9.2.1 Diagnostics interrupt Diagnostic interrupt The module generates a diagnostic error interrupt at the following events: ● Channel is temporarily unavailable ● Error ●...
  • Page 64: Diagnostic Alarms

    Interrupts/diagnostic alarms 9.3 Diagnostic alarms Diagnostic alarms Diagnostic alarms Note Assignment channel in diagnostics alarm ⇔ Phase Channels are counted in the diagnostic messages starting from channel "0" and in the AI Energy Meter 400VAC ST starting from phase "1". Note the following assignment: •...
  • Page 65: Diagnostics Response

    Interrupts/diagnostic alarms 9.4 Diagnostics response Diagnostics response Diagnostics response This section describes the response of the AI Energy Meter 400VAC ST when diagnostics information is reported. Measured values in the case of diagnostics Even in the case of diagnostics, measured values continue to be displayed as long as they can still be acquired.
  • Page 66: Technical Specifications

    Technical specifications 10.1 Technical specifications Technical specifications of the AI Energy Meter 400VAC ST Article number 6ES7134-6PA01-0BD0 General information Product type designation ET 200SP, AI Energy Meter 400 V AC ST, PU 1 Firmware version V3.0 usable BaseUnits BU type D0, BU20-P12+A0+0B Product function Voltage measurement •...
  • Page 67 Technical specifications 10.1 Technical specifications Article number 6ES7134-6PA01-0BD0 Operating mode cyclic measurement • acyclic measurement • Acyclic measured value access • Fixed measured value sets • Freely definable measured value sets • Configuration control via dataset CiR – Configuration in RUN Reparameterization possible in RUN Calibration possible in RUN Installation type/mounting...
  • Page 68 Technical specifications 10.1 Technical specifications Article number 6ES7134-6PA01-0BD0 Interrupts/diagnostics/status information Alarms Diagnostic alarm • Limit value alarm • Hardware interrupt • Diagnostics indication LED Monitoring of the supply voltage (PWR- • LED) Yes; Green LED Channel status display • Yes; red Fn LED for channel diagnostics •...
  • Page 69 Technical specifications 10.1 Technical specifications Article number 6ES7134-6PA01-0BD0 Measuring inputs for voltage 230 V – Measurable line voltage between phase and neutral conductor 400 V – Measurable line voltage between the line conductors 90 V – Measurable line voltage between phase and neutral conductor, min.
  • Page 70 Technical specifications 10.1 Technical specifications Article number 6ES7134-6PA01-0BD0 Accuracy class according to IEC 61557-12 – Measured variable voltage – Measured variable current – Measured variable apparent power – Measured variable active power – Measured variable reactive power – Measured variable power factor –...
  • Page 71 In accordance with EN 60079-15 (Electrical apparatus for potentially explosive atmospheres; Type of protection "n") and EN 60079-0 (Electrical apparatus for potentially explosive gas atmospheres - Part 0: General Requirements) Dimension drawing See ET 200SP BaseUnits (http://support.automation.siemens.com/WW/view/en/59753521) manual Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 72: Parameter Data Records

    Parameter data records Configuration via parameter data records The parameter data records of the module have an identical structure, regardless of whether you configure the module with PROFIBUS DP or PROFINET IO. Parameter assignment in the user program You can reassign the module parameters in RUN mode, for example change the diagnostics behavior.
  • Page 73: Structure Of The Parameter Data Record 128 For The Entire Module

    Parameter data records A.2 Structure of the parameter data record 128 for the entire module Structure of the parameter data record 128 for the entire module Structure of data record 128 Figure A-1 Parameter data record 128 Header information The figure below shows the structure of the header information. Figure A-2 Header information Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0)
  • Page 74 Parameter data records A.2 Structure of the parameter data record 128 for the entire module Module header information The figure below shows the structure of the header information for a module. Figure A-3 Module header information Module parameter block The figure below shows the structure of the module parameter block. Enable a parameter by setting the corresponding bit to "1".
  • Page 75 Parameter data records A.2 Structure of the parameter data record 128 for the entire module Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 76 Parameter data records A.2 Structure of the parameter data record 128 for the entire module Figure A-4 Module parameter block You can find the user data variant in the section Overview of the user data variants (Page 92). Channel header information The following figure shows the structure of the header information for a channel.
  • Page 77 Parameter data records A.2 Structure of the parameter data record 128 for the entire module Channel parameter block The figure below shows the structure of the channel parameter block. Enable a parameter by setting the corresponding bit to "1". Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 78 Parameter data records A.2 Structure of the parameter data record 128 for the entire module Figure A-6 Channel parameter block Error while transferring the data record The module always checks all the values of the transferred data record. Only if all the values were transferred without errors does the module apply the values from the data record.
  • Page 79 Parameter data records A.2 Structure of the parameter data record 128 for the entire module The following table shows the module-specific error codes and their meaning for the parameter data record 128. Error code in STATUS parame- Meaning Solution (hexadecimal) Byte 0 Byte 1 Byte 2 Byte 3 Number of the data record unknown Enter a valid number for the data record.
  • Page 80: Measured Variables

    Measured variables Measured variables for data records and user data The following table provides an overview of all measured variables that are used in the data records and user data. Note that the format and unit differ in the evaluation of records and user data. Table B- 1 Measured variables for data records and user data Mea-...
  • Page 81 Measured variables Mea- Measured variables Data type Unit Value range Connection type sured 1P2W 3P4W value Power factor L3 REAL 0.0 ... 1.0 ✓ Frequency REAL 45.0 ... 65.0 ✓ ✓ Total active power L1L2L3 REAL -3.0 x 10 … +3.0 x ✓...
  • Page 82 Measured variables Mea- Measured variables Data type Unit Value range Connection type sured 1P2W 3P4W value 61178 Phase angle L1 REAL ° 0.0 ... 360.0 ✓ ✓ 61180 Active energy inflow L1 LREAL 0.0 ... 1.8 x 10 ✓ ✓ 61181 Active energy outflow L1 LREAL...
  • Page 83 Measured variables Mea- Measured variables Data type Unit Value range Connection type sured 1P2W 3P4W value 62311 Active energy outflow L3 UDINT 0 to 2147483647 ✓ 62312 Reactive energy inflow L3 UDINT Varh 0 to 2147483647 ✓ 62313 Reactive energy outflow L3 UDINT Varh 0 to 2147483647...
  • Page 84 Measured variables Format Table B- 2 Format and its length in bytes Format in STEP 7 (TIA Portal) Format to IEEE Length in bytes Comment BYTE BYTE 1 byte Bit field with 8 bit WORD WORD 2 bytes Bit field with 16 bit USINT INT8 (unsigned) 1 byte...
  • Page 85: Module Versions

    Module versions Module version "2 I / 2 Q" User data of the module The module has 2 bytes of input user data and 2 bytes of output user data for status and control information. At this module version measured variables can be read solely via measured value data records (no measured variables can be evaluated via user data).
  • Page 86 Module versions C.1 Module version "2 I / 2 Q" Allocation of the input user data Figure C-1 Allocation of the status bytes in the input user data (2 bytes) Structure of output user data The structure of the output user data is fixed. Table C- 2 Structure of output user data (2 bytes) Byte...
  • Page 87 Module versions C.1 Module version "2 I / 2 Q" Assignment of the output user data You control the counter gate for the energy counter via the output user data. Figure C-2 Allocation of the control byte in the output user data (1 byte) Note For module version 2 I / 2 Q, a reset always acts on all energy counters of the three phases.
  • Page 88: Module Version "32 I / 12 Q

    Module versions C.2 Module version "32 I / 12 Q" Module version "32 I / 12 Q" User data of the module The module occupies 32 bytes of input user data and 12 bytes of output user data. Of these the module uses 2 bytes input data for status information and 12 bytes output data for control information.
  • Page 89 Module versions C.2 Module version "32 I / 12 Q" Allocation of the input user data You can change the measured variables during operation. You can choose between different user data variants. Figure C-3 Assignment of the input user data (32 bytes) Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 90 Module versions C.2 Module version "32 I / 12 Q" Structure of output user data The structure of the output user data is fixed and is the same at all the selectable user data variants. Via the output user data you globally control ●...
  • Page 91 Module versions C.2 Module version "32 I / 12 Q" Control bytes for all three phases Figure C-5 Allocation of the control bytes for all three phases (bytes 1 and 2) Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 92: User Data Variants

    User data variants User data variants with 32 bytes input data / 12 bytes output data User data 30 bytes are available for transferring the measured values in a cycle at the module version 32 I / 12 Q. This module variant therefore supports dynamic switching between 11 preconfigured user data variants that contain a specific selection of measured values.
  • Page 93 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Total power L1L2L3 (ID 254 or FE Table D- 2 Total power L1L2L3 Byte Allocation Data Unit Value range Mea- type sured value User data variant BYTE 254 (FE...
  • Page 94 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Active power L1L2L3 (ID 253 or FD Table D- 3 Active power L1L2L3 Byte Allocation Data Unit Value range Mea- type sured value User data variant BYTE 253 (FD...
  • Page 95 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Reactive power L1L2L3 (ID 252 or FC Table D- 4 Reactive power L1L2L3 Byte Allocation Data Unit Value range Mea- type sured value User data variant BYTE 252 (FC...
  • Page 96 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Apparent power L1L2L3 (ID 251 or FB Table D- 5 Apparent power L1L2L3 Byte Allocation Data Unit Value range Mea- type sured value User data variant BYTE 251 (FB...
  • Page 97 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Basic measured values L1L2L3 (ID 250 or FA Table D- 6 Basic measured values L1L2L3 Byte Allocation Data Unit Value range Mea- type sured value User data variant...
  • Page 98 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Total energy L1L2L3 (ID 249 or F9 Table D- 7 Total energy L1L2L3 Byte Allocation Data Unit Value range Mea- type sured value User data variant BYTE 249 (F9...
  • Page 99 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Energy L1 (ID 248 or F8 Table D- 8 Energy L1 Byte Allocation Data Unit Value range Mea- type sured value User data variant BYTE 248 (F8 Quality information = QQ...
  • Page 100 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Energy L2 (ID 247 or F7 Table D- 9 Energy L2 Byte Allocation Data Unit Value range Mea- type sured value User data variant BYTE 247 (F7 Quality information = QQ...
  • Page 101 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Energy L3 (ID 246 or F6 Table D- 10 Energy L3 Byte Allocation Data Unit Value range Mea- type sured value User data variant BYTE 246 (F6 Quality information = QQ...
  • Page 102 User data variants D.1 User data variants with 32 bytes input data / 12 bytes output data Basic variables phase-specific measurement L1 (ID 159 or 9F Table D- 12 Basic variables phase-specific measurement L1 Byte Allocation Data Unit Value range Mea- type sured...
  • Page 103: Measured Value Data Records

    Measured value data records Overview of all measured value data records Energy Meter 400VAC ST writes the measured values in several data records that you can read acyclically using the RDREC instruction in the user program. The following tables show the structure of the individual data records: ●...
  • Page 104: Measured Value Data Record For Base Measurements (Ds 142)

    Measured value data records E.2 Measured value data record for base measurements (DS 142) Measured value data record for base measurements (DS 142) Measured variables of the module The following table provides an overview of all the measured variables that data record 142 supplies.
  • Page 105 For a description of the conversion of the 64-bit floating-point numbers (data type LREAL) into 32-bit floating-point numbers (data type REAL) please refer to the Internet (http://support.automation.siemens.com/WW/view/en/56600676). Analog input module AI Energy Meter 400VAC ST (6ES7134-6PA01-0BD0) Manual, 10/2017, A5E36061895-AB...
  • Page 106: Structure For Energy Counters (Ds 143)

    Measured value data records E.3 Structure for energy counters (DS 143) Structure for energy counters (DS 143) Energy meter data record 143 for different actions The energy meter data record 143 includes all energy meters available on the module phase-by-phase. The data record can be used for different actions: ●...
  • Page 107 Measured value data records E.3 Structure for energy counters (DS 143) Byte Measured variable Data Unit Value range Mea- type sured value 16...23 Active energy outflow (initial value) L1 LREAL 61181 24...31 Reactive energy inflow (initial value) L1 LREAL varh 61182 32...39 Reactive energy outflow (initial value) L1...
  • Page 108 Measured value data records E.3 Structure for energy counters (DS 143) Error code in STATUS parameter Meaning Solution (hexadecimal) Byte 0 Byte 1 Byte 2 Byte 3 At least one start value is invalid. Check Bytes 8...103 and Bytes 158...169. The start values may not be negative.
  • Page 109: Tips And Tricks

    Meter . Measuring and visualizing energy data You can find these application example at Internet (http://support.automation.siemens.com/WW/view/en/86299299) IT network You must create an artificial N-conductor (for example, by means of a 1:1 voltage transformer) in IT networks due to the missing neutral conductor. You can then use the module.

Table of Contents