Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
71
4.1.3 DP_reset_cp
Purpose
This function resets the CP 5613/CP 5614. Following this, the CP is no longer
active on the bus (Token LED is off).
If other applications are still using the CP, this function does not reset it, in this
case use the "Installation" diagnostic tool in the start menu.
Note
To use the CP again, your user program must use the DP_start_cp call.
Syntax
DPR_DWORD DP_reset_cp (DPR_STRING *cp_name, // in
DP_ERROR_T *error ); // out
Parameters
Name Description
cp_name
Configured name of the CP 5613/CP 5614, for example,
"CP5613_5614_1" for the first inserted CP.
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
otherwise if error->error_code ==
CI_RET_RESET_CP_USED
Unsuccessful because other
applications are still using the CP.
other
Unsuccessful completion of the
function
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 237 238

Comentarios a estos manuales

Sin comentarios