User Manual Owner's manual
Table Of Contents
- 1772-6.5.8, Mini-PLC-2/02, -2/16, -2/17 Processor, User Manual
- Important User Information
- Summary of Changes
- Table of Contents
- 1 - Using This Manual
- 2 - Fundamentals of a Programmable Controller
- 3 - Hardware Features
- 4 - Installing Your Programmable Controller
- 5 - Starting Your Processor
- 6 - Maintaining and Troubleshooting Your Processor
- 7 - Memory Organization
- 8 - Scan Theory
- 9 - Relay-Like Instructions
- 10 - Program Control Instructions
- 11 - Timers and Counters
- 12 - Data Manipulation and Compare Instructions
- 13 - Three-Digit Math Instructions
- 14 - EAF Math Instructions
- 15 - EAF Log, Trig, and FIFO Instructions
- 16 - EAF Process Control Instructions
- 17 - Jump Instructions and Subroutines
- 18 - Block Transfer
- 19 - Data Transfer Instructions
- 20 - Bit Shift Registers
- 21 - Sequencers
- 22 - Selectable Timer Interrupts
- 23 - Report Generation
- 24 - Program Editing
- 25 - Programming Techniques
- 26 - Program Troubleshooting
- A - Specifications
- B - Processor Comparison Chart
- C - Number Systems
- D - Glossary
- E - Quick Reference
- Index
- Back Cover

EAF
Process Control Instructions
Chapter 16
16-37
Rung 3 This is an unconditional File-to-Word Move instruction
containing the values you want to average. Addresses 201
through 205 are externally indexed by the counter 0034 and
the position starting value must be zero (see rung 2).
Rung 4 This is the averaging EAF rung. The input conditions (second
rung) must be programmed as shown.
Branch 1 The result word done bit 04115 (when set)
stops the averaging calculation after all five
values have been entered and their
average calculated.
The positioning of the Get instructions cannot be altered from
the example program
Branch 2 Bit 03315 is a timer done bit enabling the
calculation. (Timer in rung 1)
Word 0032 is the the number of samples you
want to average.
Word 0035 is the rate (or sum) per scan
which must always be 001. The instruction
will not be completed in one scan but must
be executed once per value to be averaged.
Word 0036 is the result word of the
File-to-Word move. It will contain a different
value each time the instruction is enabled
(every 3 seconds). The 3 Gets must be
included in this rung. The first two can
reside in any storage location; the third GET
must correspond to the WORD ADDR(ess)
from the File-to-Word Move in rung 3.
The DATA ADDR(ess) in the EAF average
instruction (047) is used by the function to
store the position of the word currently
being summed. The result address (040) is
the first of three consecutive words reserved
for the result. The first word is used by the
instruction; the second word contains the
three most significant digits of the result;
and the third word contains the three least
significant digits of the result.
Rung 5 Word 047 points to the next value added to the calculation
(present position). (Optional display rung.)