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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 844
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 262
L-force | PLC Designer
Editors in PLC Designer
DMS 3.2 EN 02/2011 TD29 261
7.2.16 Syntax Coloring
In all editors you receive visual support in the implementation and declaration of
variables. Errors are avoided, or discovered more quickly, because the text is displayed
in color.
A comment left unclosed, thus annotating instructions, will be noticed immediately;
keywords will not be accidentally misspelled, etc.
The following color highlighting will be used:
Blue Keywords
Green Comments in the text editors
Pink Special constants (e.g. TRUE/FALSE, T#3s, %IX0.0)
Red Input error (for example, invalid time constant, keyword, written in lower case,...)
Black Variables, constants, assignment operators, ...
7.2.17 Shortcut Mode
The declaration editor for »PLC Designer« allows you to use the shortcut mode. This
mode is activated when you end a line with <Ctrl><Enter>
The following shortcuts are supported:
All identifiers up to the last identifier of a line will become declaration variable
identifiers
The type of declaration is determined by the last identifier of the line. In this
context, the following will apply:
B or BOOL gives the result BOOL
I or INT gives the result INT
R or REAL gives the result REAL
S or string gives the result STRING
If no type has been established through these rules, then the type is BOOL and the
last identifier will not be used as a type (Example 1.).
Every constant, depending on the type of declaration, will turn into an
initialization or a string (Examples 2. and 3.).
An address (as in %MD12) is extended around the ATATDeclaration>Proc...
attribute(Example 4.).
A text after a semicolon (;) becomes a comment (Example 4.).
All other characters in the line are ignored (e.g., the exclamation point in Example
5.).
Vista de pagina 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 843 844

Comentarios a estos manuales

Sin comentarios