4:21 AM
0

Floating-point instructions affect the following bits in the status word: CC 1 and

CC 0, OV and OS.



The following tables show the signal state of the bits in the status word for the results of instructions with floating-point numbers (32 bits):





Valid Range for the Result
CC 1
CC 0
OV
OS
+0, -0 (zero)
0
0
0
*
-3.402823E+38 < result < -1.175494E-38 (negative number)
0
1
0
*
+1.175494E-38 < result < 3.402824E+38 (positive number)
1
0
0
*



*    The OS bit is not affected by the result of the instruction.





Invalid Range for the Result
CC 1
CC 0
OV
OS
Underflow
-1.175494E-38 < result < - 1.401298E-45 (negative number)
0
0
1
1
Underflow
+1.401298E-45 < result < +1.175494E-38 (positive number)
0
0
1
1
Overflow
Result < -3.402823E+38 (negative number)
0
1
1
1
Overflow
Result > 3.402823E+38 (positive number)
1
0
1
1
Not a valid floating-point number or illegal instruction
(input value outside the valid range)
1
1
1
1


0 comments:

Post a Comment

Labels

Actuator Sensor-interface Address Negative Edge Detection Address Positive Edge Detection ADDRESSING ANALOG INPUTS ANALOG OUTPUTS AND Logic Operation AS-i AS-i configuration Assign Authorizations Automation License Manager BASICS Bit Bit Configuration Bit Logic Instructions Block By-passing CiR CiR Modules CiR Objects communication COMPARISON Components Configuration Configuring Connections Conversion Converting Counter CP 343-2 P CP 443-5 Ext CPU CPU 412-1 CPU 412-2 DP CPU 412-2 PCI CPU 414-2 DP CPU 414-3 DP CPU 414-4 H CPU 416-2 DP CPU 416-2 PCI CPU 416-3 DP CPU 416F-2 CPU 417-4 CPU 417-4 H Data Block DI/DO MODULES Diagnosing Diagnosis DIGITAL INPUTS DIGITAL OUTPUTS Downloading DP master English Mnemonics ET 200M Exclusive OR Logic Operation Extended pulse timer fail-safe modules fault FBD Floating- Point Floating-Point Math FUNCTION MODULES German Mnemonics Hardware hmi Input Insert Binary Input install Instructions Integer Math INTERFACE MODULES Jump License License Keys Load Memory Master Control Relay Memory Areas Memory Reset Midline Output Modifying MODULES monitoring variables Move NEG Negate Binary Input Negative RLO Edge Detection Networks Off-delay timer On-delay timer Operating systems OR Logic Operation Output PID Control PLC POS position decoder Positive RLO Edge Detection PROFIBUS Program Control programm Programming Pulse timer RELAY OUTPUTS Remote Reset Output Reset_Set Flip Flop Retentive on-delay timer Rotate RS S5 File S7 Communications S7-300 S7-400 SAVE Save RLO to BR Memory SCADA Set Output Set_Reset Flip Flop Shift siemens SIMATIC SIMATIC Manager Slaves Software SR STATEMENT Status Bit STEP 7 stop mode Time Base Time Value Timer Timer Cell TRAINING MODULE Units Upgrading UPLOADING WinLC RTX Word Logic Work Memory XOR