Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 106

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 105
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
106
C79000-G8976-C108-01
Table continued from previous page
Element Description
event
On completion of the job, the event array contains an element
for every slave address with the events involving the specific
slave.
event[5]
, for example, contains information about
slave 5.
The following event IDs can be returned per slave address, and
if required, several can be “ORed".
0 no event
DP_DIAG diagnostic information arrived.
DP_ALARM_STATUS alarm or status data was
buffered and must be read out
with DP_read_alarm.
DP_SLAVE_ENTER the slave was included in
processing.
DP_SLAVE_EXIT the slave has dropped out of
processing.
mst_event
The mst_event element contains the DP_MST_STATE_CHG
identifier, if the value DP_MST_STATE is entered in selector
and the master state has changed compared with the value in
mst_state; otherwise the value 0.
new_mst_state new_mst_state contains the current master state.
Return Value
Name Description
DP_OK_ASYNC
Execution of the function was activated
successfully.
otherwise if error-> error_code ==
DP_RET_REQ_ACTIV
There is still a DP_enable_event request
active (delete with DP_disable_event).
other Unsuccessful completion of the function
Vista de pagina 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 237 238

Comentarios a estos manuales

Sin comentarios