Siemens 505-2557 installation and operation guide Averaging, Peak and Valley, Hold

Page 52

Additional Information about Each Function (continued)

Averaging

Exclusivity If averaging and filtering are both enabled, alarming is

 

exclusive of averaging. This means that after the data is filtered it is

 

compared against alarm setpoints and then averaged.

 

Numerical Range Values loaded into the module for averaging are

 

expressed as 16-bit unsigned integers 1 to 65535 in units of number of

 

samples. Signed integers will be interpreted as unsigned values.

 

 

 

 

NOTE: A value of zero is ignored and the default value of 20 is used if zero is

 

loaded and enabled.

 

 

 

Averaging Reset Y27 is used to reset all 16 channels to begin the averaging process again. The previously loaded averaging sample number is used (or the default value of 20 if no data is loaded) and the averaging function is enabled.

 

Averaging Reset with New Value

In the event a very large number for

 

averaging is inadvertently loaded into the module and enabled, the input

 

channel will appear to not be working correctly. The input channel requires

 

a reset with a smaller number of samples. To initate a reset with a new

 

averaging value, the number of samples is loaded as previously described

 

and then each channel may be individually reset and enabled for the new

 

value with WY75.

 

 

Peak and Valley

Peak or valley hold data is returned in locations WX49 ± WX64, provided

Hold

that Y30 and Y31 are set accordingly. See Figure 3-14.

 

 

 

 

 

Data Read

Y30

Y31

 

Peak

1

1

 

Valley

0

1

 

Flags

X

0

 

 

 

 

Figure 3-14 Peak/Valley Truth Table

NOTE: Upon power up and the enabling of peak and valley hold, peak values returned will be the actual value at input. Valley values must go below zero, which is the default value before data is returned. This is not the case if a reset is issued to the valley function. On reset the valley threshold is the current value.

3-22 Advanced Function Programming

SIMATIC 505±2557 Installation and Operation Guide

Image 52
Contents Simatic Copyright 1998 by Siemens Energy & Automation, Inc Manual Publication History List of Effective Pages Contents Iv Contents List of Figures List of Tables Preface Agency Approvals EuropeanCommunity CE ApprovalDescription 100 Ohm, 10 Ohm, 120 Ohm RTDs, or Millivolt InputsOperating Modes Word Input to the PLC from the Module RTD Input to Digital Conversion Scale UnitsEffect SignalsOut-of-Range Input Effect of Voltage Input 10 Ohm Copper Resolution Input ResolutionCalculating the I/O Base Power Budget Installing and Configuring the ModuleSelecting 2 and 3 Wire or 4 Wire Operation Installing and Configuring the Module Configuring Selecting Temperature orMillivolt Input Selecting Degrees Celsius orFahrenheit Selecting DataConfiguration Jumper Locations Module Into InsertingBase Wiring the Input Connectors Copper Wire Table at 25 Degrees CelsiusPress In Wiring Connector Wiring Diagram for 2, 3, or 4 Wire RTD Wiring Diagram for Millivolt Measurements Cable Grounding Example I/O Configuration Chart Advanced Function Programming Advanced Software Functions IntroductionOverview AdvancedConfiguration Setting the ModuleJumper Controller I/O LoggingMemory Internal Register Structures Input and Output Register OffsetsInput Registers Input Channel DataInput Flag Bits Peak/Valley Hold Input WordsOutput Data Registers AveragingControl Registers Function Enable BitsInputs Discrete Handshake Inputs Outputs Data Identification BitsLoading Data into the Simatic 505±2557 Module Data Loading ProcessSample Low and High Alarm Setpoints Identifying the Data Being Transferred 11 Enabling the Functions Loaded Loading Programs into the I/O Module 13 Startup Relay Ladder Logic Page When Using Timing Overhead for Functions EnabledTiming Considerations Timing ConstraintsDefault Values Default Function ValuesDefault Function Values for Simatic 505±2557 Additional Information about Each FunctionAlarm Setpoints DegreesCentigrade or Degrees FahrenheitDigital Filtering Peak and Valley AveragingHold Hold Reset Flag BitsFunction PrecedenceTroubleshooting 10 Troubleshooting Flow Diagram Symptom Probable Cause Corrective ActionI/O Register Quick Reference 17 I/O Register Quick ReferenceOr K Memory Configuration Tables Page Addressing Worksheet Items Unique to the Simatic 505±2557 Module 18 Open RTD Status BitsTroubleshooting Specifications Table B-1 SpecificationsSpecifications subject to change without notice Jumper Settings Log Sheet Customer Response Business Reply Mail