
235
Se
tt
ing I
n
s
p
e
c
tio
n C
on
d
it
ions
C
h
ap
te
r 4
INDE
X
4.11.3 Operators and Functions
Operators
+
Addition
-
Subtraction
*
Multiplication
/
Division
If denominator becomes "0", the calculation will be terminated and an error signal
(ERROR1) will be output.
(, )
Parenthesis
Up to three parentheses can be used successionally. You cannot use four or
more of them successionally.
Correct: (((A+B)-C+D)+E), Wrong: ((((A+B)-C+D)+E)+F)
Arithmetical Function
MOD (S0, S1)
Remainder when S0 is divided by S1
e.g.) MOD (9,4) = 1
POW (S0, S1)
Value of S0 multiplied by S1.
e.g.) POW (3, 2) = 9
LOG10 (S)
Common logarithm of S
e.g.) LOG10 (100) = 2
SQRT (S)
Square root of S
e.g.) SQRT (144) = 12
ABS (S)
Absolute value of S
e.g.) ABS (-255) = 255
PI( )
Pi (fixed value)
PI ( )= 3.142
INT (S)
Integer portion of S
e.g.) INT (-1.8) = -1
ROUND (S)
Round S to a whole number
e.g.) ROUND (1.485) = 1
FLOOR (S)
Round S down to a whole number
e.g.) FLOOR (1.485) = 1
CEIL (S)
Round S up to a whole number
e.g.) CEIL (-1.3) = -1
Difference among INT, ROUND, FLOOR and CEIL
S
INT (S)
ROUND (S)
FLOOR (S)
CEIL (S)
1.5
1
2
1
2
1.4
1
1
1
2
-1.4
-1
-1
-2
-1
-1.5
-1
-2
-2
-1
Statistical Function
MAX(C,S)
Maximum value from S-number of results of numerical
calculation No.C
Example)
In the case of
CA000=10
CA001=5.8
CA002=3
MAX(0, 3) = 10
MIN(0, 3) = 3
AVE(0, 3) = 6.267
SUM (0, 3) = 18.8
SORT(0, 3, 1, 0)=3
The 0-th (smallest) value
of the ascendingly sorted
results of numerical
calculation No.0 to 2.
MIN(C,S)
Minimum value from S-number of results of numerical
calculation No.C
AVE(C,S)
Average of S-number of results of numerical
calculation No.C
SUM(C,S)
Sum of S-number of results of numerical calculation
No.C
SORT(C,S0,S1,S2)
S2th value when sorting S-number of numerical
calculation No.C in order of S1 condition
(0=descending, 1=ascending).
Summary of Contents for PV-500
Page 1: ......
Page 10: ......
Page 11: ...9 Names and Descriptions Chapter 1 INDEX Chapter 1 Names and Descriptions ...
Page 21: ...19 Installation and Wiring Chapter 2 INDEX Chapter 2 Installation and Wiring ...
Page 37: ...35 Basic Operation Chapter 3 INDEX Chapter 3 Basic Operation ...
Page 55: ...53 Setting Inspection Conditions Chapter 4 INDEX Chapter 4 Setting Inspection Conditions ...
Page 345: ...343 Chapter 7 Changing Configuration INDEX Chapter 7 Changing Configuration TOOL ...
Page 375: ...373 Operation and Data Output through I O Terminals Chapter 8 INDEX ...
Page 390: ......
Page 391: ...389 Control with Communication Port Chapter 9 INDEX Chapter 9 Control with Communication Port ...
Page 430: ......
Page 431: ...429 PVWIN Chapter 10 INDEX Chapter 10 PVWIN ...
Page 493: ......
Page 494: ......