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

Programming Technique
Chapter 25
25-8
Figure 25.7
Recording
T
emperature V
alues Every 5 Seconds
200
100
X
202
000
G
201
009
G
X
203
900
203
900
:
205
180.000
G
204
005
G
206
:
205
180
212
G
207
032
G
210
+
030
15
TON
1.0
030
PR 005
AC 000
030
15
JSR
02
LBL
06
RET
SUBROUTINE AREA
Here is an explanation of each rung:
Rung 1: When rung 1 is true, the timer (this is an example of a free
running timer) starts.
Rung 2: The JSR instruction jumps to the subroutine area label
instruction when the timer’s accumulated value reaches
5 seconds.
Rungs 3-5: Converts Celsius temperature to Fahrenheit temperature
exactly as in application one.
Rung 6: The Return instruction signals the processor to return to
the main program area.
ATTENTION: You should make allowances for conditions
which could be created by the use of the Jump To Subroutine
instruction. The processor does not scan the subroutine
program unless initiated by a Jump To Subroutine in the main
program. Timers and counters within these rungs cease to
function. You should reprogram critical rungs in the main
program area.