Siemens SIMATIC NET PROFIBUS Manuel de service Page 75

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 238
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 237 238

Commentaires sur ces manuels

Pas de commentaire