Measured value output – HEIDENHAIN ND 920 User Manual

Page 59

Advertising
background image

59

Delay times for data output

Storage delay

t

1

0.5 ms

Data output after

t

2

30 ms

Regeneration time

t

3

0 ms

Duration of data output in seconds:

t

D

=

Next possible signal for measured value output:
t

E

= t

1

+t

2

+ t

D

+ t

3

[s]

Measured value output with CTRL B

If the control character STX (CTRL B) is received over the RS-232-C
interface, the measured value referenced to this time point will be sent
over the interface. CTRL B is received over RXD and the measured
values are output over TXD.

t2

t3

tD

CTRLB

CTRLB

t1

176 x number of axes + 11 x number of blank lines

Baud rate

BASIC program for measured value output:
10

L%=48

20

CLS

30

PRINT "V.24/RS232"

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

Measured Value Output

Advertising
This manual is related to the following products: