Axis commands

Axis designations can be configured and must be taken from the configuration-specific description. During their decoding, a differentiation must be made between upper and lower cases.

Following axis designations are available:

After the programming of an axis designation, which is made of only one address character, there should be a space between the position value and the next character, in order not to cause any mix-up during a subsequent assignment with the equal-sign.

Example:

There are the axis designations "X" and "X50P1" in the NC-channel and axis "X" should be traversed to position "50".

X50P1=7

(ERROR)

X50P1-axis is traversed to position 7.

X50 P1=7

(CORRECT)

X-axis is traversed to position 50.

The first character of the string must correspond to one of the reserved address characters (see above). As further characters also the numbers 0 - 9 may be used. The string length of the axis designation must not exceed the maximum possible length (firmly given), otherwise an error message is output. To avoid confusion, after all axis designations with more than one character, an equal sign must be added in front of the position statement. Especially for axis designations ending with one of the numbers 0 - 9 this is indispensable.

X1 = <int, float, expr>

Examples:

X1 = 100.0

X22 = 0.001

X_SCHLITTEN = SIN [30]

Z_ACHSE = SQRT [2]/2

Further, declarations:

X <int, float, expr>

Examples:

X 100.0

Y 0.001

Z SIN [30]

A SQRT [2]/2

B 4 * R1/R2

Programming example

(Used axis designations)
( Y )
( Y50 )
( Y_ACHSE_SCHL_1 )
( Z7 )
N010 G01 F1500
N020 Y50 = 51 (axis Y50 on position 51)
N030 Y52 (axis Y on position 52)
N040 Y50 Z7 = 54 (axis Y on position 50 and)
(axis Z7 on position 54)
N050 Y 70 Z7 = 55 (axis Y on position 70 and)
(axis Z7 on position 55)
N060 Y = 71 Z7 = 56 (axis Y on position 71 and)
(axis Z7 on position 56)
N070 Y[2+3] (axis Y on position 5)
N080 Y50 = [4*3] (axis Y50 on position 12)
N090 Y_ACHSE_SCHL_1 = 23 (axis Y_ACHSE_SCHL_1 on position 23)
N100 Y50 = P1 (axis Y50 on position P1)
N110 M30

In this programming manual, the commonly used designations X, Y, Z are used for the three linear axes of a Cartesian system and A, B for two further axes.