Instructions, Basic hardware and function, Functions – Toshiba 6F3B0253 User Manual
Page 115

6F3B0253
Basic Hardware and Function
113
7. Instructions
Functions
FUN
No.
Name
Expression
Function
Steps
Speed
(
µ
s)
Page
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
159
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
160
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
219
160 Upper limit
−
[ A UL B
→
C ]
−
Upper limits the value of A
by B, and stores the result in
C.
4
224
161 Lower limit
−
[ A LL B
→
C ]
−
Lower limits the value of A
by B, and stores the result in
C.
4
225
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
226
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
227
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
228
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
229