Cnc programming – Lenze ETC Motion Control User Manual

Page 170

Advertising
background image

CNC programming

G functions
G functions individual descriptions

3

3.2
3.2.2

l

170

EDSTCXN EN 2.0

3.2.2.81

G253 Output of a comment, optional with program termination

The text specified in the G function is displayed on the connected control
computer. If an error number is specified, the current program can also be
canceled.

G253 A B C E X Y Z F ( )

a

First display parameter

b

Second display parameter

C

Third display parameter

E

error number to be displayed on the control computer

F

Text number or a format statement in connection with ".."

X

Column of the display

Y

Line of the display

Z

Character size for the display

G253 is a function for displaying a text or an error message at a predefined
position and in a predefined size (application−dependent; standard: status
line via softkeys in normal size) on the control computer. X can be used to
select another column position and Y can be used to select another line
position for the text output. In addition, an alternative character size can be
defined under Z.

The first and most simple use of the function is to enter the text to be output
in comment characters "(", ")" in the same line as G253. It must be noted that
no parameters are evaluated anymore until the end of the line after the
comment.

The second possibility of displaying the text is to specify a text number under
F. In this case, the control computer displays the text stored under the
specified number.

The third variant also enables the inclusion of up to three numerical values
into the text, which are specified under A, B and C. For this, the specification
of the output text must be programmed under F= in quotation marks ("...").
In contrast to the comment, the format statement can appear at any
position in the block. An additional comment is only interpreted as a
comment if there is a format statement.

)

Note!

G253 is only allowed in the first NC channel. G253 is ignored in
the block search.

Syntax

Meaning of the addresses

Explanation

Advertising