Siemens SIMATIC NET PROFIBUS Instrukcja Obsługi Strona 75

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 238
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 74
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
75
4.1.6 DP_release_pointer
Purpose
With this function, a DP user program releases the pointer to the process data.
Following this, the DP user program can no longer access the data image of the
CP 5613/CP 5614 directly.
Note
This function requires a relatively long run-time and if it is called often, can be
detrimental to the real-time properties of your user program.
Syntax
DPR_DWORD DP_release_pointer(
DPR_DWORD user_handle, // in
DP_ERROR_T *error ); // out
Parameters
Name Description
user_handle User handle assigned with the DP_open call.
error Address of a structure provided by the user program of the
type DP_ERROR_T. If an error occurred, the structure
contains details for troubleshooting (see Section 4.4).
Return Value
Name Description
DP_OK Successful completion of the function
other Unsuccessful completion of the function
Przeglądanie stron 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 237 238

Komentarze do niniejszej Instrukcji

Brak uwag