B&B Electronics ADAM-6066 - Manual User Manual
Page 170

ADAM-6000 Series User Manual
160
Example command:
#010105.555(cr)
response: >(cr)
Value for analog output channel 1 of the ADAM-6024
module at address 01h is set with a value +05.555.
$aa7
Name
Read DI Channel Status
Description This
command
requests that the specified module
return the status of its digital input channels.
Syntax $aa7(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave network address of the ADAM-6000 module.
(Always 01)
7 is the Digital Data In command.
(cr) is the terminating character, carriage return (0Dh)
Response
!aa(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)
Example
command: $017(cr)
response: !0101 (cr) The command asks the specific module
at address 01h to return the values of all DI channels.
DI channel 0 is ON and channel 1 is OFF since the return
value is 1 (01b).
#aaccdd
Name
Write DO Value to a Single Channel or All Channels
Description
This command sets a single or all digital output channels to
the specific module.
Syntax #aaccdd(cr)