146
Cha
p
ter 7
Calculation
,Anal
ysis and Out
p
ut of
Ins
p
ection Result
s
Calculation Functions
The following functions are provided with the AX40. Note that the calculation results multiplied by 100 or
1000 are output depending on calculation function and it is required to multiply the calculation results by
100 or 10000 on creating an arithmetic expression.
Calculation
Symbol Input Value
Output Value
Expression
Ad
1-fold
1-fold
A+B
Subtraction
- 1-fold 1-fold A-B
Multiplication *
1-fold
1-fold
A*B
Division /
1-fold
1-fold
A/B
Left parenthesis
(
-
-
A+(B-C)
Right parenthesis
)
-
-
A+(B-C)
Distance
-Calculation the distance
between two points
T
1-fold
In case of Figure 1
CA01 = Xa - Xb
CA02 = Ya - Yb
CA03= CA01 T CA02
Absolute value of
Subtraction
D
-
-
A D B
(Absolute values of A - B)
Sine( SIN)
#
100-fold
10000-fold
# (
θ ∗
100)
Cosine (COS)
&
100-fold
10000-fold
& (
θ
* 100)
Arctangent (ATAN)
@
10000-fold
100-fold
Calculation of Theta in Figure 1
CA01 = X1 - X2
CA02 = Y1 - Y2
CA03 = @(CA02*10000/CA01)
Square Root
$
One-fold
10000-fold
value
Calculation of c in Figure 1
CA01 = X1 - X2
CA02 = Y1 - Y2
CA03 = $(CA01*CA01+CA02*CA02)
Fig. 1
Summary of Contents for Micro-Imagechecker AX40
Page 9: ...1 Names and Functions of Parts Chapter 1 Chapter 1 Names and Functions of Parts ...
Page 15: ...7 Installation and Wiring Chapter 2 Chapter 2 Installation and Wiring ...
Page 25: ...17 Input and Output Interface Ports Chapter 3 Chapter 3 Input and Output Interface Ports ...
Page 42: ......
Page 70: ......
Page 94: ...86 Setting Checkers Chapter 6 6 7 Gray Edge 6 7 1 Menu Options ...
Page 108: ...100 Setting Checkers Chapter 6 6 9 Smart Matching 6 9 1 Menu Options ...
Page 184: ......
Page 185: ...177 TOOL Chapter 8 Chapter 8 TOOL ...
Page 192: ......
Page 193: ...185 Environment Settings Chapter 9 Chapter 9 Environment Settings ...
Page 215: ...207 Chapter 10 Parallel Communication Chapter 10 Parallel Communication ...
Page 225: ...217 Chapter 11 RS232C Communication Chapter 11 RS232C Communication ...
Page 255: ...247 Chapter 12 Ethernet Communication Chapter 12 Ethernet Communication ...
Page 261: ...253 Chapter 13 Using a CF Card Chapter 13 Using a CF Card ...
Page 279: ...271 Chapter 15 Troubleshooting Chapter 15 Troubleshooting ...
Page 292: ...284 Specifications and Product Numbers Chapter 16 Camera Cable Keypad ...
Page 294: ...286 Specifications and Product Numbers Chapter 16 ANM88161 ANM88251 ANB842NL Unit mm ...