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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 844
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 486
L-force | PLC Designer
IEC Operators and additional norm extending functions
DMS 3.2 EN 02/2011 TD29 485
9.8 Calling Operators...
9.8.1 CAL
PLC Designer IEC operator: Calling a function block or a program
Use CAL in IL to call up a function block instance. The variables that will serve as the
input variables are placed in parentheses right after the name of the function block
instance.
Example:
Calling up the instance Inst from a function block where input variables Par1 and Par2
are 0 and TRUE respectively.
CAL INST(PAR1 := 0, PAR2 := TRUE)
9.9 Type Conversions...
9.9.1 Type Conversion Functions
Its is forbidden to implicitly convert from a "larger" type to a "smaller" type (for
example from INT to BYTE or from DINT to WORD). Special type conversions are
required if one wants to do this. One can basically convert from any elementary type
to any other elementary type.
Syntax:
<elem.Typ1>_TO_<elem.Typ2>
Please regard that at ...TO_STRING conversions the string is generated left-justified. If
it is defined to short, it will be cut from the right side.
Seitenansicht 486
1 2 ... 482 483 484 485 486 487 488 489 490 491 492 ... 843 844

Kommentare zu diesen Handbüchern

Keine Kommentare