Herunterladen Inhalt Inhalt Diese Seite drucken

IFM Electronic ecomot mobile R 360 Serie Starterset-Handbuch Seite 210

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Online test
Online
The declaration part shows the current states. In addition, the function AND
simplifies the checking of the state of the variables by showing them in different
colours depending on their state. The presentation on the monitor, in AND and
in the visualisation, should show no change as compared to the simulation.
The difference is that we do not work with flags any longer which change their
state via mouse click, but with the physical inputs and outputs. The state of the
inputs is defined by switches of the simulator box.
There is no relay in the controller of the starter set. When working with it you
can skip the next section and go to page 3-45.
Output
So the program should now be processed as in the simulation. The state of the
inputs can now also be verified on the simulator. In doing so it is noticeable that
the state of the output changes according to the state of the inputs in AND as
well as in the visualisation (see page 3-19 above for the description of how to
activate it). However, it does not change on the simulator. Why is that so?
In this context we have to remind you of the monitoring concept,
manual. There it is described that the RELAY bit has to be set so that the
outputs are not only switched internally like flags but also externally.
For the time being, this bit will not be further processed by the program in this
RELAY
simple example. It can be easily used as the first program network. Before the
first network a new program network is created by 'Add' 'Network (before)' in
the window PLC_PRG . The content reads:
Figure 105: Set Relay
The name and the assignment to a flag address are predefined. This
information is given in the window PLC Configuration. In the Input assistant
(F2) you will find the variable as System variable.
Program test
After login during which the changed program is compiled again the program
has to be restarted. The relay should now energise with a perceivable click.
Now you can also see on the simulator that the output is switched.
3-44
TRUE ─── RELAY
system

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis