Siemens SIMATIC NET PROFIBUS Manuale di Servizio Pagina 124

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 238
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 237 238

Commenti su questo manuale

Nessun commento