Payloads - Ametek Surgex SA-20-AR User Manual

Axess-ready standalone surge elimination & power conditioning
Table of Contents

Advertisement

______________________________________________________________________________

Payloads

o TChangeRelay
typedef struct{
unsigned char relay;
unsigned char state;
} TChangeRelay;
Where relay is the number of the relay to be affected – 1 (For example, 0 for relay 1 and 1 for
relay 2) and state sets the state of the relay (1=Energize; 2=Relax).
o TChangeRelays
typedef struct{
unsigned char relayStates[32];
}TChangeRelays;
Where relayStates is an array of relay states as defined below:
#define NO_CHANGE 0
#define ENERGIZE
#define RELAX
This payload is supported by devices that support the DxP protocol with 2-32 controllable
relays.
o TPulseRelay
typedef struct{
unsigned char relay; //the relay to be pulsed
unsigned char state;
uint16 pulseWidth;
}TPulseRelay;
Where relay is the number of the relay to be affected, state is the state to pulse, and
pulseWidth is the time to pulse in seconds.
© 2019 AMETEK Electronic Systems Protection | Technical Support 1-800-645-9721 | surgex.com
SA-20-AR
1
2
//the state to pulse
//the pulse width in seconds
User Manual
24

Advertisement

Table of Contents
loading

Table of Contents