Yokogawa Corporation of America ©Copyright 2006 Yokogawa Corporation of America All Rights Reserved DXAdvanced Math Training.

Slides:



Advertisements
Similar presentations
© 2005 Microchip Technology Incorporated. All Rights Reserved. Slide 1 NUM 1019 Numerical Methods on the PIC Micro.
Advertisements

Chapter 0 Review of Algebra.
CAD-Computer GmbH & Co.KG. GERMANY Copyright © CAD-Computer GmbH & Co. KG. November 2007 MCPS training Advanced NETSOL technical EURISM Amersfoort November.
Adders Used to perform addition, subtraction, multiplication, and division (sometimes) Half-adder adds rightmost (least significant) bit Full-adder.
Chapter 5: Control Structures II (Repetition)
Copyright © 2003 Pearson Education, Inc. Slide 1.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 38.
Chapter 1 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Instructional Strategies
Factors, Primes & Composite Numbers
What two numbers will give you a product of 64 and a quotient of 4?
Math Vocabulary Review Part 1.
How to Factor Quadratics of the Form
Describing Data: Measures of Dispersion
FIGURE 9.1 Control of temperature by process control.
FIGURE 8.1 Process and controller.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Chapter R: Reference: Basic Algebraic Concepts
Measurements and Their Uncertainty 3.1
= (x + 6) (x + 2) 1. x2 +8x x2 +16x + 48 = (x + 12) (x + 4)
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Objective - To simplify expressions using the order of operations. Simplify each expression below. 1) 6 + 5(8 - 2) 2) 3) 4)
07/30/ ODE, Office for Child Nutrition Completing Commodity Orders.
Chapter 1 Algebra, Mathematical Models, and Problem Solving
Columbus State Community College
Factoring Polynomials
1 The tiling algorithm Learning in feedforward layered networks: the tiling algorithm writed by Marc M é zard and Jean-Pierre Nadal.
Using the TI 83 Plus Calculator
Real Numbers and Complex Numbers
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 12 – Security Panel Application Introducing.
Copyright © 2013, 2009, 2006 Pearson Education, Inc.
Copyright © 2013, 2009, 2006 Pearson Education, Inc.
 Copyright I/O International, 2013 Visit us at: A Feature Within from Item Class User Friendly Maintenance  Copyright.
1 Chapter 8 Acids and Bases 8.4 The pH Scale Copyright © 2009 by Pearson Education, Inc.
Squares and Square Root WALK. Solve each problem REVIEW:
Created by Susan Neal $100 Fractions Addition Fractions Subtraction Fractions Multiplication Fractions Division General $200 $300 $400 $500 $100 $200.
We are learning how to read the 24 hour clock
Ch. 1: Number Relationships
Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1 Section 5.4 Polynomials in Several Variables Copyright © 2013, 2009, 2006 Pearson Education, Inc.
 Copyright I/O International, 2013 Visit us at: A Feature Within from Customer Payment Terms User Friendly Maintenance.
Introduction Exponential equations are equations that have the variable in the exponent. Exponential equations are found in science, finance, sports, and.
Addition 1’s to 20.
25 seconds left…...
The Fundamental Theorem of Algebra
1 Chapter 14 Acids and Bases 14.6 The pH Scale Copyright © 2008 by Pearson Education, Inc. Publishing as Benjamin Cummings.
U1A L1 Examples FACTORING REVIEW EXAMPLES.
Take out the homework from last night then do, Warm up #1
Computing Transformations
Week 1.
Types of selection structures
We will resume in: 25 Minutes.
1 Chapter 3:Operators and Expressions| SCP1103 Programming Technique C | Jumail, FSKSM, UTM, 2006 | Last Updated: July 2006 Slide 1 Operators and Expressions.
Check Digit - Mod 11 Please use speaker notes for additional information!
Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin 0 Chapter 7 Equity Markets and Stock Valuation.
Order of Operations And Real Number Operations
Chapter 8 Improving the User Interface
Benchmark Series Microsoft Excel 2010 Level 1
Lesson 4 Cell Reference Formulas. Working with Cell References continued… Relative Cell Reference A relative cell reference means that the cell value.
Programmable Logic Controllers
Working with Formulas and Functions
Working with Formulas and Functions Lesson 5 Part 1 1.
Extended math functions – Standard
Working with Formulas and Functions
Working with Formulas and Functions
DATA TYPES AND OPERATIONS
Presentation transcript:

