beautypg.com

14 $aa8 – Measurement Computing CB-COM-7021 User Manual

Page 43

background image

43

CB-7021, CB-7022, CB-7024 User’s Manual

2.14 $AA8

Description:

Current Readback

Note

: The command is for CB-7021/21P only.

Syntax:

$AA6[CHK](cr)

$

Delimiter character

AA

Address of reading module (00 to FF)

8

Command for current readback

Response:

Valid Command:

!AA(Data)[CHK](cr)

Invalid Command:

?AA[CHK](cr)

Syntax error or communication error may get no re-
sponse.

!

Delimiter for valid command

?

Delimiter for invalid command

AA

Address of response module (00 to FF)

(Data)

The current output value. Refer to Sec. 1.9 for format.

Example:
Command: $012

Receive: !01320614

Read address 01 configuration, returns output type 0 to 10V,

9600 bps, eng. unit format and slew rate is 1.0V/Second.

Command: #0110.000

Receive: !01

Set address 01 output 10.0V, returns successful.

Command: $016

Receive: !0110.000

Read address 01 last output command value, returns 10.000.

Command: $018

Receive: !0101.000

Read address 01 current value, returns 1.0V.

Command: $018

Receive: !0101.500

This manual is related to the following products: