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

  • 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 644
L-force | PLC Designer
PLC Designer Libraries
DMS 3.2 EN 02/2011 TD29 643
Example in ST:
VarSTRING1 := INSERT ('SUSI','XY',2);
Note!
String functions are not "thread safe": When using tasks, string functions may only
be used in a single task. If the same function is used in different tasks, there is a
danger of overwriting.
DELETE
Provided by standard.lib.
DELETE removes a partial string from a larger string at a defined position.
The input variable STR is type STRING, LEN and POS are type INT, the return value of
the function is type STRING.
DELETE(STR, L, P) means: Delete L characters from STR beginning with the character in
the P position.
Example in IL:
LD 'SUXYSI'
DELETE 2,3
ST Var1 (* Result is 'SUSI' *)
Example in FBD:
Vue de la page 644
1 2 ... 640 641 642 643 644 645 646 647 648 649 650 ... 843 844

Commentaires sur ces manuels

Pas de commentaire