Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 123

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 122
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
123
Table continued from previous page
Name Description
max_data
Pointer to a structure with the maximum buffer lengths for
input and output data, for user diagnostics, for user
parameter assignment data and configuration data and
also for the user set slave address data.
Typedef DPS_MAX_DATA_S
{
DPR_BYTE max_input_data_len; // in
DPR_BYTE max_output_data_len; // in
DPR_BYTE max_user_diag_len; // in
DPR_BYTE max_user_prm_data_len; // in
DPR_BYTE max_cfg_data_len; // in
DPR_BYTE max_user_ssa_data_len; // in
}DPS_MAX_DATA_T
Note:
max_user_ssa_data_len needs no entry, if addr_change
has the value 0.
baud_rate Data transmission rate to be set. For the CP 5614,
DPS_BD_AUTO_DETECT must be specified since the
CP 5614 automatically detects the data transmission rate.
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 ==
DPS_RET_NO_SLAVE_MODULE
DP slave functions are not available
since this is a CP 5613 (without a slave
module).
other Unsuccessful completion of the function.
Vista de pagina 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 237 238

Comentarios a estos manuales

Sin comentarios