6F3B0250
Basic Hardware and Function
131
7. Instructions
Functions
FUN
Name
Expression
Function
Steps Speed Available Page
No.
(
m
s)
T1 T1S
056 Moving average
-
[
A MAVE (n) B
®
C ]
-
Calculates the average value
of latest
n scan values of A,
and stores the result in
C.
5
Ö
177
061 Digital filter
-
[
A DFL B
®
C ]
-
Filters the value of
A by filter
constant specified by
B, and
stores the result in
C.
4
Ö
178
156 Pre-derivative
real PID
-
[
A PID3 B
®
C ]
-
Performs PID control. (pre-
derivative real PID algorithm)
Process value (PV):
A
Set value (SV):
A+1
PID parameters:
B and after
Manipulation value (MV):
C
4
85.0 -
428.0
Ö
Ö
237
160 Upper limit
-
[
A UL B
®
C ]
-
Upper limits the value of
A by
B, and stores the result in C.
4
Ö
242
161 Lower limit
-
[
A LL B
®
C ]
-
Lower limits the value of
A by
B, and stores the result in C.
4
Ö
243
162 Maximum value
-
[
A MAX (n) B ]
-
Finds the maximum value of
n
registers data starting with
A,
and stores the value in
C and
the pointer in
C+1.
4
Ö
244
163 Minimum value
-
[
A MIN (n) B ]
-
Finds the minimum value of
n
registers data starting with
A,
and stores the value in
C and
the pointer in
C+1.
4
Ö
245
164 Average value
-
[
A AVE (n) B ]
-
Calculates the average value
of
n registers data starting
with
A, and stores the result in
C.
4
Ö
246
165 Function
generator
-
[
A FG (n) B
®
C ]
-
Finds f(x) for given x=
A, and
stores it in
C. The function f(x)
is defined by parameters
stored in a table 2
´
n registers
starting with
B.
5
77.7 -
142.1
Ö
Ö
247
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: [email protected]