Restrictions On Calculation - Panasonic MICRO-IMAGECHECKER AX40 User Manual

Hide thumbs Also See for MICRO-IMAGECHECKER AX40:
Table of Contents

Advertisement

7.2.9 Restrictions on Calculation

Available values on performing a numeric calculation
The values -2147483648 to -2147483647 (=- (2
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
156
31
31
) - (2
- 1) can be used for a numeric calculation. But,

Advertisement

Table of Contents
loading

Table of Contents