ALLEN-BRADLEYBulletin 5370 Color CVIM ModuleMATH-PAK Option(Catalog No. 5370–CMPK)User’s Manual
Chapter 2Introduction to the MATH-PAK Option2–2Example formulas: This simple formula scales a window’s results by aconstant multiplier (using the mul
Chapter 2Introduction to the MATH-PAK Option2–3When the MATH-PAK option is installed, the results information for eachinspection is also available for
Chapter 2Introduction to the MATH-PAK Option2–4Depending on your requirements, you can configure the Color CVIM moduleso that it range-checks formula
Chapter 2Introduction to the MATH-PAK Option2–5Copy and Paste FunctionsYou can copy the definition of one formula to another using the Copy andPaste
A–B3Chapter3–1InstallationContentsChapter Objectives 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing the
Chapter 3Installation3–2Figure 3.1 Inserting the MATH-PAK installation cardMATH-PAK installationcardColor CVIMmoduleArchiveMemory slotCard LabelMetal
A–B4Chapter4–1Defining FormulasContentsChapter Objectives 4–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Formula D
Chapter 4Defining Formulas4–2The first step in defining a formula is to select, by number (from 1–56), theformula you want to define. The current for
Chapter 4Defining Formulas4–3To avoid losing the use of particular window or gage outputs or results,when defining formulas, select formula numbers wh
Chapter 4Defining Formulas4–4To use the Jump box to select the formula number:• Pick Misc → Config. Results to access the Config. Results menu.• Pick
ALLEN-BRADLEYSolid state equipment has operational characteristics differing from those ofelectromechanical equipment. “Application Considerations for
Chapter 4Defining Formulas4–5Accessing the Formula Entry KeyboardIn order to define a formula you have selected, access the formula entrykeyboard by s
Chapter 4Defining Formulas4–6Figure 4.4 Switching between the two key sets of the formula entry keyboardPicking the up or downarrow key switchesbetwe
Chapter 4Defining Formulas4–7Using the Formula Entry KeyboardTo define a formula, you would generally follow the steps listed below:• Pick Set Formula
Chapter 4Defining Formulas4–8Results Display: When you pick the Ret key, and the formula is saved,the current result of the formula is listed in the k
Chapter 4Defining Formulas4–9Example Formula EntryTo enter this formula: AVG (GAGE1,GAGE2) * 0.250• Select an undefined formula (see “Selecting a Fo
Chapter 4Defining Formulas4–10Edit / Control KeysYou can edit the contents of a formula, using the edit/control keys, which arelisted and described in
Chapter 4Defining Formulas4–11After editing a formula, pick either Ret or Esc:Ret Pick the Ret key to save the formula as edited.Esc Pick the Esc ke
Chapter 4Defining Formulas4–12OperandsWith respect to MATH-PAK formulas, an operand is a symbol (such asGAGE1 or WINDOW3.2 or 32.45) that represents a
Chapter 4Defining Formulas4–13Using a sub-code: The operands can be defined so as to provide any of anumber of different types of results data. You
Chapter 4Defining Formulas4–14Table 4.C (part 1 of 3)Operand DefinitionsKeyOperandType*Operand Symbol *Sub-code (s) Type of Data Returned to FormulaCN
A–BColor CVIM MATH-PAKUser’s ManualTable of ContentsiChapter 1Chapter Objectives 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4Defining Formulas4–15Table 4.C (part 2 of 3)Operand DefinitionsKeyOperandType*Operand Symbol *Sub-code (s) Type of Data Returned to FormulaRL
Chapter 4Defining Formulas4–16Table 4.C (part 3 of 3)Operand DefinitionsKeyOperandType*Operand Symbol *Sub-code (s) Type of Data Returned to FormulaRE
Chapter 4Defining Formulas4–17OperatorsWith respect to MATH-PAK formulas, an operator is a symbol (such as “+”or “–”) or term (such as “AND” or “AV G
Chapter 4Defining Formulas4–18Table 4.D (part 1 of 2)Operator DefinitionsKey / SymbolOperator Type*ResultTypeOperator UsageFormatOperator FunctionMath
Chapter 4Defining Formulas4–19Table 4.D (part 2 of 2)Operator DefinitionsKey / SymbolOperator Type*ResultTypeOperator UsageFormatOperator FunctionStat
Chapter 4Defining Formulas4–20Operator Execution HierarchyThe order and priority of execution of the operations defined in a formula,where multiple op
Chapter 4Defining Formulas4–21Operator UsageThe MATH-PAK operators generally fall into one of four categories –mathematical, statistical, logical, and
Chapter 4Defining Formulas4–22Subtraction example: The following formula uses the subtraction operator tofind the difference between two gage measurem
Chapter 4Defining Formulas4–23Modulo operator: %Format/Usage: The modulo operator (%) performs the “long division”operation on one operand by a seco
Chapter 4Defining Formulas4–24Absolute value operator: ABSFormat/Usage: The absolute value operator (ABS) provides the absolutevalue of the operand
Color CVIM MATH-PAKUser’s ManualTable of ContentsiiChapter 4 (continued)Creating a Shift Register 4–36. . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4Defining Formulas4–25operator/operand expressions, and 4) operator/operand portions of theformula – that is, operators of the type that are f
Chapter 4Defining Formulas4–26Trigonometric operators: SIN COS TANSIN – Calculates the sine value of the listed operand. Assumes the operand to
Chapter 4Defining Formulas4–27Results: Inverse trigonometric function results imply an angle or angularmeasurement. The result of an arcsine or arcta
Chapter 4Defining Formulas4–28Here is how the example formula works: First, the formula calculates thearctangent value of the ratio GAGE2 / GAGE2.3,
Chapter 4Defining Formulas4–29When the value of GAGE2.3 is positive, the conditional expression(GAGE2.3 < 0) equals 0, so that 0 is added to the ar
Chapter 4Defining Formulas4–30operator/operand expressions, and 4) operator/operand portions of theformula – that is, operators of the type that are f
Chapter 4Defining Formulas4–31Median operator: MEDThe maximum operator returns the median value among the operands and/orexpressions listed in pare
Chapter 4Defining Formulas4–32For example, from the list (1, 2, 2, 3, 3), the value 2 and the value 3 bothappear twice. In this case, the value 2 is
Chapter 4Defining Formulas4–33Example usage: The formula below finds the variance of the results from 6gages:VAR(GAGE1,GAGE2,GAGE3,GAGE4,GAGE5,GAGE6)
Chapter 4Defining Formulas4–34yields a 1 result if both gages pass, and a 0 (zero) result if either or bothgages fail.(GAGE1.2 AND GAGE2.2)OR operator
Color CVIM MATH-PAKUser’s ManualTable of Contentsiii Tables (continued)A.6 Configuration blocks 46–77 – for formulas 9–16, 25–32, 41–56(gages 1–32) –
Chapter 4Defining Formulas4–35Conditional OperatorsA conditional operator compares two operands, and returns a true (1) or false(0) value for the indi
Chapter 4Defining Formulas4–36For each inspection, if any tool fails, the value RSLT1 =0. Therefore thevalue NOT RSLT1 =1. Thus, for any inspection
Chapter 4Defining Formulas4–37current value of formula 4, then formula 4 is set to the current value ofwindow 3. The result of this shifting of windo
Chapter 4Defining Formulas4–38• Enter the desired formula name, by picking the appropriate keys on thekeyboard (see Chapter 5 in the Color CVIM User’s
Chapter 4Defining Formulas4–39• Pick the Formula #: Disabled box again to confirm. The box toggles toEnabled, and the Range/Outputs box for the formu
Chapter 4Defining Formulas4–40To use the Copy and Paste features, follow this general procedure: • Select the source formula – Pick the Next or Previo
Chapter 4Defining Formulas4–41Formula name copied: The formula name is copied as well as the formulacontents. When you copy a formula, you may want t
Chapter 4Defining Formulas4–42The two sets of range limits have this relationship:LF <= LW <= REFERENCE <= UW <= UF, where:LF = Low FAULT
Chapter 4Defining Formulas4–43output line, and assign both the High and Low FAULT RANGE limits toanother Results output line.Formulas prevent the use
Chapter 4Defining Formulas4–44 2. Enter the desired value (positive or negative) for the FAULT RANGEHigh limit. 3. Repeat steps 1. and 2. for the Lo
Color CVIM MATH-PAKUser’s ManualTable of Contentsiv Figures (continued)4.25 Selecting output lines for range limits 4–47. . . . . . . . . . . . . . .
Chapter 4Defining Formulas4–45Using the learn mode statistics: You can run a series of trial inspections,using a representative sample of workpieces,
Chapter 4Defining Formulas4–46• The REFERENCE (ideal or nominal) value is 1.• WARNING RANGE – Low 0. High 2.• FAULT RANGE – Low 0. High 2.With the
Chapter 4Defining Formulas4–47Figure 4.25 Selecting output lines for range limitsUSAGEmenuEnabling Results and Range Limits for Corresponding ToolsAn
Chapter 4Defining Formulas4–48Pass status for tools whose results are disabled by a correspondingwindow: Any formula you select and enable will disab
A–B5Chapter5–1Analysis Functions and Runtime DisplaysContentsChapter Objectives 5–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 5Analysis Functions and Runtime Displays5–2With MATH-PAK installed, the Color CVIM module allows you to selectwhether you will include or excl
Chapter 5Analysis Functions and Runtime Displays5–3The Color CVIM module’s runtime displays allow you to observe updatedinspection results during run
Chapter 5Analysis Functions and Runtime Displays5–4Runtime Tools DisplaysWith MATH-PAK installed, the tools displays, All Tools and Failed Tools,will
Chapter 5Analysis Functions and Runtime Displays5–5To display the formula result on the I/O Page during run mode:• Pick Display → I/O Page to access t
Chapter 5Analysis Functions and Runtime Displays5–6• Pick the Disp. Formulas box (or Disp. Windows or Disp. Gages box,as appropriate); when you do, t
A–B1Chapter1–1 Using This ManualContentsChapter Objectives 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Manual C
Chapter 5Analysis Functions and Runtime Displays5–7For example, assume no light probe results are displayed (that is, Disp.Probe: set to Disabled). If
A–BAAppendixA–1Color CVIM Communications with MATH-PAK InstalledThis appendix discusses and lists the configuration, result, and discrete bitoutput in
Appendix AColor CVIM Communications with MATH-PAK InstalledA–2The Color CVIM communications manual lists and describes all of theaccessible results bl
Appendix AColor CVIM Communications with MATH-PAK InstalledA–3Table A.2Results Block 1 – Formula/Tool ResultsWord #PIBackplaneRS–232andRemoteI/OBit #E
Appendix AColor CVIM Communications with MATH-PAK InstalledA–4Table A.3 (part 1 of 2)Results Block 2 – Formula/Tool ResultsWord #PIBackplaneRS–232andR
Appendix AColor CVIM Communications with MATH-PAK InstalledA–5Table A.3 (part 2 of 2)Results Block 2 – Formula/Tool ResultsWord #PIBackplaneRS–232andR
Appendix AColor CVIM Communications with MATH-PAK InstalledA–6Table A.4 Results Block 3 – Formula/Tool ResultsWord #PIBackplaneRS–232andRemoteI/OBit #
Appendix AColor CVIM Communications with MATH-PAK InstalledA–7Table A.5 Configurations block numbering for formulas 1–56 (and corresponding tools)Form
Appendix AColor CVIM Communications with MATH-PAK InstalledA–8Table A.6 Configuration blocks 46–77 – for formulas 9–16, 25–32, 41–56 (gages 1–32) – f
Appendix AColor CVIM Communications with MATH-PAK InstalledA–9Table A.7 Configuration blocks (even numbered, 110–156) for formulas 1–8, 17–24, 33–40(
Chapter 1Using This Manual1–2• If you plan to use Color CVIM communications, refer also to the ColorCVIM Communications Manual, Cat. No. 5370–ND0010 (
Appendix AColor CVIM Communications with MATH-PAK InstalledA–10Table A.8 (part 1 of 6)Discrete Input Bits for formulas and corresponding toolsPI Backp
Appendix AColor CVIM Communications with MATH-PAK InstalledA–11Table A.8 (part 2 of 6)Discrete Input Bits for formulas and corresponding toolsPI Backp
Appendix AColor CVIM Communications with MATH-PAK InstalledA–12Table A.8 (part 3 of 6)Discrete Input Bits for formulas and corresponding toolsPI Backp
Appendix AColor CVIM Communications with MATH-PAK InstalledA–13Table A.8 (part 4 of 6)Discrete Input Bits for formulas and corresponding toolsPI Backp
Appendix AColor CVIM Communications with MATH-PAK InstalledA–14Table A.8 (part 5 of 6)Discrete Input Bits for formulas and corresponding toolsPI Backp
Appendix AColor CVIM Communications with MATH-PAK InstalledA–15Table A.8 (part 6 of 6)Discrete Input Bits for formulas and corresponding toolsPI Backp
IndexIndex – 1AAbsolute value operator, 4–24Analysis function, 5–1, 5–2AND operator, 4–33Arccosine operator, 4–26Arcsine operator, 4–26Arctangent oper
IndexIndex – 2II/O page display, 5–4Installing the MATH–PAK option, 3–1Required firmware, 3–1IntegerConstant operand, 4–16Formula results, A–2Intended
IndexIndex – 3R (cont.’d)Rejects, flagging consecutive (formula example),4–35Related publications, 1–2RestrictionsConstant values, 4–16Naming, 4–38Re
1993 Allen-Bradley CompanyALLEN-BRADLEYWith offices in major cities worldwide.WORLD HEADQUARTERSAllen-Bradley1201 South Second StreetMilwaukee, WI 53
A–B2Chapter2–1Introduction to the MATH–PAK OptionContentsChapter Objectives 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Comentarios a estos manuales