beautypg.com

Propagation times, Ii – 6 measur ed v a lue output – HEIDENHAIN ND 287 User Manual User Manual

Page 114

background image

114

II Installation, specifications

II – 6 Measur

ed v

a

lue output

Measured-value output via the serial data
interface X31 or X32

Use the PRINT soft key or the CTRL B command to transmit the

currently displayed values in either Actual Value or Distance-To-Go

mode, whichever is currently active (see "Operating modes" on page

30), via either the RS-232-C/V.24 or the USB interface to a PC.

CTRL B

command:

RS-232-C/V.24 interface:

If the ND receives the CTRL B command over the RXD line of the

interface, it transmits the measured values back over the TXD line

(see "Data interface" on page 100).

USB Type B:

This interface supports bidirectional data communication. Data

transfer is started with the CTRL B command.

Data transfer:

The measured values can be received and saved using a terminal

program (e. g. HyperTerminal, which is included with Windows ®).

You can also use the TNCremo software. TNCremo is available

from HEIDENHAIN free of charge. You will find the software at
www.heidenhain.de

on the downloads page under

Documentation and Information

.

The basic program (see Fig. II.75) shows the fundamental structure

of a program for measured value output.

Propagation times

Danger to internal components!

The interfaces X31 and X32 comply with the requirements

of EN 50 178 for low voltage electrical separation.
Do not engage or disengage any connecting elements

while the unit is under power!

Fig. II.75 Basic program for measured value output

with CTRL B

Fig. II.76 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%

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

Event

Time

Latching delay t

1

t

1

1 ms

Measured-value output after t

2

t

2

50 ms

Regeneration time t

3

t

3

0 ms

This manual is related to the following products: