EasyManua.ls Logo

Allen-Bradley SLC 500 Series

Allen-Bradley SLC 500 Series
694 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1747-RM001G-EN-P - November 2008
Math Instructions 4-27
Rung 2:0 uses standard math instructions to implement Pythagoreans
theorem. Rung 2:1 uses the CPT instruction to obtain the same calculation.
| Rung 2:0 +XPY–––––––––––––––+ |
|–––––––––––––––––––––––––––––––––––––––––––––––––––––+–+X TO POWER OF Y +–+–|
| | |Source A N7:1| | |
| | | 3| | |
| | |Source B 2| | |
| | | | | |
| | |Dest N7:3| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
| | +XPY–––––––––––––––+ | |
| +–+X TO POWER OF Y +–+ |
| | |Source A N7:2| | |
| | | 4| | |
| | |Source B 2| | |
| | | | | |
| | |Dest N7:4| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
| | +ADD–––––––––––––––+ | |
| +–+ADD +–+ |
| | |Source A N7:3| | |
| | | 0| | |
| | |Source B N7:4| | |
| | | 0| | |
| | |Dest N7:5| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
| | +SQR–––––––––––––––+ | |
| +–+SQUARE ROOT +–+ |
| |Source N7:5| |
| | 0| |
| |Dest N7:0| |
| | 0| |
| +––––––––––––––––––+ |
| Rung 2:1 +CPT––––––––––––––––––––––––+ |
|––––––––––––––––––––––––––––––––––––––––––––––––+COMPUTE +–|
| |Dest N10:0| |
| | 0| |
| |Expression | |
| |SQR ((N7:1 ** 2) + (N7:2 **| |
| |2)) | |
| +–––––––––––––––––––––––––––+ |
| Rung 2:2 |
|–––––––––––––––––––––––––––––––––––––+END+––––––––––––––––––––––––––––––––––––|
| |

Table of Contents

Other manuals for Allen-Bradley SLC 500 Series

Related product manuals