Siemens SIMATIC NET PROFIBUS Manuel de service Page 93

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 238
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 237 238

Commentaires sur ces manuels

Pas de commentaire