User manual – SurgeX SX-AX20E User Manual

Page 29

Advertising
background image

User Manual

Firmware Version v2.04.281

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

eType_Commands

Commands are used to control and query the managed device.

typedef enum {

eCommands_null,

eCommands_setOutletStatus,

eCommands_getOutletStatus,

eCommands_getOutletCurrent,

eCommands_getOutletPower,

eCommands_setAuxRelayStatus,

eCommands_getAuxRelayStatus,
eCommands_getLineVoltage,

eCommands_getLineCurrent,
eCommands_getLinePower,
eCommands_getSysStatus,

eCommands_poll

}eCommands;

Command

Description

Payload

Response

eCommands_null

This is a null command and should
not be used.

None

None

eCommands_setOutletStatus

This command is used to control an
individual outlet. Note: The inform returned
as a result of the command will reflect the
current outlet state, and will not reflect the

requested change.

tOutletCommand

eInforms_OutletStatus

eCommands_getOutletStatus

This command is used to get the
status of all outlets.

None

eInforms_OutletStatus

eCommands_getOutletCurrent

This command is used to get the
current draw of all outlets (Amps).

None

eInforms_OutletCurrent

eCommands_getOutletPower

This command is used to get the
power draw of all outlets (Watts).

None

eInforms_OutletPower

eCommands_setAuxRelayStatus

This command is used to set the
status of the selected Aux Relay.

tOutletCommand

eInforms_AuxRelayStatus

eCommands_getAuxRelayStatus

This command is used to get the
status of both Aux Relays.

None

eInforms_AuxRelayStatus

eCommands_getLineVoltage

This command is used to get the line
voltage (AC Volts).

None

eInforms_LineVoltage

eCommands_getLineCurrent

This command is used to get the total
line current (Amps).

None

eInforms_LineCurrent

eCommands_getLinePower

This command is used to get the total
power draw (Watts).

None

eInforms_LinePower

eCommands_getSysStatus

This command is used to get the
system status.

None

eInforms_sysStatus

eCommands_poll

This command is used to poll
Expansion units.

None

eInforms_poll

Advertising
This manual is related to the following products: