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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 844
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 253
L-force | PLC Designer
Editors in PLC Designer
252 DMS 3.2 EN 02/2011 TD29
Examples:
bySubIndex: BYTE;
sFileName: STRING;
udiCounter: UDINT;
In nested declarations the prefixes are attached to each other in the order of the
declarations:
Example:
pabyTelegramData: POINTER TO ARRAY [0..7] OF BYTE;
Function block instances and variables of user-defined data types as a prefix get a
shortcut for the FB- resp. data type name (Examle: sdo).
Example:
cansdoReceivedTelegram: CAN_SDOTelegram;
TYPE CAN_SDOTelegram : (* prefix: sdo *)
STRUCT
wIndex:WORD;
bySubIndex:BYTE;
byLen:BYTE;
aby: ARRAY [0..3] OF BYTE;
END_STRUCT
END_TYPE
Locale constants (c) start with prefix c and an attached underscore, followed by the
type prefix and the variable name.
Example:
VAR CONSTANT
c_uiSyncID: UINT := 16#80;
END_VAR
Seitenansicht 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 843 844

Kommentare zu diesen Handbüchern

Keine Kommentare