Project' 'export, Project' 'import, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 158

Advertising
background image

L-force | PLC Designer

The Individual Components

156

DMS 3.2 EN 02/2011 TD29



6.3.22

'Project' 'Export'

With PLC Designer projects can be exported or imported. That allows you to exchange
programs between different IEC programming systems.

There is a standardized exchange format for POUs in IL, ST, and SFC (the Common
Elements format of IEC 1131-3). For the POUs in LD and FBD and the other objects PLC
Designer
has its own filing format since there is no text format for this in IEC 1131 3.

The selected objects are written to an ASCII file.

POUs, data types, visualizations, and the resources can be exported. In addition,
entries in the library manager, that is the linking information to the libraries, can be
exported (not the libraries themselves!).



Stop!

Re-importing an exported FBD or LD POU results in an error if a comment in the
graphical editor contains a single quotation mark ('), as this will be interpreted as
the beginning of a string !

Once you have made your selection in the dialog box window (the same way as with
'Project' 'Document' ), you can decide, whether you want to export the selected parts
to one file or to export in separate files, one for each object. Switch on or off the

option One file for each object then click on OK. The dialog box for saving files
appears. Enter a file name with the expansion ".exp" respectively a directory for the
object export files, which then will be saved there with the file name
<objectname.exp>.

6.3.23

'Project' 'Import'

In the resulting dialog box for opening files select the desired export file.

The data is imported into the current project. If an object with the same name already
exists in the same project, then a dialog box appears with the question "Do you want
to replace it?": If you answer Yes, then the object in the project is replaced by the
object from the import file. If you answer No, then the name of the new objects
receives as a supplement an underline and a digit ("_0", "_1", ..). With Yes, all or No, all
this is carried out for all objects.

Advertising