Axis commands

Axis designations are configurable and must be taken from the configuration-specific description [1]-5. When decoded, the notation is case-sensitive (uppercase/lowercase).

The following axis designations are available:

Example

example

The axis designations "X" and "X50P1" exist in the NC channel and axis "X" should be moved to position "50".

X50P1=7

(ERROR)

X50P1 axis moves to position 7.

X50 P1=7

(RIGHT)

X axis moves to position 50.

Notice

notice

An equals sign must follow axis identifiers that contain more than one character.

X1 = <int, double, expr>

Examples:

 

X1 = 100.0

 

X22 = 0,001

 

X_SCHLITTEN = SIN [30]

 

Z_ACHSE = SQRT [2]/2

The following declarations also apply:

X <int, double, expr>

Examples:

 

X 100.0

 

Y 0.001

 

Z SIN [30]

 

A SQRT [2]/2

 

B 4 * R1/R2

Programing Example

prg_example

Axis commands

;Axis identifiers used:

;Y, Y50, Y_ACHSE_SCHL_1, Z7

N010 G01 F1500

N020 Y50 = 51                     ;Axis Y50 to position 51

N030 Y52                          ;Axis Y to position 52

N040 Y50 Z7 = 54                  ;Axis Y to position 50 and

                                  ;Axis Z7 to position 54

N050 Y 70 Z7 = 55                 ;Axis Y to position 70 and

                                  ;Axis Z7 to position 55

N060 Y = 71 Z7 = 56               ;Axis Y to position 71 and

                                  ;Axis Z7 to position 56

N070 Y[2+3]                       ;Axis Y to position 5

N080 Y50 = [4*3]                  ;Axis Y50 to position 12

N090 Y_ACHSE_SCHL_1 = 23          ;Axis Y_ACHSE_SCHL_1 to

                                  ;Position 23

N100 Y50 = P1                     ;Axis Y50 to position P1

N110 M30

This programming manual uses the common designations X, Y, Z for the three linear axes of a Cartesian system and A and B for two further path axes.