App-21
IM 701450-01E
App
Appendix
Integration (INTG, IINTG)
The first and second order integrated values are derived using the trapezoidal rule.
• Equation for First Order Integration (INTG)
Point x
0
I
0
= 0
Point x
1
I
1
= (f
0
+ f
1
)h
Point x
2
I
2
= (f
0
+ f
1
)h + (f
1
+ f
2
)h = I
1
+ (f
1
+ f
2
)
Point x
n
I
n
= I
n-1
+
1
2
1
2
(f
n-1
+ f
n
)h
1
2
1
2
1
2
• Equation for Second Order Integration (IINTG)
Point x
0
II
0
= 0
Point x
1
II
1
= (I
0
+ I
1
)h
Point x
2
II
2
= (I
0
+ I
1
)h + (I
1
+ I
2
)h = II
1
+ (I
1
+ I
2
)h
Point x
n
II
n
= II
n-1
+
1
2
1
2
(I
n-1
+ I
n
)h
1
2
1
2
1
2
Binary Computation (BIN)
Performs binary computation using the specified threshold levels. For the procedure in
setting the threshold level, see section 9.3, “Binary Computation.”
BIN(C1)
1
0
Upper threshold level
Lower threshold level
Appendix 4 User-Defined Computation