Cnc programming – Lenze ETC Motion Control User Manual

Page 171

Advertising
background image

CNC programming

G functions

G functions individual descriptions

3

3.2

3.2.2

l

171

EDSTCXN EN 2.0

The position and the format of the parameters to be inserted must be
indicated at the desired position in the text string in accordance with the
following rules.

%[flags][width][accuracy]type

Flags

<nothing>

right−justified, leading blanks/zeros

left−justified, subsequent zeros

+

always issue sign (including +)

" "

only issue neg. sign

#

for le, lE, lf : always output decimal point

for lg, lG:

Always output decimal point but without following zeros

Width

0n

min n−positions, preceding with zeros

n

min n−positions, preceding with " "

Accuracy

<nothing>

6 positions at le,lE,lf

.0

e,E,f do not output any decimal point

.n

max. n−decimal positions

Type

lf

Floating point [−]dddd.ddd

le

Floating point [−]d.ddd e[

±

]ddd

lg

like le or lf; depending on accuracy automatic change−over of the display

lE

like le, with "E" before the exponent

lG

like lg, with "E" before the exponent

%

the % character should be displayed

As parameters, parameter field indexes can be assigned under A, B and C
with indirect programming (A=P...), where the alphabetic sequence is also
the sequence during conversion.

If the address E is programmed, an error handling graded according to the
value programmed under E is started. Here, the text in the comment or
anchored under F= text is output as the error text. The allowed values for E
are 101 ... 499. The hundreds digit of the value programmed under E is
interpreted as an "error loading". 2000 is added to the value specified under
E, and displayed as an error message with the module identification 3
(interpreter) on the operator device.

If E is programmed, the specifications under X, Y and Z are ignored. If E is not
programmed, no error handling takes place.

Advertising