Yokogawa Corporation of America ©Copyright 2006 Yokogawa Corporation of America All Rights Reserved DXAdvanced Math Training

Yokogawa Corporation of America All Rights Reserved. Page.1 This discussion will be based on the DXAdvanced Math Functions. Step by step examples of how to setup the TLOG.SUM statement will featured. The main goal for this class is to become familiar with the /M1, math feature, of the DXA. It is expected that all attendees have already programmed or at least understand how to enter the Parameter sections of the DXAdvanced recorder products. Upon completion of this presentation, all attendee's will be able to configure the most common math question. How do I setup a totalizer channel ? What to expect from this training class ?

Yokogawa Corporation of America All Rights Reserved. Page.2 Math Statements may contain the measured data (input channels), computed data (other math channels) Constants (K01-K30), Communication data (C01-C30), or Remote terminal conditions (D01-D08). Each Math channel can accept up to 120 characters. The maximum number that can be displayed is 99,999,999 with NO DECIMAL PLACES selected. If this is exceeded a +***** will be shown and the Math will have to be stopped and reset. The result of the computation can be displayed and stored. Computation is performed based on the scan interval. What can I put into a math channel?

Yokogawa Corporation of America All Rights Reserved. Page.3 DXA - Math Channel Numbers Math channels for DAQStations are assign as 101 and above DX1002 – Channel 101 to 112 (12 channels) DX1004 – Channel 101 to 112 (12 channels) DX1006 – Channel 101 to 124 (24 channels) DX1012 – Channel 101 to 124 (24 channels) DX2004 – Channel 101 to 112 (12 channels) DX2008 – Channel 101 to 112 (12 channels) DX2010 – Channel 101 to 160 (60 channels) DX2020 – Channel 101 to 160 (60 channels) DX2030 – Channel 101 to 160 (60 channels) DX2040 – Channel 101 to 160 (60 channels) DX2048 – Channel 101 to 160 (60 channels)

Yokogawa Corporation of America All Rights Reserved. Page.4 Overview of Math Functions Numbers entered in the Math Statements are treated as channel numbers. To use a number other then a channel number a Constant must be used. These are K01 to K60 in the DXAdvanced. These are set up as follows: K01 = 1, K02 = 45.38, etc. If you enter 001 into a math statement the result will be channel 001 There are four arithmetical operations Addition (+), subtraction (–), multiplication (*), and division (/) SQR Determines the square root. ABS Determines the absolute value. LOG Determines the common logarithm. y = log10x EXP Determines the exponent. y = ex Relational computation Determines,, =, of two elements and outputs 0 or 1. Logical computation Determines the AND (logical product), OR (logical sum), XOR (exclusive logical sum) of two elements, NOT (negation) of an element and outputs 0 or 1. Statistical computation (TLOG) with SUM, MAX, MIN, AVE, and (P–P) values at specified time intervals over the time interval. There are three timers used to set the time interval.

Yokogawa Corporation of America All Rights Reserved. Page.5 Four arithmetical computations Now lets do some math We want to Add, Subtract, Multiply, and Divide channel 001 with channel 002 and show the result in math channel 101. Set channel 101 = Computes the measured value of channel 1 plus the measured value of channel 2 Set channel 101 = Computes the measured value of channel 1 minus the measured value of channel 2 Set channel 101 = 001*K01 Computes the measured value of channel 1 multiplied by constant K01 Set channel 101 = 001/K01 Computes the measured value of channel 1 divided by constant K01

Yokogawa Corporation of America All Rights Reserved. Page.6 Power, SQR, ABS, LOG, EXP Computations Power (**): 001**002 Raises measured value of channel 1 to the power of measured value of channel 2 Square root (SQR): SQR (001) Returns the square root of the measured value of channel 1 Absolute value (ABS): ABS (001) Returns the absolute value of the measured value of channel 1 Logarithm (LOG): LOG (001) Returns the common logarithm of the measured value of channel 1 Exponent (EXP): EXP (001) Raises e to the power of the measured value of channel 1 Note: The natural logarithm is not directly provided, but can be obtained by using the following: logex = log10x/log10e as logbx = logax/logab Therefore, to calculate the natural logarithm of the value of channel 01, set K01 = 1. Then the expression will become: LOG (001)/LOG (EXP(K01))

