03.12.2012 Views

SIMATIC Industral Software - Tools for configuring and programming ...

SIMATIC Industral Software - Tools for configuring and programming ...

SIMATIC Industral Software - Tools for configuring and programming ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

S7-PDIAG <strong>and</strong> ProAgent <strong>for</strong> effective process diagnostics<br />

20 Diagnostics<br />

Task<br />

Open/closed monitoring <strong>for</strong> a press. If the press is closed <strong>for</strong><br />

longer than 2 minutes (the stamp of the press is down), a fault<br />

has occurred.<br />

Solution with S7-PDIAG<br />

The function block to be monitored is created using STEP 7.<br />

The upper left figure shows the relevant program section that<br />

has been programmed using LAD. The relevant oper<strong>and</strong> has<br />

been marked yellow. If this is selected, the input window of<br />

S7-PDIAG shown in the same figure is opened. The monitoring<br />

criteria as well as the text message <strong>for</strong> the HMI system are<br />

entered here. The program code that is required <strong>for</strong> monitoring<br />

is automatically created <strong>and</strong> executes independently of the<br />

actual user program.<br />

Solution without S7-PDIAG<br />

If S7-PDIAG is not used, the relevant error monitoring must be<br />

explicitly programmed. A possible solution is shown in the<br />

lower left figure. The text message also has to be assigned in<br />

the display unit.<br />

The program code necessary <strong>for</strong> diagnostic purposes can<br />

include timers, counters <strong>and</strong> bit memories which are then no<br />

longer available to be used by the user program. The program<br />

will, however, become less clear which can cause problems<br />

when changes have to be implemented later.

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

Saved successfully!

Ooh no, something went wrong!