L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 62

Advertising
background image

L-force | PLC Designer

Concepts and Base Components

60

DMS 4.1 EN 03/2011 TD29

• PLC Configuration and Task Configuration integrated in devices tree
• UNICODE support
• Single-line comments
• Continuing in loops
• Multiple selection in the project object tree
• Online help integrated in the user interface
• Conditional compilation
• Conditional breakpoints
• Debugging: step to cursor, back to previous caller
• Field bus driver matching IEC 61131-3
• Symbolic and PLC configuration available in application
• Free memory allocation of code and data
• Each object can be specified to be "internal" or "external" (late link in the runtime

system)

• Connecting external data sources (Data Server)
• Precompile notes concerning syntax errors
Compatibility concerning »PLC Designer« V2.3 projects and other file formats
• Projects of different formats, i.a. projects created with »PLC Designer« V2.3, can be

opened if the appropriate converter is installed. See command 'Open Project'. The
handling of included libraries and devices can be defined.

• Syntactical and semantical restrictions since »PLC Designer« V2.3:

− FUNCTIONBLOCK is no longer a valid key word instead of FUNCTION_BLOCK.
− TYPE (declaration of a structure) requires a following “:”
− ARRAY initialisation requires squared brackets.
− local declaration of an enumeration is no longer possible except within TYPE; at

a V2.3 import a local enumeration declaration will be converted automatically
to an explicit type definition.

− INI is no longer supported (replaced by the Init Method)
− In function calls, it is no longer possible to mix explicit parameter assignment

with implicit, therefore it is possible to change the order of parameter input
assignments:
fun(formal1 := actual1, actual2); // -> error message
fun(formal2 := actual2, formal1 := actual1); // same semantics as
fun(formal1 := actual1, formal2 := actual2);

• Pragmas (»PLC Designer« V2.3 pragmas not yet implemented)
• The TRUNC operator now converts to data type DINT instead of INT; at a V2.3

import an appropriate type conversion will be added automatically.

Advertising