15 #aan(data) – Measurement Computing CB-COM-7021 User Manual
Page 45

45
CB-7021, CB-7022, CB-7024 User’s Manual
2.15 #AAN(Data)
Description:
Output Analog Value for Channel N
Note
: The command is for CB-7022 and CB-7024 only.
Syntax:
#AAN(Data)[CHK](cr)
#
Delimiter character
AA
Address of output module (00 to FF)
N
Output channel (0 to 1 for CB-7022, 0 to 3 for CB-
7024)
(Data)
Analog output value, reference Sec. 1.10 for its format.
Response:
Valid Command:
>[CHK](cr)
Invalid Command:
?AA[CHK](cr)
Ignore Command:

Syntax error or communication error may get no
response.
>
Delimiter for valid command
?
Delimiter for invalid command. When the (Data) is out
of range, and the output will go to the closest value in the
module’s range.
!
Delimiter for the module’s host watchdog status is set,
and the output command will be ignored.
AA
Address of response module (00 to FF)
Example for CB-7022:
Command: $012
Receive: !013F0600
Read address 01 configuration, returns multichannel output,
9600 bps and engineering unit format.
Command: $0190
Receive: !0110