beautypg.com

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

Page 23

background image

23

CB-7012, CB-7014, CB-7017 User’s Manual

2.1 %AANNTTCCFF

Description: Set Module Configuration

Syntax: %AANNTTCCFF[CHK](cr)

%

a Delimiter character

AA

Address of module to set (00 to FF)

NN

new Address for module to set (00 to FF)

TT

new type for module to set (Ref. Sec. 1.10)

CC

new baudrate for receiving module (Ref. Sec. 1.10). Short

INIT* to ground when changing baudrate. (Ref. Sec. 3.1)

FF

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

Short INIT* to ground when changing checksum setting.

(Ref. Sec. 3.1)

Response: Valid Command:

!AA[CHK](cr)

Invalid Command:

?AA[CHK](cr)

Syntax or communication error may get no response.

!

Delimiter for valid command

?

Delimiter for invalid command. If you change baud

rate or checksum setting without shorting INIT* to ground,

the module will return an invalid command.

AA

Address of responding module (00 to FF)

Example:

Command: %0102080600

Receive: !02

Change Address from 01 to 02, return successful.

Command: %0202080602

Receive: !02

Change data format from 00 to 02, return successful.

This manual is related to the following products: