Siemens SIMATIC NET PROFIBUS Instrukcja Obsługi Strona 43

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 238
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 42
Overview of the DP Base Interface
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
43
3.4 Working with Hardware Events
Reducing Load on the PC CPU
To relieve the PC of the computing time required for permanent polling on the DP
interface, you can use hardware events. Your user program then decides which
events will be reported by the CP 5613/CP 5614.
Possible Hardware Events
Hardware events can be triggered by the following criteria:
x
The input data of a DP slave have changed. The hardware event can be
activated separately for each slave.
x
A DP slave sends diagnostic data (regardless of whether it has changed or not).
The hardware event can be activated separately for each slave.
x
Fast logic (see Section 3.5)
x
A new DP cycle begins.
How Hardware Events are Activated
The process image memory area of the CP 5613 and CP 5614 contains a control
area for activating hardware events (activating fast logic is described in Section
3.5). Your user program can set and delete hardware events by simply writing to
this memory.
How Hardware Events are Transferred
A hardware event is transferred by incrementing a semaphore. This means that
your user program or one of its threads can wait for individual events; see also
Section 3.6.
Note
The use of hardware events for a lot of active slaves at the same time ma
y
result in
greater load on the PC than polling; refer to the suggestions in the FAQ list.
Przeglądanie stron 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 237 238

Komentarze do niniejszej Instrukcji

Brak uwag