![Ametek Surgex SA-20-AR User Manual Download Page 24](http://html1.mh-extra.com/html/ametek/surgex-sa-20-ar/surgex-sa-20-ar_user-manual_2931340024.webp)
SA-20-AR User Manual
______________________________________________________________________________
© 2019 AMETEK Electronic Systems Protection | Technical Support 1-800-645-9721 | surgex.com
23
o
eCmnd_io
typedef enum{
eIO_null,
eIO_changeRelay,
eIO_changeRelays,
eIO_getRelay,
eIO_getRelays,
eIO_getInput,
eIO_getInputs,
eIO_pulseRelay,
} eIO;
Command
Description
Server Response
eIO_changeRelay
This command is used to change the status of an
individual relay. It carries the TChangeRelay payload; see
the Payloads subsection for details.
0 → Successful
1 → Error
eIO_changeRelays This command is used to set all of the relays in a device.
It carries the TChangeRelays payload; see the Payloads
subsection for details.
0 → Successful
1 → Error
eIO_getRelay
This command has not yet been implemented.
eIO_getRelays
This command is used to get the status of all the relays on
the server.
Byte Array
containing status
of each relay.
eIO_getInput
This command has not yet been implemented.
eIO_getInputs
This command is used to get the status of all inputs on the
server.
Byte Array
containing status
of each input.
eIO_pulseRelay
This command is used to pulse a relay. It carries the
TPulseRelay payload; see the Payloads subsection for
details.
0 → Successful
1 → Error
o
eCmnd_keepAlive
typedef enum{
eKeepAlive_null;
} eKeepAlive;
Command
Description
Server Response
eKeepAlive_null
This is the only valid descriptor that the keep alive
command supports. It is defined as null, as it carries no
payload.
0 → Successful
1 → Error