Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 140

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 139
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
140
C79000-G8976-C108-01
4.2.11 DPS_set_resp
Purpose
With this function, the user program provides the response data of an indication
obtained previously with DPS_get_ind. This is necessary for the indications that
require information from the user to control internal processing (DPS_CHK_PRM,
DPS_CHK_CFG and DPS_NEW_SSA).
Note
The DPS_BAUD_CHANGED, DPS_GO_LEAVE_DATA_EX, DPS_NEW_GC and
DPS_NO_IND must not be confirmed!
Syntax
DPR_DWORD DPS_set_resp(
DPR_DWORD user_handle, // in
DPR_DWORD ind_ref, // in
DPR_WORD data_len, // in
DPR_BYTE *data_blk, // in
DP_ERROR_T *error); // out
Parameters
Name Description
user_handle User handle assigned with the DPS_open call.
ind_ref Reference number returned by DPS_get_ind.
data_len Length of the data in data_blk
data_blk Address of the response data
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).
Vista de pagina 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 237 238

Comentarios a estos manuales

Sin comentarios