beautypg.com

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

Page 264

background image

264

2 Installation and Specifications

2.4 F

o

rm

ulas

SendMsg function

The Send Msg function is used to transmit text or ASCII codes over
the RS-232 port.

Text messages and ASCII codes are entered into the Alpha Entry
screen.

To insert the SendMsg function:

U

Press the OTHER... soft key

U

Press the XTRA dimension key

U

Use the arrow cursor keys to highlight SendMsg

U

Press the ENTER key

U

Use the Alpha Entry screen to create a message

or

U

Press the ASCII soft key to enter ASCII codes into the Alpha Entry
screen

U

Press the FINISH key

SendMsg function appended to a visible dimension.

SendMsg function syntax

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

H1 = SendMsg
Assigns the SendMsg function to a hidden dimension.

H1 = Function(SendMsg)
Assigns the SendMsg function to a hidden dimension within
another function. See example 2.

Example:1

A = C1;SendMsg”Hello world”

A = C1 and the message “Hello world” is transmitted to the RS-232
port.

Example 2:

H1 = OnEventWide 1(SendMsg)

Transmits a message when the LEFT WIDE key is pressed.