1.1.4.50 DRV_METROLOGY_AFE_EVENTS Struct

C
typedef struct {
    unsigned int paDir : 1;
    unsigned int pbDir : 1;
    unsigned int pcDir : 1;
    unsigned int ptDir : 1;
    unsigned int qaDir : 1;
    unsigned int qbDir : 1;
    unsigned int qcDir : 1;
    unsigned int qtDir : 1;
    unsigned int pafDir : 1;
    unsigned int pbfDir : 1;
    unsigned int pcfDir : 1;
    unsigned int ptfDir : 1;
    unsigned int qafDir : 1;
    unsigned int qbfDir : 1;
    unsigned int qcfDir : 1;
    unsigned int qtfDir : 1;
    unsigned int swellA : 1;
    unsigned int swellB : 1;
    unsigned int swellC : 1;
    unsigned int sagA : 1;
    unsigned int sagB : 1;
    unsigned int sagC : 1;
    unsigned int creepP : 1;
    unsigned int creepPA : 1;
    unsigned int creepPB : 1;
    unsigned int creepPC : 1;
    unsigned int creepQ : 1;
    unsigned int creepQA : 1;
    unsigned int creepQB : 1;
    unsigned int creepQC : 1;
    unsigned int creepIA : 1;
    unsigned int creepIB : 1;
    unsigned int creepIC : 1;
    unsigned int creepS : 1;
    unsigned int phActiveA : 1;
    unsigned int phActiveB : 1;
    unsigned int phActiveC : 1;
    unsigned int reserved : 1;
} DRV_METROLOGY_AFE_EVENTS;
Summary

Identifies all events related to metrology library.

Description

Field description:

  • pXDir: Identifies the sign of the active power in channel X. "1" means a negative value, "0" is a positive value.
  • qXDir: Identifies the sign of the reactive power in channel X. "1" means a negative value, "0" is a positive value.
  • sagX: Voltage Sag Detected Flag for Channel X. "1" means that voltage sag is detected.
  • swellX: Voltage Swell Detected Flag for Channel X. "1" means that voltage Swell is detected.
  • creepX: Channel X Current or Power Creep Detected Flag. "1" means that Creep is detected.
  • phActiveX: Voltage Active Detected Flag for Channel X. "1" means that voltage Active is detected.