Math tool – Rockwell Automation 5370-CVIM2 Module User Manual

Page 348

Advertising
background image

Chapter 7

Inspection Tools

7–110

The math tool enables the CVIM2 system to perform mathematical and/or
logical operations, using formulas that you specify, on results data from any
of the inspection or reference tools in the same toolset as the math tool
(cameras must be combined in a single toolset to share results). Your
inspection application can use results data from these operations instead of,
or in addition to, results data from individual tools, according to your specific
requirements.

This chapter provides detailed information about the math tool, the functions
that it can perform in an inspection application, and its configuration. The
functions and formula selections are defined on the pages listed in Table 7.6.

Table 7.6 Math Tool Functions: Page Locations

Function

Formula Selection

Page No.

Trigonometry

Sine

Arc sine

Cosine

Arc cosine

Tangent

Arc tangent

Arc tangent 2

Degrees

Radians

7–120
7–121
7–121
7–121
7–121
7–122
7–122
7–123
7–123

Logic

And

Not

Or

Xor

Test

Range

7–124
7–125
7–126
7–126
7–127
7–127

Bit–logic

Bit and

Bit not

Bit or

Bit xor

7–128
7–128
7–129
7–129

Statistics

Average

Maximum

Minimum

Median

Mode

Standard deviation

Variance

7–130
7–131
7–131
7–131
7–131
7–131
7–131

Miscellaneous

Absolute

Distance

Modulo

Square

Square root

Sum

Integer

Fraction

X scale
Y scale

7–133
7–133
7–133
7–133
7–134
7–134
7–134
7–134
7–134
7–134

Math Tool

Advertising