4 block extensions, 1 parameter assignment p, Block extensions – Lenze ETC Motion Control User Manual
Page 174: Parameter assignment p, Cnc programming
CNC programming
Block extensions
Parameter assignment P
3.4
3.4.1
l
174
EDSTCXN EN 2.0
3.4
Block extensions
The blocks may be enhanced by one or several additional functions, which
are indicated by the address letters H, M, P, Q, S and T. The functions may be
programmed for individual blocks or for several blocks. They may also occur
alone in a block.
If several functions are specified at the same time, they are processed in the
fixed sequence H, P, T, S, M, Q.
3.4.1
Parameter assignment P
In every block, simple parameter assignments can be programmed directly,
without G function or formula processor. However, for complex
assignments containing arithmetic operations, the formula processor must
be used.
The parameter field assignment can also be programmed several times
within a block. This can be used, among other things, during subprogram
calls in order to transfer several parameters. The parameter field assignment
is always executed as the first operation in a block, independent of the
position in the block at which it is programmed.
Possible assignment variants are:
P2000=17: The number 17 is stored in parameter 2000.
P2000=P0: The contents of P0 are assigned to parameter 2000.
PP1500=3.5: The value 3.5 is assigned to parameter, whose index is specified
in P1500.
P2000=PP10: The contents of the parameter are assigned to P2000, whose
index is entered in P10.
PP10=PPP11: The value of the parameter field, whose index is contained in
the parameter field, whose index is stored in P11, is assigned to the
parameter, whose index is displayed in P10.
N10 G0 X3.14 P4000=0 P2000=P0
P3000=PP200 P3100=123.2 P3333=P100
G22 L7999 P2000=1 P2001=P1
Example