22 $aa8n – Measurement Computing CB-COM-7021 User Manual
Page 54
54
CB-7021, CB-7022, CB-7024 User’s Manual
2.22 $AA8N
Description:
Current Value of Channel N Readback
Note
: The command is for CB-7022 and CB-7024 only.
Syntax:
$AA8N[CHK](cr)
$
Delimiter character
AA
Address of reading module (00 to FF)
8
Command for read current output value
N
Channel to readback (0 to 1 for CB-7022, 0 to 3 for CB-
7024)
Response:
Valid Command:
!AA(Data)[CHK](cr)
Invalid Command:
?AA[CHK](cr)
Syntax error or communication error may not get
response.
!
Delimiter for valid command
?
Delimiter for invalid command
AA
Address of response module (00 to FF)
(Data)
Last output command value. See Sec. 1.9 for format.
Example for CB-7024:
Command: $012
Receive: !01320614
Read address 01 configuration, returns output type 0 to 10V,
9600 bps, engineer unit format and slew rate is 1.0V/Second.
Command: #010+10.000
Receive: !01
Set address 01 channel 0 output 10.0V, returns successful.
Command: $0160
Receive: !01+10.000
Read address 01 channel 0 last output command value, re-
turns 10.000.