Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 93

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 92
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
93
4.1.15 DP_read_alarm
Purpose
DPC1-compliant slaves can send alarms and status messages. This function reads
the current alarm data or the current status message of a DP slave.
Depending on the slave type and the configuration, a DP slave can send up to 32
alarms to the CP 5613/CP 5614.
The structure and the meaning of the alarms or status message can vary
depending on the slave type.
Note 1
All alarms are buffered by the CP 5613/CP 5614 and are therefore not lost. Only
the last status message of a slave is, however, retained.
Note 2
The user program must acknowledge every alarm with a DP_alarm_ack call (this
does not apply to status messages). For more information, refer to the
documentation of the relevant slave.
Note 3
If the slave drops out of the processing phase, buffered alarms or status data are
discarded. In this case, no alarm acknowledgment is necessary.
Syntax
DPR_DWORD DP_read_alarm(
DPR_DWORD user_handle, // in
DPR_WORD slv_add, // in
DP_ALARM_T *alarm, // out
DP_ERROR_T *error ); // out
Vista de pagina 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 237 238

Comentarios a estos manuales

Sin comentarios