Yokogawa Corporation of America All Rights Reserved. Page.7 Relational Computation,, =, 001.LT.002 The computed result will be 1 if the measured value of channel 1 is less than the measured value in channel 2, otherwise the value will be GT.002 The computed result will be 1 if the measured value of channel 1 is greater than the measured value in channel 2, otherwise the value will be EQ.002 The computed result will be 1 if the measured value of channel 1 is equal to the measured value in channel 2, otherwise the value will be NE.002 The computed result will be 1 if the measured value of channel 1 is not equal to the measured value in channel 2, otherwise the value will be GE.002 The computed result will be 1 if the measured value of channel 1 is greater than or equal to the measured value in channel 2, otherwise the value will be LE.002 The computed result will be 1 if the measured value of channel 1 is less than or equal to the measured value in channel 2, otherwise the value will be 0.

Yokogawa Corporation of America All Rights Reserved. Page.8 Logical Computation AND, OR, XOR, NOT 001.AND.002 If both 01 and 02 are a non 0 value then the operation results in 1, otherwise in OR.002 If both 01 and 02 are 0 value then the operation results in 1, otherwise in XOR.002 If both 01 and 02 are different values then the operation results in 1, otherwise in 0. NOT001 Reverses the Logic of the value. If 01 is a 1 then the output is 0

Yokogawa Corporation of America All Rights Reserved. Page.9 TLOG Computation (MAX, MIN, AVE, SUM, MAX – MIN) TLOG.MAX (001 ) Computes the maximum value of channel 001 over the time specified by the Timer No. assigned TLOG.MIN (001 ) Computes the minimum value of channel 001 over the time specified by the Timer No. assigned TLOG.AVE (001 ) Computes the average value of channel 001 over the time specified by the Timer No. assigned TLOG.SUM (001 ) Computes the summation of channel 001 over the time specified by the Timer No. assigned TLOG.P-P (001 ) Computes the maximum value – minimum value of channel 001 over the time specified by the Timer No. assigned NOTE: Only measured data and computed data can be used in the TLOG computation.

Yokogawa Corporation of America All Rights Reserved. Page.10 CLOG Computation (MAX, MIN, AVE, SUM, MAX – MIN) CLOG.MAX ( ) Computes the maximum value of channel 001 and 002 over the time specified by the Timer No. assigned CLOG.MIN ( ) Computes the minimum value of channel 001, 002, and 005 over the time specified by the Timer No. assigned CLOG.AVE ( ) Computes the average value of channel 001 through 010 over the time specified by the Timer No. assigned CLOG.SUM ( ) Computes the summation of channel 001 and 002 over the time specified by the Timer No. assigned CLOG.P-P ( ) Computes the maximum value – minimum value of channel 001 through 030 over the time specified by the Timer No. assigned NOTE: Only measured data and computed data can be used in the CLOG computation.

Yokogawa Corporation of America All Rights Reserved. Page.11 DXA Math – what's new? I01~I36 These are the status of the alarm output relays F01~F08 Flag status. Assign in the Event Actions Special Computations PRE() This determines the previous value of the channel in the () HOLD(a):b When a=0, the formula b is carries out. If (a) is not zero then the value of b is held. RESET(a):b When a=0, the formula b is carries out. If (a) is not zero then the value of b is Reset. CARRY(a):b Only TLOG.SUM can be specified for b If the computed value of b is less than (a) the result is the computed value of b. When b is greater than or equal to a the result is b-(a)

Yokogawa Corporation of America All Rights Reserved. Page.12 DXA Math – If Then Else Conditional Expression [a?b:c] [001.GT.K01?002:003] If the measured value of channel 1 is greater than constant K01, the computed result is the measured value of channel 2. Otherwise, the computed result is the measured value of channel 3.

Yokogawa Corporation of America All Rights Reserved. Page.13 DXA Math – /PM1 option /PM1 options – Used only when special pulse input option is present P01~P08 Counts the number of pulses per scan interval Q01~Q08 Counts the number of pulses per second

