General Codes (F, N, Q, X, Y, Z, A, B, C)
F
F<v
>
Set velocity to v
. Applies to the current block and all succeeding blocks until a new velocity is programmed. The unit for velocity selected currently is used. (See section unitVelocitySet for details.) The default velocity is 0
.
The velocity must be set to a nonzero value before a movement is programmed. Otherwise, an error is issued. |
Example:
The first two segments N10
and N20
are processed with a velocity of 6000
mm/min, and the last segment N30
is processed with a velocity of 3000
mm/min.
N10 G01 X100 F6000
N20 G01 X200
N30 G01 X300 F3000
M02
N
N<v>
Set the block number to v
. Typically, the block number is used to monitor the progress of the NC-program.
Q
Q<i>=<v>
Set the value of axis Q<i>
to v
where i
must lie in the range 1
to 5
. The Q
-axes use linear interpolation.
The address letters |
The address |
Example:
The path of the following example is shown in Figure “ExampleQ”. The Q
-axes are interpolated linear with the interpolation of a movement. The last block (N40
) results in a linear interpolation of a Q
-axis without a concurrent movement.
N10 G01 X30 Y0 Q1=100 F6000
N20 G02 X50 Y20 I20 Q2=200
N30 G01 X60 Q1=300 Q2=300
N40 Q1=0
M02
Figure “ExampleQ”.
X
X<v>
Sets the X
-coordinate of the next point to v
. The current length unit is used for v
.
Y
Y<v>
Sets the Y
-coordinate of the next point to v
. The current length unit is used for v
.
Z
Z<v>
Sets the Z
-coordinate of the next point to v
. The current length unit is used for v
.
A
A<v>
Sets the A
-angle of the next orientation to v
. The current angle unit is used for v
.
B
B<v>
Sets the B
-angle of the next orientation to v
. For v
the current angle unit is used.
C
C<v>
Sets the C
-angle of the next orientation to v
. For v
the current angle unit is used.