Siemens SIMATIC NET PROFIBUS Manual de Serviço Página 70

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 238
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 69
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
70
C79000-G8976-C108-01
4.1.2 DP_start_cp
Purpose
This function initializes the CP 5613/CP 5614. The CP firmware and the database
are downloaded.
Syntax
DPR_DWORD DP_start_cp ( DPR_STRING *cp_name, // in
DPR_STRING *database, // in
DP_ERROR_T *error ); // out
Parameters
Name Description
cp_name
Name of the CP 5613/CP 5614 (for example,
"CP5613_5614_1" for the first inserted CP).
database Path and name of the database - if there is a zero pointer,
the database name set in the start menu is used.
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
- The green LED is lit.
otherwise if error->error_code ==
CI_RET_START_ALREADY_ DONE
Error: The CP has already been
started with a different database.
other Unsuccessful completion of the
function.
Vista de página 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 237 238

Comentários a estes Manuais

Sem comentários