Siemens NAN 67 Series Manual de Serviço Página 158

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 318
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 317 318

Comentários a estes Manuais

Sem comentários