Lenze PLC Designer PLC Designer (R2-x) Manual de usuario Pagina 497

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 844
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 496
L-force | PLC Designer
IEC Operators and additional norm extending functions
DMS 3.2 EN 02/2011 TD29 495
9.9.9 TRUNC
PLC Designer IEC operator: Converting from REAL to INT. The whole number portion of
the value will be used.
When you perform a type conversion from a larger to a smaller type, you risk losing
some information.
Example in IL:
LD 2.7
TRUNC
GE %MW8
Examples in ST:
i:=TRUNC(1.9); (* Result is 1 *)
i:=TRUNC(-1.4); (* Result is -1 *).
Vista de pagina 496
1 2 ... 492 493 494 495 496 497 498 499 500 501 502 ... 843 844

Comentarios a estos manuales

Sin comentarios