Lenze PLC Designer PLC Designer (R2-x) Bedienungsanleitung Seite 467

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 844
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
Seitenansicht 466
1 2 ... 462 463 464 465 466 467 468 469 470 471 472 ... 843 844

Kommentare zu diesen Handbüchern

Keine Kommentare