Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual
Page 104

Math Instructions
Chapter 10
10Ć16
Figure 10.6
Optional Ladder Diagram for EAF Square Root
Executive Aux
Function
Function Number:
Data Addr:
Result Addr:
05
010
060
Start
060
000
G
061
625
G
062
000
G
063
000
G
050
000
G
051
625
G
052
000
G
053
000
G
Only the six most significant digits are taken for a square root. The result is
displayed in the result address words.
Primary Ladder Diagram
Keystrokes: You enter the instructions for the primary ladder diagram to
execute a square root operation by performing the following steps.
1.
Press -[G]-.
2.
Enter <address>.
3.
Enter <data> if appropriate.
4.
Press -[G]-.
5.
Enter <address>.
6.
Enter <data> if appropriate.
7.
Press -[G]-.
8.
Enter <address>.
9.
Enter <data> if appropriate.
10.
Press -[G]-.
11.
Enter <address>.
12.
Enter <data> if appropriate.
13.
Close the rung. Press [SHIFT][EAF].
14.
Enter 05 (function number).
15.
Enter 010 (data address).
16.
Enter <result address>.
Optional Ladder Diagram
Keystrokes: You enter the instructions for an optional ladder diagram to