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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 844
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 639
L-force | PLC Designer
PLC Designer Libraries
638 DMS 3.2 EN 02/2011 TD29
19 PLC Designer Libraries
19.1 Standard.lib library
19.1.1 String functions...
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.
LEN
Provided by standard.lib.
Returns the length of a string. Input STR is of type STRING, the return value of the
function is type INT.
Example in IL:
LD 'SUSI'
LEN
ST VarINT1 (* Result is 4 *)
Example in FBD:
Example in ST:
VarSTRING1 := LEN ('SUSI');
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.
Vista de pagina 639
1 2 ... 635 636 637 638 639 640 641 642 643 644 645 ... 843 844

Comentarios a estos manuales

Sin comentarios