Lenze PLC Designer PLC Designer (R2-x) Manual do Utilizador Página 498

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 844
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 497
L-force | PLC Designer
IEC Operators and additional norm extending functions
496 DMS 3.2 EN 02/2011 TD29
9.10 Numeric Operators...
9.10.1 ABS
»PLC Designer« IEC operator: Returns the absolute value of a number. ABS(-2) equals
2.
The following type combinations for input and output variables are possible:
IN OUT
INT INT, REAL, WORD, DWORD, DINT
REAL REAL
BYTE INT, REAL, BYTE, WORD, DWORD, DINT
WORD INT, REAL, WORD, DWORD, DINT
DWORD REAL, DWORD, DINT
SINT REAL
USINT REAL
UINT INT, REAL, WORD, DWORD, DINT, UDINT, UINT
DINT REAL, DWORD, DINT
UDINT REAL, DWORD, DINT, UDINT
Example in IL:
LD -2
ABS
ST i (* Result is 2 *)
Example in ST:
i:=ABS(-2);
Example in FBD:
Vista de página 497
1 2 ... 493 494 495 496 497 498 499 500 501 502 503 ... 843 844

Comentários a estes Manuais

Sem comentários