HEIDENHAIN ND 281B User Manual page 50

Measured value displays
Table of Contents

Advertisement

Measured value output with CTRL B
If the display unit receives the control character STX (Ctrl B)
over the RS-232-C/V.24 interface, it transmits the current
measured value back over the interface. Ctrl B is received
over the RXD line of the interface and the measured values
are transferred over the TXD line.
The measured values can be received and saved using a
terminal program (e.g. HyperTerminal, which is a component
of Windows®).
The basic program at the upper right shows the fundamental
structure of a program for measured value output.
Characteristic times for measured value output
Process
Storage after
Measured value output after
Regeneration time
These times are prolonged if functions are active
(for example, series of measurements with DIFF
value display).
Duration of measured value transfer
187 + (11 • number of blank lines)
50
t
=
D
baud rate
BASIC program for measured value output with "Ctrl B"
Time
£
t
1 ms
1
£
t
50 ms
2
³
t
0
3
[s]
Propagation times for measured value output after "Ctrl B"
10
L%=18
20
CLS
30
PRINT "V.24/RS-232-C"
40
OPEN "COM1:9600,E,7" AS#1
50
PRINT #1, CHR$ (2);
60
IF INKEY$<>""THEN 130
70
C%=LOC(1)
80
IF C%<L%THEN 60
90
X$=INPUT$(L%,#1)
100 LOCATE 9,1
110 PRINT X$;
120 GOTO 50
130 END
Ctrl B
t
1
t
2
Ctrl B
t
3
t
D

Advertisement

Table of Contents
loading

Table of Contents