Rockwell-automation GMLC Reference Manual Manual de usuario Pagina 501

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 958
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 500
Publication GMLC-5.2 - November 1999
464 The Expression Builder
Subtraction -
Use the minus sign (or dash) to subtract two elements. For example, the
following expression evaluates as 7.5 if the most recent registration
position of Axis 0 is 2.5 position units.
Registration_Position_AXIS0 - 10
The minus sign may also be used as a unary minus to negate the value of
an element or expression. When used as a unary minus, the minus sign
and the element or expression must be enclosed in parentheses. For
example, the following expression negates the actual position of Axis 0,
resulting in a value of -55.1 if the current actual position of Axis 0 is 55.1
position units.
(-Actual_Position_AXIS0)
Multiplication *
Use the asterisk to multiply two elements together. For example, the
following expression evaluates as 3.4 if the current position error of Axis
0 is 6.8 position units.
Position_Error_AXIS0 * 0.5
Division /
Use the slash to divide two elements. For example, the following
expression evaluates as 1.66666666666667. Note that the operation
performed by the slash is floating point division and the result is accurate
to 15 significant digits.
100/60
Vista de pagina 500
1 2 ... 496 497 498 499 500 501 502 503 504 505 506 ... 957 958

Comentarios a estos manuales

Sin comentarios