11
A standard RS232 connection is provided for interfacing the instrument
with a computer, printer or other R300's. Data is sent or received in the
ASCII code at a programmable BAUD rate of 150...4800 b/s (8 bit, no
parity, 1 start and 2 stopbits, automatic line feed ON, data transfer protocol
X-ON/X-OFF).
TxD, transmit data to terminal (+) of (IN)(RS232).
TxD, signal ground to terminal (-) of (IN)(RS232).
RxD, receive data to terminal (+) of (OUT)(RS232).
RxD, signal ground to terminal (-) of (OUT)(RS232).
Digital output
Computer
connection
Interfacing with a computer:
Any desired command can be included in a computer data acquisition
program. Follow exactly the same measuring or calibration procedures as
described in this manual. The instrument is able to recognise commands
in two ways:
Simple
: the simple method can be used when only one controller is
connected to the computer (identification number should be zero!). Send
a single character to the instrument and it will immediately execute the
corresponding command as follows:
1
=
press
SET
.
2
=
press
¿
.
3
=
press
À
.
4
=
press
CAL
.
?
=
send display to computer.
+
=
keyboard on (manual operation remains possible).
-
=
keyboard off (manual operation disabled).
V =
start the input of a value (only valid in certain routines).
This example makes the computer press
SET
in the simple mode:
10 OPEN "COM1:2400,N,8,2" AS #1 'prepares communication port
20 PRINT #1,"1"
'
SET
key pressed
Sophisticated
: this method is used for all types of communications such
as a network of several R300's connected to the computer. The
commands should always be preceded by the identification number of the
controller concerned (see Set-up):
#xxx =
"#" + identification number (xxx) in ASCII code. All blank (ASCII-
32) or CR (ASCII-13) characters following the identification
number are ignored!
C1
=
press
SET
.
C2
=
press
¿
.
C3
=
press
À
.
C4
=
press
CAL
.
C?
=
send display to computer.
C+
=
keyboard on (manual operation remains possible).
C-
=
keyboard off (manual operation disabled).
V
=
start the input of a value (only valid in certain routines).
LF
=
linefeed (ASCII-10), closes a command or input and permits the
instrument to receive a next command.