23
RS-232 Output and Input
Configuring HyperTerminal®:
Open your HyperTerminal® RS-232 terminal program (installed under the “Accessories” menu on
1.
all Microsoft® Windows® operating systems).
Select “Properties” from the file menu.
2.
Click on the “Configure” button under the “Connect To” tab. Be sure the program is set for: 19,200
3.
baud (or matches the baud rate selected in the RS-232 communications menu on the gauge) and
an 8-N-1-None (8 Data Bits, No Parity, 1 Stop Bit, and no Flow Control) protocol.
Under the “Settings” tab, make sure the Terminal Emulation is set to ANSI or Auto Detect.
4.
Click on the “ASCII Setup” button and be sure the “Send Line Ends with Line Feeds” box
5.
is not checked
and the “Echo Typed Characters Locally” box and the “Append Line Feeds to Incoming Lines” boxes
are checked. Those settings not mentioned here are normally okay in the default position.
Save the settings, close HyperTerminal® and reopen it.
6.
In Polling Mode, the screen should be blank except the blinking cursor. In order to get the data streaming
to the screen, hit the “Enter” key several times to clear any extraneous information. Type “*@=@”
followed by “Enter” (or using the RS-232 communcation select menu, select @ as identifier and exit the
screen). If data still does not appear, check all the connections and com port assignments.
Changing From Streaming to Polling Mode:
When the gauge is in the Streaming Mode, the screen is updated approximately 10-60 times per
second (depending on the amount of data on each line) so that the user sees the data essentially in
real time. It is sometimes desirable, and necessary when using more than one unit on a single RS-232
line, to be able to poll the unit.
In Polling Mode the unit measures the pressure normally, but only sends a line of data when it is
“polled”. Each unit can be given its own unique identifier or address. Unless otherwise specified each
unit is shipped with a default address of capital A. Other valid addresses are B thru Z.
Once you have established communication with the unit and have a stream of information filling your
screen:
Type *@=A followed by “Enter” (or using the RS-232 communcation select menu, select A as identifier
1.
and exit the screen) to stop the streaming mode of information. Note that the flow of information will
not stop while you are typing and you will not be able to read what you have typed. Also, the unit
does not accept a backspace or delete in the line so it must be typed correctly. If in doubt, simply hit
enter and start again. If the unit does not get exactly what it is expecting, it will ignore it. If the line
has been typed correctly, the data will stop.
You may now poll the unit by typing A followed by “Enter”. This does an instantaneous poll of unit
2.
A and returns the values once. You may type A “Enter” as many times as you like. Alternately you
could resume streaming mode by typing *@=@ followed by “Enter”. Repeat step 1 to remove the
unit from the streaming mode.
To assign the unit a new address, type *@=New Address, e.g. *@=B. Care should be taken not to
3.
assign an address to a unit if more than one unit is on the RS232 line as all of the addresses will be
reassigned. Instead, each should be individually attached to the RS-232 line, given an address, and
taken off. After each unit has been given a unique address, they can all be put back on the same
line and polled individually.
Содержание 16 Series
Страница 32: ...32 P Series All standard ranges P Series Differential Pressure All standard ranges 2 3 0 ...
Страница 33: ...33 PC Series All standard ranges PC Series Differential Pressure All standard ranges 2 ...
Страница 34: ...34 0 PC3 Series All standard ranges PCR3 Series All standard ranges ...
Страница 35: ...35 5 7 6 8 7 8 PCR Series Differential Pressure 5inH2O PCR Series Most standard ranges ...
Страница 36: ...36 PCD Series All standard ranges PCD Series Differential Pressure All standard ranges ...