beautypg.com

Smithy CNC Mills User Manual

Page 21

background image

SmithyCNC Programmer’s Reference Manual:G Codes

SmithyCNC Programmer’s Reference Manual: G-Codes

2-6

2.4 G33: Spindle-Synchronized Motion

For spindle-synchronized motion, code G33 X- Y- Z- K- where K gives the distance

moved in XYZ for each revolution of the spindle. This syntax is subject to

change (In particular, to use F- instead of K-). For instance, G33 Z1 K.0625 pro-

duces a 1 inch motion in Z over 16 revolutions of the spindle. This command might

be part of a program to produce a 16TPI thread.

All the axis words are optional, except that at least one must be used. This will pro-

duce coordinated linear motion to the destination point at a rate dependant on

the speed of the spindle.

It is an error if:

* all axis words are omitted.

* the spindle is not turning when this command is executed

* the requested linear motion exceeds machine velocity

limits due to the spindle speed

2.5 G4: Dwell

For a dwell, program G4 P- . This will keep the axes unmoving for the period of

time in seconds specified by the P number. It is an error if:

* the P number is negative.

2.6 G10: Set Coordinate System Data

The RS274/NGC language view of coordinate systems is described in

Section[sub:Coordinate-Systems].

To set the coordinate values for the origin of a coordinate system, program G10 L2

P - X- Y- Z- A- B- C-, where the P number must evaluate to an integer in

the range 1 to 9 (corresponding to G54 to G59.3) and all axis words are optional.

The coordinates of the origin of the coordinate system specified by the P number

are reset to the coordinate values given (in terms of the absolute coordinate sys-

tem). Only those coordinates for which an axis word is included on the

line will be reset.

It is an error if:

* the P number does not evaluate to an integer in the

range 1 to 9.