156
Cha
p
ter 7
Calculation
,Anal
ysis and Out
p
ut of
Ins
p
ection Result
s
7.2.9 Restrictions on Calculation
Available values on performing a numeric calculation
The values -2147483648 to -2147483647 (=- (2
31
) - (2
31
- 1) can be used for a numeric calculation. But,
the values 0 to 461269364 are available for square calculation.
If the values goes beyond the values above during calculation, or the calculation results became the
values above, then ERR(ERROR) signal is output and the calculation result becomes “0”. But, if the
calculation results are output to the external device via Serial or Ethernet, “e” is output.
Calculation Order
Calculations are performed in priority order as follows:
Higher (,)
@, $, #, &
*, /, T, D
Lower +, -
Notice on Division
The decimal numbers are omitted after calculation. Omission of the numbers is performed in priority
order of four arithmetic operations. Incorporate a division into the last of the calculation as much as
possible.
Example:
Calculation 1: A = B / 2 *100
Calculation 2: A = B * 100/2
If B = 3, A will differ between the calculations above.
Calculation 1:
A = 3 (= B) / 2 * 100 = 1 (the decimal number of 1.5 is omitted.) * 100
A = 100
Calculation 2:
A = 3 (= B) *100/ 2
A = 150
Error signal is output if the value is divided by 0.
If denominator is "0", the calculation result "0" is displayed on the screen and the error signal is output
from the parallel port. If the calculation result is quoted to the Data Monitor, "ER" will be displayed on the
screen. If the calculation result is output to the external device, "e" will be output.
Calculating minus numbers
When incorporating minus numbers into a calculation, put them in parentheses
Example:
Correct: CA02=(-100)*CA01
Wrong: CA02=-100*CA01
If you fail to do so, the following error message will appear.
E0061 Formula error
Содержание Micro-Imagechecker AX40
Страница 9: ...1 Names and Functions of Parts Chapter 1 Chapter 1 Names and Functions of Parts ...
Страница 15: ...7 Installation and Wiring Chapter 2 Chapter 2 Installation and Wiring ...
Страница 25: ...17 Input and Output Interface Ports Chapter 3 Chapter 3 Input and Output Interface Ports ...
Страница 42: ......
Страница 55: ...47 Chapter 5 Procedure for Setting Inspection Conditions Chapter 5 Procedure for Setting Inspection Conditions ...
Страница 70: ......
Страница 94: ...86 Setting Checkers Chapter 6 6 7 Gray Edge 6 7 1 Menu Options ...
Страница 108: ...100 Setting Checkers Chapter 6 6 9 Smart Matching 6 9 1 Menu Options ...
Страница 184: ......
Страница 185: ...177 TOOL Chapter 8 Chapter 8 TOOL ...
Страница 192: ......
Страница 193: ...185 Environment Settings Chapter 9 Chapter 9 Environment Settings ...
Страница 215: ...207 Chapter 10 Parallel Communication Chapter 10 Parallel Communication ...
Страница 225: ...217 Chapter 11 RS232C Communication Chapter 11 RS232C Communication ...
Страница 255: ...247 Chapter 12 Ethernet Communication Chapter 12 Ethernet Communication ...
Страница 261: ...253 Chapter 13 Using a CF Card Chapter 13 Using a CF Card ...
Страница 273: ...265 Chapter 14 Information on AX40 and Help Function Setting Chapter 14 Information on AX40 and Help Function Setting ...
Страница 279: ...271 Chapter 15 Troubleshooting Chapter 15 Troubleshooting ...
Страница 283: ...275 Chapter 16 Specifications and Product Numbers Chapter 16 Specifications and Product Numbers ...
Страница 291: ...283 Chapter 16 Specifications and Product Numbers 16 3 Dimensions AX40 Random Color Camera Product number ANMX8310 ...
Страница 292: ...284 Specifications and Product Numbers Chapter 16 Camera Cable Keypad ...
Страница 293: ...285 Chapter 16 Specifications and Product Numbers Lens ANB846NL ANB845NL ANB847L ANB843L ANM8850 ANM88501 Unit mm ...
Страница 294: ...286 Specifications and Product Numbers Chapter 16 ANM88161 ANM88251 ANB842NL Unit mm ...
Страница 296: ...288 Record of Changes Manual No Date Description of Changes ARCT1F462E March 2009 First Edition ...