258 7 Innovative PLC Programming Systems
- Online information
- Data for assigning parameters to the project (recipes),
- Device and configuration information (PLC hardware, I/O modules,...),
- Additional information for online testing (symbol information,
breakpoints,...),
- Communication information (protocols, interfaces).
- Documentation (e.g. cross-reference list, allocation list, program structure,...).
The Project Manager administers and archives all this data. Why is a standard file
manager (e.g. the Windows Explorer) not sufficient?
POUs are interdependent. Multiple programs within one project can use the
same POU, although it only exists as a single file. Function names and function
block types have global scope throughout a project (whereas the scope of function
block instances is limited to the POU they are defined in, unless they are explicitly
declared GLOBAL).
For every invocation of a POU (instance or function) the compiler and editors
need interface information about the POU being invoked (types and names of
parameters). In order to reduce the overhead of gathering the same information
again and again every time it is needed, the Project Manager can store such
information and supply it to other parts of the programming system when
requested.
Figure 7.2 shows the directory of a hard disk drive (D:), containing sub-
directories. In order to visualise the structure of a project, it is necessary to
evaluate interdependences between calls and environmental factors to enable the
relations to be displayed, see Figure 7.3.
The programming system should assist the programmer in understanding the
structure of the project. One project can contain several configurations (PLCs),
and each configuration can contain several resources (CPUs). See Chapter 6 for
the description of a configuration. Each resource will have a specification of the
hardware associated with it (
Resource1 File
). Each resource can execute multiple
programs (
Program1
, ...), which are implemented in the form of POUs invoking
other POUs. Two distinct instances of one POU, as shown in Figure 7.3, contained
in different programs, can be described by the same POU stored in only one file on
disk.