
App-17
IM 701210-06E
Appendix
App
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
1
2
1
2
1
2
(f
n-1
+ f
n
)h
• 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
I
+ I
2
)h
Point x
n
II
n
= II
n-1
+
1
2
1
2
1
2
1
2
1
2
(I
n-1
+ I
n
)h
Binary Conversion (BIN)
Performs binary conversion with respect to the specified threshold level.
For the procedure in setting the threshold level, see section 10.2, “Binary Computation.”
BIN(C1)
1
0
Upper threshold level
Lower threshold level
Appendix 5 User-Defined Computation