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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 844
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 466
L-force | PLC Designer
IEC Operators and additional norm extending functions
DMS 3.2 EN 02/2011 TD29 465
( ! you get the same result with:
LD ivar1
ST ivar2 )
Example in ST:
ivar2 := MOVE(ivar1);
( ! you get the same result with: ivar2 := ivar1; )
9.2.7 INDEXOF
PLC Designer operator: This function is not prescribed by the standard IEC61131-3.
Perform this function to find the internal index for a POU.
Example in ST:
var1 := INDEXOF(POU2);
9.2.8 SIZEOF
PLC Designer operator: This function is not prescribed by the standard IEC61131-3.
Perform this function to determine the number of bytes required by the given
variable.
Example in IL:
arr1:ARRAY[0..4] OF INT;
Var1 INT
LD arr1
SIZEOF
ST Var1 (* Result is 10 *)
Example in ST:
var1 := SIZEOF(arr1);
Vista de pagina 466
1 2 ... 462 463 464 465 466 467 468 469 470 471 472 ... 843 844

Comentarios a estos manuales

Sin comentarios