Back to I/O and Power Commands
CMD_IOPWR_GETOUT

Command:              CMD_IOPWR_GETOUT 
Destination:          SD_IOPWR
Destination Channel:  1

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

Command data format
No command data

Response data format

Current Digital Output States padding
1 byte 3 bytes

Current Digital Output States

The current state of each digital output is stored sequentially starting at bit 0, the least significant bit.

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|