24.01.2015 Views

PLC Programming

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sampling Trace<br />

Display of the Sampling Trace<br />

Sampling Trace of Differ ent Variables<br />

If a trace buffer is loaded, then the values of all variables to be displayed will be read out and<br />

displayed. If no scan frequency has been set, then the X axis will be inscribed with the continuous<br />

number of the traced value. The status indicator of the trace window (first line) indicates whether the<br />

trace buffer is full and when the trace is completed.<br />

If a value for the scan frequency was specified, then the x axis will specify the time of the traced value.<br />

The time is assigned to the "oldest" traced value. In the example, e.g., the values for the last 25<br />

seconds are indicated.<br />

The Y axis is inscribed with values in the appropriate data type. The scaling is laid out in a way that<br />

allows the lowest and the highest value to fit in the viewing area. In the example, Var 0 has taken on<br />

the lowest value of 6, and the highest value of 100: hence the setting of the scale at the left edge.<br />

If the trigger requirement is met, then a vertical dotted line is displayed at the interface between the<br />

values before and after the appearance of the trigger requirement.<br />

A memory that has been read will be preserved until you change the project or leave the system.<br />

'Extras' 'Cursor Mode'<br />

The easiest way to set a cursor in the monitoring area is to click there with the left mouse button. A<br />

cursor appears and can be moved by the mouse. At the top of the monitoring window the current x-<br />

position of the cursor is displayed. In the fields next to 'Var 0', 'Var 1', ..., 'Var n' the value of the<br />

respective variable is shown.<br />

Another way is the command 'Extras' 'Cursor mode'. With this command two vertical lines will appear<br />

in the Sampling Trace. First they are laying one on the other. One of the lines can be moved to the<br />

right or to the left by the arrow keys. By pressing + or + the speed of the<br />

movement can be increased by factor 10.<br />

If additionally the key is pressed, the second line can be moved, showing the difference to the<br />

first one.<br />

'Extras' 'Multi Channel'<br />

With this command you can alternate between single-channel and multi-channel display of the<br />

Sampling Trace. In the event of a multi-channel display, there is a check (ü) in front of the menu item.<br />

The multi-channel display has been preset. Here the display window is divided into as many as eight<br />

display curves. For each curve the maximum and the minimum value are displayed at the edge.<br />

In a single-channel display, all curves are displayed with the same scaling factor and are<br />

superimposed. This can be useful when displaying curve abnormalities.<br />

6-46 CoDeSys V2.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!