beautypg.com

Send function, 4 f o rm ulas – HEIDENHAIN ND 2100G User Manual

Page 263

background image

ND 2100G GAGE-CHEK

263

2.4 F

o

rm

ulas

Send function

The Send function is used to transmit the current value of the
formula’s dimension or other numeric data over the USB or RS-232
serial port. USB and serial ports are configured for transmissions in the
USB and RS-232 setup screens.

To insert the Send function:

U

Press the OTHER... soft key

U

Press the XTRA dimension key

U

Use the arrow cursor keys to highlight Send

U

Press the ENTER key

Send function appended to a visible dimension.

Send function syntax

A = Formula;Send
Appends the Send function to a visible dimension formula. See
example 1.

A = Formula;Send(number,display resolution)
Extends the syntax of the Send function to transmit the value of a
number (constant) that can be evaluated as a number, and can also
include display resolution formatting.

A = Formula;Send(expression,display resolution)
Extends the syntax of the Send function to transmit the value of an
expression that can be evaluated as a number, and can also include
display resolution formatting. See example 2.

H1 = Send - Assigns the Send function to a hidden dimension.

H1 = Function(Send) - Assigns the Send function to a hidden
dimension within another function.

Example 1:

A = C4;Send

A = C4, and dimension A data is transmitted to a port.

Example 2:

A = C1;Send((B+D),0.001)

A = C1 and the value of the expression (B+D) is transmitted to a
port with 3 decimal places.

Example 3:

H1 = OnEventWide 1(Send)

Transmits data to a port when the LEFT WIDE key is pressed.