| Command Set | 5050/5051/5052/5055/5056 |
| 5060/5068/5069 Digital I/O |
| | | |
| | | | $aaSi6 |
| | Name | Digital Data In |
Description This command requests that the specified module in an ADAM-5000 system at address aa return the status of its digital input channels and a read back value of its digital output channels.
Syntax $aaSi6(cr)
$ is a delimiter character.
aa(range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system.
Si identifies the I/O slot of the system you want to read. 6 is the Digital Data In command.
(cr) is the terminating character, carriage return (0Dh) Response !aa(datainput)(datainput)00(cr) if the command is valid.
(ADAM-5051)
!aa(datainput)(dataoutput)00(cr) if the command is valid.
(ADAM-5055S)
!aa(dataoutput)(dataoutput)00(cr) if the command is valid.
(ADAM-5056)
!aa(dataoutput)0000(cr) if the command is valid.
(ADAM-5060, ADAM-5068, ADAM-5069) ?aa(cr) if an invalid operation was entered.