beautypg.com

Payloads, User manual – SurgeX SX-AX20E User Manual

Page 30

background image

User Manual

Firmware Version v2.04.281

© 2015 SurgeX/Electronic Systems Protection, Inc. | Technical Support: 800-645-9721 | surgex.com 30

9.6

Payloads

Payload

tOutletStatus

typedef struct {

eOutletStatus status[8];

}tOutletStatus;

typedef enum {

eOutlet
Status_
null,
eOutlet
Status_
on,
eOutlet
Status_
off

tAuxStatus

typedef struct {

eAuxStatus status[2];

}tAuxStatus;

typedef enum {

eAuxStatus_
null,
eAuxStatus_
energized,
eAuxStatus_
deenergized

}tAuxStatus;

tLineVoltage

typedef struct {

float lineVoltage;

}tLineVoltage;

tLineCurrent

typedef struct {

float lineCurrent;

}tLineCurrent;

tPoll

typedef struct {

u8
outlet
Status
[8]; u8
auxSt
atus[2]
; float
lineVol
tage;
float
lineCu
rrent;
float
linePo
wer;
float
outletCurrent[
8]; float
outletPower[8
]; u8
statusFlags;
tExpansionUs
er users[8];

}tPoll;

tLinePower

typedef struct {

float linePower;

}tLinePower;

tOutletCurrent

typedef struct {

float outletCurrent[8];

}tOutletCurrent;

This manual is related to the following products: