Herunterladen Inhalt Inhalt Diese Seite drucken

Libraries - IFM Electronic ecomot mobile R 360 Serie Starterset-Handbuch

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Libraries

Predefined
A modern programming software to IEC 61131-3 should allow the
functions
administration of self-created program modules. They only have to be created
once and can then be used as often as required. Administration in CoDeSys is
handled via libraries. Furthermore, a number of standard functions and
hardware-specific functions have been predefined. These libraries have to be
loaded if necessary. Standard libraries are automatically integrated.
File size
Each added library makes the project file bigger. Therefore no unnecessary
libraries should be added. At the beginning it may be difficult to judge which
library is necessary and which is not necessary. A hint is given by the name of
the library. If, for example the name is ifm_CR0020_V030002.lib, you will only
need the library if you work with the unit CR0020. As experience increases,
differentiation is getting easier. However, the file size is only critical with very
complex programs.
A consequence resulting from the keyword file size affects the program
modules created. It is unfavourable to combine them all in one library. If they
are separated it is easier to focus on those that are actually needed.
No menu
If no project is open, most menu items are not active which can be seen by the
active
grey colour.
To activate them a project has to be opened. This is done via the menu item
'File' 'New'or the respective button
in the appendix,
2.4. To be sure let us compare:
The name can be assigned when saving the file.
Step by step
The menus are context sensitive. In other words: the window 'Library
manager' only opens (of course!) when a project is open. Here it becomes
clear what is meant by "step by step" in the instructions. Those who are not
familiar with the system should strictly follow the instructions. As experience
increases more interim steps can be skipped.
CR2500 as an
Below we will show how to prepare a project for the controller CR2500 as an
example
example.
Entries
The menu items 'Window' 'Library Manager' open a window in which no
standard entries can be seen on the top left.
We see the standard.lib and some CAN libraries which are linked
automaticallay. Again CAN is not the subject now.
R
page 5-1). The procedure was described above,
The top line then reads: 'CoDeSys - (Untitled)*'
(you will find an overview of the buttons
Installation
chapter
2-13

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis