Herunterladen Inhalt Inhalt Diese Seite drucken
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Figure 52: Added POU
And all this just
Of course, an AND operation can also be directly inserted in PLC_PRG. We
for an AND?
have selected the way of activating the subroutine in PLC_PRG for an
important reason. We wanted to demonstrate that all POUs (in this case POU
P_AND) to be activated directly via PLC_PRG need to be listed there. It is
therefore not enough to just create the POU.
The POUs of a project are not activated automatically. They must be directly or
indirectly activated by the PLC_PRG POU.
Only the PLC_PRG POU is automatically processed cyclically. That is why all
other POUs have to be activated directly or indirectly by PLC_PRG.
It is not sufficient for the execution of a module that it is entered in the POU list
of the project!.

Saving

At first, it will take some time for you to achieve this result. Later you will be able
to program an easy link very fast.
In each case it should become normal to save the result after each work step.
This can be done e.g. via 'File' 'Save' or
R
:
The start
3-13

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis