EAF
Process Control Instructions
Chapter 16
16-34
These arithmetic functions have applications in various industries. You
can use the average function for averaging thermocouple inputs or other
process variables. You can use standard deviation and averaging for trend
analysis and report generation.
Status Bits
Bits 14-17 of the most significant word of the result word are reserved for
status bits:
This Bit:
Stores this:
14
not used
15
done bit
1 the instruction is done and the result is valid
0 the result is not valid
16
sign bit
1 negative ()
0 positive (+)
17
enable bit
1 instruction started
0 instruction not started
Important:Bit 16 of the most significant word of each operand is reserved
for the sign bit.
See chapter 14 for the word format used when a processor executes
an EAF.
We provide two forms of these instructions (3-digit and 6-digit) for two
types of users, one who will be block transferring 3-digit BCD data to his
processor and one who needs up to 6 significant digits.
The 3-digit function must be enabled once for each value to be averaged.
The 6-digit function is completed by enabling the function once.
ThreeDigit Functions
The 3-digit averaging and standard deviation ladder diagrams are very
similar with the following exceptions:
1.
The averaging function number is 06 and standard deviation is 07.
2.
The EAF rung (rung 4) of the averaging ladder diagram is a branched
rung. The standard deviation ladder diagram is not branched.
Averaging and Standard
Deviation Functions
Difference Between
ThreeDigit and SixDigit
Functions