23
11 May, 2006 DMC-A2 Series (ALD-00029)
Macro Sensors Tel. (856) 662-8000
www.macrosensors.com
Serial Communications (cont.)
5) In the Port Settings dialog click the arrow on the
Bits per second window and click 9600.
6) Click the arrow on the Data bits window and click
8.
7) Click the arrow on the Parity window and click
None.
8) Click the arrow on the Stop bits window and click
1.
9) Click the arrow on the Flow control window and
click None.
10) Click OK.
The HyperTerminal Properties dialog
appears.
11) Click the Settings tab.
12) In the Emulation list box, click Auto detect.
The other settings are not relevant to this
procedure and can be left as they are.
13) Click on the ASCII Setup button.
The ASCII Setup dialog opens.
14) In the ASCII Sending group box, click the Echo
typed characters locally check box.
The other settings are not relevant to this
procedure and can be left as they are.
15) In the ASCII receiving group box, make sure the
Append line feeds to incoming line ends check
box is not checked.
16) Click OK.
The ASCII Setup dialog closes.
17) Click OK on the New Connection Properties
dialog.
The New Connection Properties dialog closes.
STEP B Check Communications Between the Meter and
the PC
1) Type the following in the terminal program:
SR*
The current meter reading is displayed on the
PC screen.
STEP C Configure the Print String by Writing to
Register X
1) Set the print string by selecting the register
data to be downloaded by writing to register X.
For example, to set the print string to download
the current display value (from display register
2) and peak value (from peak register 12), type
the following:
SWX ~2 ~12* (the spaces must be included).
This means that the data from the meter will
display on the PC screen when the PRINT
trigger is activated.
STEP D Set the Meter to the PRINT Mode
1) Set Code 3 to [XX3] in the meter’s main
programming mode.
This allows the meter to send the measurement
data to the PC.
STEP E Download the Data from the Meter to the PC
1) Type the following in the terminal program:
P
The P requests the meter to download the
configured print string.
STEP F Capture the Meter Measurement Data on the
PC
1) On the Transfer menu, click Capture Text.
The Capture Text dialog opens.
Kommentare zu diesen Handbüchern