Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Bedienungsanleitung Seite 154

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 312
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 153
"))-' ',+"&*
Appendix B

B-23
Gets current expanded status information of the coprocessor.
C Syntax
#include <copro.h>
unsigned CC_EXPANDED_STATUS (exp_stat);
unsigned *exp_stat;
Parameters
exp_stat
A pointer to a buffer of 5 unsigned integers that receive the expanded
status information.
Buffer: With this status information:

'+$ %')-
  $ ".
  "*# ".
  ',$ %')-
  *) %')-
Returns
Value Meaning

"+%( ' +! ,))&+ '()'**') *++,*
See CC_STATUS for definition of the bit map.
Description
Use CC_EXPANDED_STATUS to get the current expanded status
information of the coprocessor.
C Example
unsigned coprostat;
unsigned exp_stat[5];
.
.
.
coprostat = CC_EXPANDED_STATUS(exp_stat);
if (!(coprostat & 0x0001)) BAT_LOW_ALARM ();
printf (“NV Module Memory Size is %x\n”,ext_stat[3]);
.
.
.
CC_EXPANDED_STATUS
Seitenansicht 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 311 312

Kommentare zu diesen Handbüchern

Keine Kommentare