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-12
Entry
and Display of a PID Control Instruction
The following example programs show how to use the PID EAF.
Figure 16.3 and the associated rung description give a detailed explanation
of the basic sections of a PID program. We recommend that you study this
example thoroughly before proceeding to the other example programs.
The three programs that follow were programmed specifically for 1771-IF
and 1771-OF modules.
Figure 16.3 shows how you can enter a ladder diagram in the main
program and execute a PID function.
Figure 16.3
PID
Ladder Diagram for Loops with a Minimum Update T
ime of 200ms
EN
BLOCK XFER READ
DATA ADDR:
MODULE ADDR:
BLOCK LENGTH:
FILE:
0030
110
02
03750376
DN
EN
FILE TO FILE MOVE
COUNTER ADDR:
POSITION:
FILE LENGTH:
0045
001
009
FILE A:
FILE R:
RATE PER SCAN
0300-0310
0311-0321
009
DN
045
15
045
15
RUNG 1
111
07
011
07
TON
0045
.01
EXECUTE AUX
FUNCTION NUMBER:
DATA ADDR:
RESULT ADDR:
27
0300
0350
111
07
0375
480
G
0376
750
G
PR 009
AC 001
FUNCTION
0045
17
0045
15
EN
BLOCK XFER READ
DATA ADDR:
MODULE ADDR:
BLOCK LENGTH:
FILE:
0031
120
01
0350-0350
DN
112
06
012
06
RUNG 2
RUNG 3
RUNG 4
RUNG 5