                -----------------------------
                STURN1B.EXE - Input file spec
                -----------------------------

The input file must be a straight ASCII text file. Alpha characters
can be either upper or lower case. All numbers can have leading zeros.
Spaces can be used to pad out lines, but cannot be in the middle of
a number.
Each NC line may optionally start with a sequence number preceeded by
an 'N' prefix. But note that this will be ignored.
A 'G' or 'M' prefix must then follow.
Examples:         N4 M2
                  M02
This table lists the valid G and M codes together with a list of the
valid parameters for each:

G or M code      Paramters
-----------      -----------------------------------------------

 G00             X     X position
 fast trav.      Z     Z position

 G01             X
 linear trav.    Z
                 F     feedrate

 G02 & G03       X
 circ. clw       Z
 & cclw          R     radius
                 F

 G04             D     dwell time (secs)
 dwell

 G33             X     X position of other corner of thread
 threading       Z     Y     "         "         "
                 P     pitch
                 C     number of cycles to cut thread

 G70             no parameters
 imperial

 G71             no parameters
 metric

 G90             no parameters
 absolute

 G91             no parameters
 incremental

 M02             no parameters
 end prog.

 M03             S     spindle speed
 spindle on

 M05             no parameters
 spindle off

 M06             T     tool number (0 to 9)
 tool change
                ---------------------------
                An example Starturn program
                ---------------------------

G00X50.000Z50.000
M05
M06 T2
M03S1500
G00X12.250Z0.099
G01X12.200
G01Z-49.800F120.
G01X13.600
G02X14.024Z-49.976R0.600
G01X15.024Z-50.976
G02X15.200Z-51.400R0.600
G01Z-60.000
G01X16.200
G00Z0.099
G00X9.250
G01X9.200
G01Z-21.536F120.
G02X10.200Z-24.400R4.600
G01Z-49.400
G03X10.600Z-49.800R0.400
G01X13.200
G00Z0.099
G00X6.250
G01X6.200
G01Z-4.400F120.
G01Z-19.839
G02X10.200Z-24.400R4.600
G00Z0.099
G00X3.250
G01X3.200
G01Z-2.079F120.
G01X5.933Z-3.901
G02X6.200Z-4.400R0.600
G01Z-19.839
G02X7.200Z-20.087R4.600
G00Z0.099
G00X0.250
G01X0.200
G01Z-0.079F120.
G01X4.200Z-2.746
G00Z0.099
G00X0.017
G01X0.067
G01X1.200Z-0.746F120.
G00X16.200
M03S1000
G00X16.200Z0.033
G00X0.178
G01Z-0.067
G01X5.822Z-4.067F120.
G02X6.000Z-4.400R0.400
G01Z-20.018
G02X10.000Z-24.400R4.400
G01Z-49.400
G03X10.600Z-50.000R0.600
G01X13.600
G02X13.883Z-50.117R0.400
G01X14.883Z-51.117
G02X15.000Z-51.400R0.400
G01Z-60.000
G00X50.000Z50.000
M05
M06 T11
M03S1200
G00X0.000Z0.000
G00X11.164Z-48.023
G01X11.114
G01X8.424F80.
G00X11.114
G00X11.164
G00Z-49.152
G01X11.114
G01X8.424F80.
G00X11.114
G00X0.000Z0.000
M05
M06 T15
M03S250
G00X50.000Z100.000
G33X8.500Z-47.000P1.750C08
G00X50.000Z100.000
M05
M02
