15ć6, Sine and cosine – Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual
Page 199
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
0
0
0
0
6
4
8
0
0
0
0
0
2
8
1
1
5
7
2
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
- 20P PowerFlex DC Drive - Frame D Bimetal Thermostat (10 pages)
- 1336S_F_T_E_R F Frame Snubber Resistor Repl. (6 pages)
- 22-COMM PowerFlex 4-Class DSI (Drive Serial Interface) Network Communication Adapter (4 pages)
- 8-545 Plug In Solid State Relay (2 pages)
- 20-HIM-B1 PowerFlex 7-Class HIM Bezel (DPI) (4 pages)
- 100 Contactors with DC Coil (1 page)
- 100 Contactors with DC Coil (2 pages)
- 20P PowerFlex DC Drive - Frame D Switching Power Supply Circuit Board (6 pages)
- 140G-MTFx_MTHx_MTIx_MTKx Trip Unit Installation-140G-M (6 pages)
- 45BRD Analog Laser Sensor (4 pages)
- 20D Multi-Device Interface Option Board for PowerFlex 700S Drives (20 pages)
- 56RF RFID 18 mm Cylindrical Transceiver (2 pages)
- 42KC Miniature Rectangular: 5V DC Version (2 pages)
- 20P PowerFlex DC Drive - Frame A Switching Power Supply Circuit Board (16 pages)
- 21P-MISC-A-TP-2 Transition Tube Kit #C19-6/7 For PowerFlex 755 w/OEM Liquid Cooling Fr 6/7 Drive (2 pages)
- 42BT Background Suppression Sensor (3 pages)
- 42CB High Speed 18mm Cylindrical (4 pages)
- 140EX-JE2_JE3 Molded Case Circuit Breaker (4 pages)
- 140G-K-EAM1A Early Make Aux Contact for Rotary Handle Oper Mech-140G-K (3 pages)
- 140G-K-EAM1A Early Make Aux Contact for Rotary Handle Oper Mech-140G-K (1 page)
- 20-HIM-A6 PowerFlex (Human Interface Module) (74 pages)
- 42CF General Purpose 12mm Cylindrical (4 pages)
- 20D PowerFlex 700S Phase II Drive Frames 1...6 (80 pages)
- 140EX-HE1_HE2 Molded Case Circuit Breaker (4 pages)
- 140EX-HE1_HE2 Molded Case Circuit Breaker (6 pages)
- 20B PowerFlex 700 Custom Firmware - Pump Off (12 pages)
- 20-WIM-N4S DPI Wireless Interface Module (92 pages)
- 140U H-Frame Circuit Breaker Fixed and Adjustable Thermal Trip (7 pages)
- 140U H-Frame Circuit Breaker Fixed and Adjustable Thermal Trip (2 pages)
- 60-2619, 42JS Swivel/Tilt Mounting Bracket (1 page)
- 22A PowerFlex 4/40/400 Flange Mount (4 pages)
- 45MLA Controller Installation Instructions (16 pages)
- 20P PowerFlex DC Drive - Cooling Fan for Frame A Drives Above 73A at 230V 460V AC (6 pages)
- 42JS Series 7000 to 42JS VisiSight Replacement Kit (2 pages)
- 22A PowerFlex 4-Class HIM Bezel (DSI) (4 pages)
- 42CS Stainless Steel Photoelectric Sensors (4 pages)
- 20L-LL PowerFlex 700L Liquid-to-Liquid Heat Exchanger (40 pages)
- 20P PowerFlex DC Drive - Frame B SCR Modules (20 pages)
- 22B PowerFlex 40 Quick Start FRN 5.xx - 6.xx (22 pages)
- 22B PowerFlex 40 Quick Start FRN 5.xx - 6.xx (161 pages)
- 22F PowerFlex 4M Input RFI Filters (2 pages)
- 45LFM Capacitive Label Sensor (4 pages)
- 140G-Rx Installation Instruction-140G-R (2 pages)
- 140G-Rx Installation Instruction-140G-R (29 pages)
- 22C PowerFlex 400 AC Drive Quick Start - FRN 1-4.xx (28 pages)