Siemens NAN 67 Series Manual de servicio Pagina 158

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 318
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 157
12-2
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
12.1 Overview
You can use the floating-point math instructions to perform the following
math instructions using two 32-bit IEEE floating-point numbers:
S Add
S Subtract
S Multiply
S Divide
The IEEE 32-bit floating-point numbers belong to the data type called
REAL. For information on the format of floating-point (real) numbers, see
Appendix C.
Using floating-point math, you can carry out the following operations with
one 32-bit IEEE floating-point number:
S Establish the square (SQR) and the square root (SQRT) of a floating-point
number
S Establish the natural logarithm (LN) of a floating-point number
S Establish the exponential value (EXP) of a floating-point number to base
e (= 2.71828...)
S Establish the following trigonometrical functions of an angle represented
as a 32-bit IEEE floating-point number:
Establish the sine of a floating-point number (SIN) and establish the
arc sine of a floating-point number (ASIN)
Establish the cosine of a floating-point number (COS) and establish
the arc cosine of a floating-point number (ACOS)
Establish the tangent of a floating-point number (TAN) and establish
the arc tangent of a floating-point number (ATAN)
Floating-Point Math Instructions
Vista de pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 317 318

Comentarios a estos manuales

Sin comentarios