App-6
IM DL850E-01EN
Appendix
Integration (INTG, IINTG)
The first and second order integrated values are derived using the trapezoidal rule.
• Equations 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
I
+ I
2
)h
Point
x
n
I
n
= I
n-1
+ (f
n-1
+ f
n
)h
1
2
1
2
1
2
1
2
1
2
• Equations 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
+ (I
n-1
+ I
n
)h
1
2
1
2
1
2
1
2
1
2
Binary Conversion (BIN)
Binary conversion is performed through the use of the specified threshold levels.
BIN(C1)
1
0
Upper threshold level
Lower threshold level