beautypg.com

1 %aannttccff – Measurement Computing CB-COM-7021 User Manual

Page 29

background image

29

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

2.1 %AANNTTCCFF

Description:

Set module Configuration

Syntax:

%AANNTTCCFF[CHK](cr)

%

Delimiter character

AA

Address of setting module (00 to FF)

NN

New address for setting module (00 to FF)

TT

New type for setting module (Ref Sec. 1.10)

CC

New baud rate for setting module (Ref Sec. 1.10)

FF

New data format for setting module (Ref Sec. 1.10)

When changing the baud rate or checksum, short the

INIT* pin to ground.

Response:

Valid Command:

!AA[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. While changing baud rate

or checksum setting without shorting INIT* to ground, the
module will returns an invalid command message.

AA

Address of response module (00 to FF)

Example:
Command: %0102300600

Receive: !02

Change address from 01 to 02, returns successful.

Related Command

:

Sec. 2.2

$AA2

Related Topics

:

Sec. 1.10

Configuration Tables, Sec. 3.1 INIT* pin Operation

This manual is related to the following products: