Herunterladen Inhalt Inhalt Diese Seite drucken

Sampling Trace - IFM Electronic ecomot mobile R 360 Serie Starterset-Handbuch

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Sampling Trace

For a program test it is very useful that the current states of the variables are
displayed. But there are limits. If, for example, you want to simultaneously
monitor several variables defined in different windows, it is not always possible
to change the windows fast enough. For this purpose you can enter different
variables in a special window, the Watch Window. This is done via 'Window'
'Watch Variables'. We will not go into any further details here. You can find a
detailed description in the Manual for the Program Development.
Trace Tool
It is a matter of luck (even in the Watch window) to detect e.g. short input
pulses on the monitor. In many cases it would be of advantage if the variables
were shown in a timing diagram, like on an oscilloscope. CoDeSys provides this
possibility. It is called Sampling Trace. Since it is an important tool we will give
you a brief example.
The states of A, B and C are to be sampled. To do so click on 'Sampling
Sampling Trace
Trace' in the window 'Resources'
Figure 106: Sampling Trace
The window Sampling Trace opens.
R
.
The start
3-45

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis