User Manual

183 Chapter 6
6.4.6 Digital Input/Output Command Set
(ADAM-6050, 6051, 6052, 6060, 6066)
$aa6
Name Read Channel Status
Description This command requests that the specified ADAM-6000
module return the status of its digital input channels
Syntax $aa6(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave network address of the ADAM-6000 module.
(Always 01)
6 is the Digital Data In command.
(cr) is the terminating character, carriage return (0Dh)
Response !aa00(data)(data)(data)(data)(cr) if the command is valid.
?aa(cr) if an invalid operation was entered.
There is no response if the module detects a syntax error or
communication error or if the address does not exist.
! delimiter indicating a valid command was received.
? delimiter indicating the command was invalid.
aa (range 00-FF) represents the 2-character hexadecimal
slave network address of an ADAM-6000 module.
(data) a 2-character hexadecimal value representing the
values of the digital input module.
(cr) is the terminating character, carriage return (0Dh)
Command
Syntax
Command
Name
Description
$aa6 Read
Channels
Asks a specified input module to return the status of all
channels
#aabb Write
Digital
Output
Writes specified values to either a single channel or all
channels simultaneously
$aaJCFFFF
ssmm
Read DI
Channel
Counter
Value
Returns the counter value from specified DI channels in
a specified module