Lenze PLC Designer PLC Designer (R2-x) Manuel d'utilisateur Page 467

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 844
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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);
Vue de la page 466
1 2 ... 462 463 464 465 466 467 468 469 470 471 472 ... 843 844

Commentaires sur ces manuels

Pas de commentaire