EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 264

Siemens SIMATIC S7-1200
1614 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...
Basic instructions
8.5 Math functions
S7-1200 Programmable controller
264 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 8- 66 Data types for parameters
Parameter
Data type
Description
IN, IN1
Real, LReal, Constant
Inputs
IN2 SInt, Int, DInt, USInt, UInt,UDInt, Real, LReal, Constant EXPT exponent input
OUT
Real, LReal
Outputs
Table 8- 67 ENO status
ENO
Instruction
Condition
Result (OUT)
1 All No error Valid result
0 SQR
Result exceeds valid Real/LReal range
+INF
IN is +/- NaN (not a number)
+NaN
SQRT
IN is negative
-NaN
IN is +/- INF (infinity) or +/- NaN
+/- INF or +/- NaN
LN
IN is 0.0, negative, -INF, or -NaN
-NaN
IN is +INF or +NaN
+INF or +NaN
EXP
Result exceeds valid Real/LReal range
+INF
IN is +/- NaN
+/- NaN
SIN, COS, TAN
IN is +/- INF or +/- NaN
+/- INF or +/- NaN
ASIN, ACOS
IN is outside valid range of -1.0 to +1.0
+NaN
IN is +/- NaN
+/- NaN
ATAN
IN is +/- NaN
+/- NaN
FRAC
IN is +/- INF or +/- NaN
+NaN
EXPT
IN1 is +INF and IN2 is not -INF
+INF
IN1 is negative or -INF +NaN if IN2 is Real/LReal,
-INF otherwise
IN1 or IN2 is +/- NaN
+NaN
IN1 is 0.0 and IN2 is Real/LReal (only) +NaN

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals