Emerson E2 Einstein User Manual

Flexible combiner programming
Hide thumbs Also See for E2 Einstein:

Advertisement

026-1620 Rev 3 06-JAN-2011
E2 User's Manual Supplement: Flexible Combiner
Programming

Advertisement

Table of Contents
loading

Summary of Contents for Emerson E2 Einstein

  • Page 1 026-1620 Rev 3 06-JAN-2011 E2 User’s Manual Supplement: Flexible Combiner Programming...
  • Page 3 Retail Solutions 3240 Town Point Dr., Suite #100 Kennesaw, GA 30144 Phone 770-425-2724 Fax 770-425-9319 ALL RIGHTS RESERVED The information contained in this manual has been carefully checked and is believed to be accurate. However, Computer Process Controls, Inc. assumes no responsibility for any inaccuracies that may be contained herein.
  • Page 5: Table Of Contents

    Table of Contents 1 FLEXIBLE COMBINER ............................1-1 1.1 O ................................. 1-1 VERVIEW 1.2 H ................................. 1-1 ORKS 1.2.1 Example................................1-1 1.3 I ..........................1-2 NPUT AND UTPUT SSIGNMENT 1.3.1 Programming the Inputs and Outputs........................ 1-2 1.3.1.1 Adding a Flexible Combiner Application........................ 1-2 1.3.1.2 Flexible Combiner General Setup..........................
  • Page 7: Flexible Combiner

    Flexible Combiner Overview characters in length) that the E2 “parses,” or decodes, to determine the output’s value. The Flexible Combiner application, a new feature of Equations must be entered by the user and require E2 versions 2.20 and above, is a highly advanced and ver- some basic knowledge of the E2’s scripting language, satile I/O control program used to combine multiple ana- which is further explained in this section of the manual.
  • Page 8: Input And Output Assignment

    Input and Output When the E2 asks “Do you wish to edit the new  applications now?” press . The E2 will take you Assignment to the first setup screen of the application you added (or, if you added multiple applications, it The first step in setting up a Flexible Combiner is con- will take you to the first application you added).
  • Page 9: Inputs

    whether each digital output will be a simple ON/OFF digi- here. Refer to the E2 User’s Manual (P/N 026-1610) for tal output or a one-shot pulse output. Choose the desired more details. output type here. Once all inputs are defined, make a note of the names of each input you defined (AI1-AI8 and DI1-DI8).
  • Page 10: Equations

    Equations 1.4.2 Output Equations The value of each output in a Flexible Combiner appli- cation is determined by its own equation, which usually takes the values of one or more inputs and performs a mathematical operation or function on them to yield a sin- gle numerical value or digital state.
  • Page 11: Delay Equations

    analog value representing number of seconds. Desired Equation If you have digital outputs and would like to use ON Function and OFF delays, enter constants or equations in these fields. See Section 2, Building Equations, for a more Turn on an DO2: detailed explanation of equation components and func- exhaust fan at...
  • Page 12: Engineering Units

    Engineering Units determined by the value of the Pulse Width equations. When a one-shot output is called to be ON, the Flex Com- biner will run this equation and use the resulting value as the number of seconds the output will pulse ON. Like delay equations, pulse width equations most com- monly will only be constant values, since there is usually little need for variance in one-shot pulse width.
  • Page 13: Description Properties

    Description Properties Alarms Figure 1-9 - Flexible Combiner Description Properties Figure 1-10 - Flexible Combiner Alarm Setup The Description Properties screen will show the The alarm output and delay equations control the trig- descriptions of the associated inputs and outputs entered ger of the alarm and how long to delay before setting an by the user.
  • Page 15: Building Equations

    Building Equations Equations are made up of different combinations of of AI1, the equation “AI1+10” would be incorrect because four major elements: inputs, defined in the Flexible Com- this would add 10 to the value of AI in Celsius, since E2’s biner application, constants such as numerical values used SI unit for temperature is Celsius.
  • Page 16: Constants

    Input Type Choices SI Unit Electrical amperes (A) amperes (A) Numeric Current milliamperes (MA) Constant Examples Description Types Power Rate watts (W) watts (W) kilowatts (KW) Integers 7, -30 Whole numbers. A minus sign in front will make it Power Con- watt-hours (WH) watt-hours negative.
  • Page 17: Specifying A Constant's Engineering Unit With Type Suffixes

    unitless numbers. In other words, a “3.0” in an equation by Suffix Unit Suffix Unit itself is not assumed to be 3.0 degrees or kilowatts. How- meters per min- differential in ever, when used with a function or operator that involves pascals inputs of a specific type, the result of the operation or meters per sec-...
  • Page 18 ute/seconds by entering “00” for the hour (example: “00:30:00” for 30 minutes). • As a time of day in HH:MMx, where x is “a” if the time is a.m. or “p” if the time is p.m. This is con- verted to a number of seconds after midnight. Example: 04:00a is converted to 14400 seconds.
  • Page 19: Operators

    Operators are plus (+) and minus (-) signs. An operator is typically placed between two inputs and/or constants in an equation and yield a single value. Table 2-8 lists the operators avail- Operators are symbols in equations that perform cer- able in Flexible Combiner.
  • Page 20: Functions

    Functions left to right. All logical operators (!, NOT, &&, ||) from left to Equations for most applications can be built using right. nothing but inputs, constants, and operators. However, in If you cannot arrange an equation’s operators in a way some cases it is not always practical or easy to use nothing that parses them in the order you need (or if you simply but these components (and in some cases, the equation...
  • Page 21: Extended Math Functions

    2.4.1 Extended Math Functions Function Description Examples MOD(number, divisor) Divides the number by the divisor, and returns the MOD(16,5) result: 1 modulo (or the “remainder”) of the division operation. MOD(16.7,5) result: 1.7 In the example MOD(16,5), the modulo is 1 because 5 MOD(4,2) result: 0 goes into 16 three times with a remainder of 1.
  • Page 22 Function Description Examples Returns the median of all values in parenthesis. Range MEDIAN(3,7,8,14) result: 7.5 MEDIAN(range) can be a set of constants or input variable separated by MEDIAN(AI1,AI4) commas, or a range of inputs designated by a colon MEDIAN(AI1:AI7) between the two ends of the range (e.g. AI1:AI7). SUMSQ(range) Returns the sum-square of all values in parenthesis.
  • Page 23: Extended Logical Functions

    2.4.2 Extended Logical Functions Function Description Examples CUTINOUT(test, low, high, Returns a 1.0 or a 0.0 based on the following: CUTINOUT(-4,5,12,DO1) result: 0.0 between) If test is below low, the result is 0.0 (low) If test is above high, the result is 1.0 CUTINOUT(14,5,12,DO1) result: 1.0 If test is between the value of low and high, the result (high)
  • Page 24: Logarithm Functions

    2.4.3 Logarithm Functions Function Description Examples SQRT(value) Returns the square root of value. Value must not be SQRT(4) result: 2 negative, or else a Bad Result error will occur. SQRT(77) result: 8.77 SQRT(-4) result: ERROR SQRT(ABS(-4)) result: 2 POWER(value,power) Returns value to the power of power. This is the same POWER(2,3) result: 8 as the “^”...
  • Page 25: Analog Change Detection

    Function Description Examples Same as the TAN function, except value is assumed to TANR(PI) result: 0 TANR(value) be radians. TANR(1) result: 1.56 ASINR(value) Same as the ASIN function, except value is assumed ASINR(PI) result: ERROR to be radians. Value must be constrained to between -1 ASINR(1) result: 1.57 and 1, otherwise a Bad Result math error will occur.
  • Page 26: Extended Digital Functions

    2.4.7 Extended Digital Functions Function Description Examples BOTHEDGE(input) Returns 1.0 when the digital input, digital output, or BOTHEDGE(DI3) alarm output has transitioned either from OFF to ON or ON to OFF. When used as an equation for a one- shot output, the result will be an ON (1.0) pulse for an amount of time determined by the PW equation (see Section 1.4.4, Pulse Width Equations).
  • Page 27 Function Description Examples Returns a 1.0 if the year has changed since the last NEWYEAR() result: ON transition once NEWYEAR() time the algorithm has been run. Otherwise, it returns per year a 0.0. The result is a short ON transition once per year NEWYEAR result: ERROR (no paren- at 12 midnight on January 1st.
  • Page 28: If Functions

    Function Description Examples Returns a number from 1-365 based on the current day DAYOFYEAR() on 01/07/2005 result: 7 DAYOFYEAR() of the year, from Jan 1 (1) to Dec 31 (365 or 366 if a DAYOFYEAR() on 07/04/2005 result: leap year). Returns a decimal from 0.0 to 1.0 equal to the current YEARFRAC() on 01/07/2005 result: YEARFRAC()
  • Page 29: Testing And Troubleshooting Equations

    This shouldn’t happen unless there is a major problem with E2 equation. memory, either due to a software issue or other type of system failure. Contact Emerson Retail Solutions technical support if you receive this error message. Table 3-1 - Equation Errors •...
  • Page 30: Equation Troubleshooting Tips

    Message Description Resolution Mismatch() Mismatched parenthesis Verify that each open parenthesis “(“ has a corresponding close parenthesis. Example: ((AI3+7)*2 should be ((AI3+7)*2). Missing() A function that requires arguments in parenthesis Verify if a function needs parenthesis that they are present and does not have parenthesis.
  • Page 31   yields a “Bad Type” error. It still isn’t quite obvious why • Press , then select “ - Override.” the error occurs, so the next step is to reduce it further. Because the “=” operator requires two valid values to compare, the expression AND(DI1||(AND(DI4:DI8)),DI2) if formatted correctly should result in some value that can be compared to...
  • Page 33: Appendix

    Appendix When an alarm output is set up (AL1 - AL4), the text that will appear in the Alarm Log can be configured (Section 1.7, Alarms). A complete list of the available alarm text appears below: • Trip Alarm • Did Not Term. Defrost •...

Table of Contents