Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 12

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Replacing the specified string data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
Searching string data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698
Inserting string data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700
Deleting string data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
7.9
Real Number Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
Comparing single-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
Comparing double-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
Outputting a comparison result of single-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709
Outputting a comparison result of double-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
Outputting a band comparison result of single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
Outputting a band comparison result of double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
Adding single-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717
Subtracting single-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721
Adding double-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725
Subtracting double-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
Multiplying single-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733
Dividing single-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 735
Multiplying double-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737
Dividing double-precision real numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
Converting 16-bit signed binary data to single-precision real number. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741
Converting 16-bit unsigned binary data to single-precision real number. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
Converting 32-bit signed binary data to single-precision real number. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745
Converting 32-bit unsigned binary data to single-precision real number. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747
Converting double-precision real number to single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
Converting 16-bit signed binary data to double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
Converting 16-bit unsigned binary data to double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 753
Converting 32-bit signed binary data to double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
Converting 32-bit unsigned binary data to double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757
Converting single-precision real number to double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . 759
Converting string data to single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761
Converting BCD format data to single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765
Inverting the sign of single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767
Inverting the sign of double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 768
Transferring single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 769
Transferring double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770
Calculating the sine of single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
Calculating the cosine of single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773
Calculating the tangent of single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775
Calculating the arc sine of single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777
Calculating the arc cosine of single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 779
Calculating the arc tangent of single-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781
Calculating the sine of double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783
Calculating the cosine of double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 785
Calculating the tangent of double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 787
Calculating the arc sine of double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789
Calculating the arc cosine of double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
Calculating the arc tangent of double-precision real number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
Calculating the sine of BCD data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
Calculating the cosine of BCD data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 797
Calculating the tangent of BCD data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 799
Calculating the arc sine of BCD data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 801
10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents