beautypg.com

Communication settings, Command syntax, 2 communication settings – ROTRONIC MBW 473 User Manual

Page 40: 3 command syntax, General use, Termination characters

background image

36

MBW473_MANUAL_E_V2.0

6.2 Communication Settings

To communicate with the 473, set your computer to the following configuration:

Baud Rate:

9600

Data Bits:

8

Stop Bits:

1

Handshaking:

None

6.3 Command Syntax

This section details the general syntax guidelines regarding termination, leading and trailing spaces,
case sensitivity, and numeric values. Throughout this section, characters originating from the comput-

er will be shown for illustrative purposes in

this font. Characters originating from the 473 will be

shown in this font.

General Use

All commands require a question mark to indicate you are requesting data. When requesting data from

the 473, follow the command with

?, the question mark character. For example, the following requests

the current pump status.

Pump.on?

The 473 will reply with the current pump status (1 = on, 0 = off).

Termination Characters

All commands must be terminated with either a carriage return

C

R

or a carriage return linefeed combi-

nation

C

R

L

F

.

Regardless of the command sent, the 473 will reply with a carriage return linefeed

C

R

L

F

at the end of

the response, provided the command is recognized as valid. Here is an example:

DP?

C

R

(sent by the computer to the 473)

-10.015

C

R

L

F

(sent by the 473 back to the computer)

If the command is unrecognized, the 473 does not respond. See example below.

Abcdef?

C

R

(invalid command sent from the computer)

(no response from the 473)