Siemens Simatic S7-300 Service Manual Page 113

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 112
Floating-Point Math Instructions
Statement List (STL) for S7-300 and S7-400 Programming
A5E00706960-01
8-3
8.3 Floating-Point Math Instructions: Basic
8.3.1 +R Add ACCU 1 and ACCU 2 as a Floating-Point Number (32-Bit
IEEE-FP)
Format
+R
Description of instruction
+R
(add 32-bit IEEE floating-point numbers) adds the contents of accumulator 1 to
the contents of accumulator 2 and stores the result in accumulator 1. The contents of
accumulator 1 and accumulator 2 are interpreted as 32-bit IEEE floating-point
numbers. The instruction is executed without regard to, and without affecting, the
RLO. The status bits CC 1, CC 0, OS, and OV are set as a function of the result of
the instruction.
The contents of accumulator 2 remain unchanged for CPUs with two ACCUs.
The contents of accumulator 3 are copied into accumulator 2, and the contents of
accumulator 4 are copied into accumulator 3 for CPUs with four ACCUs. The
contents of accumulator 4 remain unchanged.
Result
The result in ACCU 1 is CC 1 CC 0 OV OS Note
+qNaN 1 1 1 1
+infinite 1 0 1 1 Overflow
+normalized 1 0 0 -
+denormalized 0 0 1 1 Underflow
+zero 0 0 0 -
-zero 0 0 0 -
-denormalized 0 0 1 1 Underflow
-normalized 0 1 0 -
-infinite 0 1 1 1 Overflow
-qNaN 1 1 1 1
Page view 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 271 272

Comments to this Manuals

No comments