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-36
Figure 16.10
3Digit
A
veraging Ladder Diagram
15
041
005
0035
001
G
0032
G
EXECUTE AUX
FUNCTION NUMBER:
DATA ADDR:
RESULT ADDR:
06
0047
0040
FUNCTION
15
033
TON
0033
1.0
PR 003
AC 000
15
034
CTU
0034
PR 005
AC 000
15
033
DN
0034
15
FILE TO WORD MOVE
COUNTER ADDR:
POSITION:
FILE LENGTH:
0034
000
005
FILE A: 0201-0205
FILE A:
0036
15
033
0036
000
G
^
^
^
Changing Data
Always 1
Number
of Samples
0047
000
G
070
00
0041
000
G
070
00
0042
000
G
RES ULT
Indicates that these values need to be reset to zero in between calculations.
THREE DIGIT AVERAGE:
1 1
1
1
1
Entry and Display of Input and Result Values
Here is a description of the ladder diagram. This programming example
averages five values and stops.
Rung 1 Contains a free-running timer (033) that allows a different
value to be summed every 3 seconds. The pre-set of this
timer can be as small as 10 milliseconds.
Rung 2 Increments counter 034 every 3 seconds to externally index
the File-to-Word Move in rung 3 that moves each value into
the average instruction. The preset of the counter must equal
the length or number of samples to average in word 0032 in
the EAF rung. The accumulated value of the counter must
start at zero.