beautypg.com

HEIDENHAIN ND 231 B v.1 User Manual

Page 33

background image

33

RS-232-C/V.24 Data Interface (X31)

Measured value output after “STX” signal (Ctrl B)

If the display unit receives the control character STX (Ctrl B)
over the RS-232-C/V.24 interface (X31), it outputs the current
measured value over the interface.

➤ Transfer the control character Ctrl B over the RXD line of

the RS-232-C/V.24 interface (X31).

Characteristic times for measured value output

Process

Time

Storage delay

t

1

1 ms

Measured value output after

t

2

50 ms

Regeneration time

t

3

0

Duration of measured value transfer

t

D

=

[s]

Propagation times for measured value output after “Ctrl B”

BASIC program for measured value output with “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%

90

X$=INPUT$(L%,#1)

100 LOCATE 9,1

110 PRINT X$;

120 GOTO 50

130 END

t

1

t

2

Ctrl B

t

D

t

3

Ctrl B

187 + (11 • number of blank lines)

baud rate