Yokogawa Corporation of America All Rights Reserved. Page.14 DXA - setting up a TLOG.SUM – Step 1 This is an example of how to setup a TLOG.SUM for the DXAdvanced. Math channel 101 is set as TLOG.SUM(001) In the above example, the sum of input channel #1, which is a BTU per Hour rate is selected. The Span Lower and Upper can be set but is only important if a Trend of this channel on the display is required. The number of decimal points can also be selected. The Maximum number is 99,999,999. Press MENU key Select Math channel Calculation expression Press MENU key Select Math channel Calculation expression

Yokogawa Corporation of America All Rights Reserved. Page.15 DXA - setting up a TLOG.SUM – Step 2 Selection of the Timer No. and Sum Scale is required to complete the TLOG.SUM statement. Math channel 101 will be assigned to Timer No.1. The Sum scale will equal /h based on the rate of input Channel #1 being a BTU/HR rate. The RESET is ON/OFF based on what to do when Timer No. is up. Press MENU key Select Math channel TLOG, Rolling average Press MENU key Select Math channel TLOG, Rolling average

Yokogawa Corporation of America All Rights Reserved. Page.16 DXA - setting up a TLOG.SUM – Step 3 The selections for Mode are Absolute or Relative. Absolute means based on the whole hour. 1h would be from 10:00 to 11:00 exactly. Relative is based on the Start time. If 1h is selected but it is 10:13 then it will be from 10:13 to 11:13 and so on. Press MENU key Select Timer, Event action Timer Press MENU key Select Timer, Event action Timer

Yokogawa Corporation of America All Rights Reserved. Page.17 DXA - TLOG.SUM – Roll over The TLOG.SUM will again totalize up to the 99,999,999 number and go to +******. To eliminate that problem the RESET(a):b feature can be used. The above TLOG.SUM will count up to the value set in K01 then reset back to 0, effectively rolling over Press MENU key Select Math channel Calculation expression Press MENU key Select Math channel Calculation expression

Yokogawa Corporation of America All Rights Reserved. Page.18 DXA - TLOG.SUM – Carry over The TLOG.SUM will again totalize up to the 99,999,999 number and go to +******. To eliminate that problem the CARRY(a):b feature can be used. The above TLOG.SUM will count up to the value set in K01 then reset back to 0, effectively rolling over Press MENU key Select Math channel Calculation expression Press MENU key Select Math channel Calculation expression This is a better choice then the RESET because any value over the Carry value is added after the reset.

Yokogawa Corporation of America All Rights Reserved. Page.19 DXA - setting up a Monthly TLOG.SUM – Step 1 Set channel 102 to F01. This will be used in a later step. Press MENU key Select Math channel Calculation expression Select channel 102 Press MENU key Select Math channel Calculation expression Select channel 102

Yokogawa Corporation of America All Rights Reserved. Page.20 DXA - setting up a Monthly TLOG.SUM – Step 2 Math channel 103 is set as RESET(102.NE.PRE(102)):TLOG.SUM(001) In the above example, the sum of input channel #1, which is a Gallons per Minute rate is selected. The Span Lower and Upper can be set but is only important if a Trend of this channel on the display is required. The number of decimal points can also be selected. The Maximum number is 99,999,999. Press MENU key Select Math channel Calculation expression Channel 103 Press MENU key Select Math channel Calculation expression Channel 103

Yokogawa Corporation of America All Rights Reserved. Page.21 DXA - setting up a Monthly TLOG.SUM – Step 3 Select Month, Day 1, 0:00 for midnight and Repeat. This will cause this Match Timer #1 to change state every midnight on the first day. Press MENU key Select Timer, Event action Match Time Timer Press MENU key Select Timer, Event action Match Time Timer

Yokogawa Corporation of America All Rights Reserved. Page.22 DXA - setting up a Monthly TLOG.SUM – Step 4 This will cause the Match Timer to cycle the F01 flag every month causing the Totalizer to reset. Press MENU key Select Timer, Event action Event Action Press MENU key Select Timer, Event action Event Action

Yokogawa Corporation of America All Rights Reserved. Page.23 DXAdvanced Math THE END