Command: CMD_IOPWR_GETINP Destination: SD_IOPWR Destination Channel: 1
Clients use this command to read the current digital input values. The value of each digital input is stored sequentially in the return byte starting at bit 0, the least significant bit.
No command data
Current Digital Input States padding 1 byte 3 bytes Current Digital Input States
The current state of each digital input is stored sequentially starting at bit 0, the least significant bit.Use the CMD_IOPWR_GETLATCH command to read the latched values of the digital inputs instead.
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. |