6F3B0250

Basic Hardware and Function 131

7. Instructions

Functions

FUN Name Expression Function Steps Speed Available Pa
g
e
No. (ms) T1 T1S
056 Movin
g
avera
g
e-[
A
MAVE (
n
)
B
®
C
]-Calculates the avera
g
e value
of latest
n
scan values of
A
,
and stores the result in
C
.
5Ö177
061 Di
g
ital 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 al
g
orithm)
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 val ue -[
A
MAX (
n
)
B
]-Finds the max imum 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 Avera
g
e value -[
A
AVE (
n
)
B
]-Calculates the avera
g
e value
of
n
registers data starting
with
A
, and stores the result in
C
.
4Ö246
165 Function
g
enerator -[
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: info@ctiautomation.net