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 Logarithmic, Trigonometric
and FIFO Instructions
Chapter 15
15-6
Enter the value for the operand. Entry of operand (base 10) = 648
produces the result 2.811572. Figure 15.5 shows how the result is stored in
the data table.
Figure 15.5
EAF
Log to Base 10 Format in the Data Table After Execution
17 16 15 14 10 7 4 3
Data
0
Result
Address
060
061
062
063
10365-I
13
X S 0 O/U
Address
040
041
042
043
X S 0 O/U 0 0
0
0
0
000
0
648
000
002
811
572
Operand
Result
This EAF trigonometric function finds the sine (or cosine) of an angle.
The angle operand (data) is in degrees. Word formats for sine and cosine
are the same. The only difference between the two EAFs is their function
numbers: sine is 35 and cosine is 36. Both functions operate based on
6-digit operands.
sine +/–xxx xxx . xxx xxx = +/–yyy yyy . yyy yyy
Enter an EAF rung like that shown in Figure 15.6
Figure 15.6
EAF
Sine Function, Operand and Result Rung
060
EXECUTE AUX
FUNCTION
FUNCTION NUMBER:
DATA ADDR:
RESULT ADDR:
35
040
060
G
061
G
062
866
G
063
025
G
040
000
G
041
060
G
042
000
G
043
000
G
000 002
Enter the value of the angle in degrees (operand rung). Enter the angle
from the keyboard of your 1770-T3 terminal or through ladder diagram
instructions. Entry of the angle 060 in word 041 produces the result
Sine and Cosine