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

157
Chapter 6
#aacc
Name
Read AI Value from One Channel
Description
Returns the input data from a specified analog input channel
in a specified module.
Syntax #aacc(cr)
# is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave address of the ADAM-6000 module you want to
interrogate. (Always 01)
cc (range 00-05) represents the specific channel you want to
read the input data.
(cr) is the terminating character, carriage return (0Dh).
Response
>(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.
(cr) is the terminating character, carriage return (0Dh).
Example command:
#0103(cr)
response: >+10.000
Analog input channel 3 of the ADAM-6024 module at
address 01h responds with an input value +10.000.
$aaDcc
Name
Read AO Startup Value from One Channel
Description
Returns the startup value from a specified analog output
channel in a specified module.
Syntax $aaDcc(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave address of the ADAM-6000 module you want to
interrogate. (Always 01)
D represents the analog output channel startup command.
cc (range 00-01) represents the specific channel you want to
read the startup value.
(cr) is the terminating character, carriage return (0Dh).