beautypg.com

HEIDENHAIN ND 221 B v.2 User Manual

Page 42

background image

42

Remote Operation over the RS-232-C/V.24 Data Interface

Output of software number:

The current software number is transmitted.

3 4 9 7 9 7 - 0 4

String: STX;

10 characters; CR; LF;

Output of status indicators:

The condition of the status display is transmitted.
Example:
0 = Status indicator dark
1 = Status indicator glows
2 = Status indicator blinks

0 1 0 0 1 0 0 0 0 0 0 0 0 0

a b c d e f g

String: STX;

14 characters; CR; LF;

a = REF (reference point)
b = datum 1
c = datum 2
d = SET (set datum)
f = PRINT (data output)
g = inch (inch display)

Execute functions (FXXX commands):

The display unit acknowledges every correctly received
command by transmitting the control character ACK

(Acknowledge, Control F). Then it executes the command. It
answers unrecognized or invalid commands by sending the
control character NAK (No acknowledge Control U).

Print

Output of the current measured value. The measured value
(string) is transmitted as described in the manual (page 30).
Same function as calling the measured value with STX
(Control B).

Special functions (SXXX commands):

Counter RESET:

The software resets the counter and the counter restarts.
(Function same as switching the display unit off and on.)

Locking the keypad:

The display unit acknowledges the special function by sending
the control character ACK (acknowledge). All keys of the
display unit are locked. Now the counter can be operated
only over the external RS-232-C/V.24 interface and X41.
The keyboard can be unlocked either by sending the special
function "Unlock keyboard" or by switching the display unit
off and on.

Unlocking the keypad:

The display unit acknowledges the special function by sending
the control character ACK (acknowledge). This unlocks a
keyboard that has been locked with the special function "Lock
keyboard."

This manual is related to the following products: