Siemens SIMATIC NET PROFIBUS Wartungshandbuch Seite 124

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 238
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 123
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
124
C79000-G8976-C108-01
4.2.3 DPS_close
Purpose
With this function, a DP user program logs off for communication at the slave
module.
Note 1
If the logoff was successful, the user handle is no longer valid and must not
continue to be used.
Note 2
To shut down the DP slave, your user program should first change the slave
module to the OFFLINE mode with the DPS_stop function.
Syntax
DPR_DWORD DPS_close (DPR_DWORD user_handle, // in
DP_ERROR_T *error ); // out
Parameters
Name Description
user_handle User handle assigned with the DPS_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
Seitenansicht 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 237 238

Kommentare zu diesen Handbüchern

Keine Kommentare