Back to I/O and Power Commands
CMD_IOPWR_SETOUT

Command:              CMD_IOPWR_SETOUT
Destination:          SD_IOPWR
Destination Channel:  1

Description
Clients use this command to write the digital output values. The new value of each digital output is stored sequentially in the return byte starting at bit 0, the least significant bit.

Command data format

Digital Output States padding
1 byte 3 bytes

Digital Output States

A one or zero for each output should be stored sequentially in the data byte starting with bit 0, the least significant byte. A value of one will cause the digital output to be set; a value of zero will cause the digital output to be cleared.

Response data format

No response data

Response return codes
RESP_OK Execution of the command was successful.
RESP_UNSUPPORTED The command is not supported
RESP_AUTH_FAIL The client ID specified in the source channel field is not authorized to execute this command. (This response may be the result of the client not having registered with the CMD_SERVER_REG command.)
RESP_UNKNOWN_ERR An unknown error occurred.


|Top|