Cycle Start
0:00 / 0:00
Feed
Spindle
Rapid
MDI

Part drawing

Share

The program travels inside the link itself; nothing is uploaded anywhere.

Help

Cycle Start, Haas ST-20Y

A Haas lathe G-code editor and simulator, set up like an ST-20Y in metric. Everything is saved in this browser; Save keeps a program as a file.

Start here

  • Examples: First part, by hand explains every line. Open it and press ▶, or turn on Single block to go line by line.
  • Your own: + next to the tabs makes a new program. A tool (T0101), the spindle (G97 S1000 M03), moves (G00, G01 ... F0.2), then M30. X is a diameter; write the decimal point (X40.).
  • It is simulated as you type. Problems, under the code, say what is wrong and where; click one for why and what to do.

Write

  • Checked as you type; Fix in the problems list puts simple slips right.
  • Hover a code to see what it does. Ctrl+Space suggests codes; cycles insert a template.
  • Each tab is a program. ▶ marks the one that runs (a new one runs at once); the others can be called with M98.
  • Share makes a link with the program inside it. Nothing is uploaded.
  • Drawing: an ISO drawing of the finished part, as SVG or PDF.

Watch

  • 2D: a section through the part. Click a path to jump to its line.
  • 3D: drag to orbit, right-drag to pan, scroll to zoom.
  • Show ▾ picks what is drawn; Surface finish (2D) colours each surface by its Ra.
  • Load in the readout: the cut's power against the spindle's 14.9 kW.
  • The timeline marks tool changes and stops above it, problems below it.

Measure

  • M: hover a surface to read it, click to pin it, drag to another for the distance.
  • Sizes are exact, from the cutting itself. A pin stays where you put it; its value follows the part.
  • 3D reads what the live tools cut too, as the program would give it.

Run it like the machine

  • Single block stops after every block (a cycle: every pass). ▶ or Space is Cycle Start.
  • Option stop: M01 stops. Block delete: lines starting with / are skipped.
  • Full machine in 3D: the control's buttons and keys can be pressed. Cycle Start, Feed Hold, Reset, the emergency stop, the overrides, the jog keys, the jog handle (drag round it, or scroll over it), MDI typed on its keys.
  • The control's screen is laid out as Haas's: its display keys (Program, Position, Offset, Current Commands, Alarms, Diagnostic, Setting, Help, Graphics) pick the page, the cursor keys move through it. Edit edits the program word by word (Insert, Alter, Delete, Undo); the Memory Lock key locks programs, settings and offsets.
  • Reset stops the machine where it is, as on a Haas: the axes, the turret and the tailstock stay put, the spindle coasts to a stop, the coolant goes off, the overrides go back to 100%, and the program goes back to its start.
  • Power Up asks for the zero return order (A: X, the tailstock, Z, the turret; T: the turret alone). Recover backs out a tap that Reset or the emergency stop left in its hole. In Memory the cursor keys (or Handle Scroll) move the program's cursor and Cycle Start runs from that line, the program read up to it first (tool, offsets, codes). TS ← and → jog the tailstock (with TS Rapid at rapid); Second Home goes to Settings 268 to 270.
  • The covers open by hand: the coolant collector's door on the left end (lift it; let go below upright and it falls shut, over the top it stays open), the access panel on the right end (click it off, click it back on), the electrical cabinet's door at the back (swing it).
  • The door slides by its handle (drag it) when the machine stands. With it open nothing runs; Setup Mode (the key switch on the control's side) allows jogging.
  • Feed, Spindle and Rapid are the override keys: they act from the moment you press them.
  • Click left of a line number (F9) for a stop mark. Run to cursor: Ctrl+Shift+Enter.

The machine by hand

  • MDI: type blocks (T0101 G97 S800 M03) and press Enter, the Cycle Start: they run from where the machine stands.
  • Jog: a jog key moves a step, held it keeps going; or turn the handle, a step a click. With the spindle on, a jog into the part cuts it.
  • What you do by hand stays: the program runs from where the machine is. At its end ▶ runs it again on the part as it is; New bar puts a fresh one in, as does a change to the program.

C, Y and live tooling

  • The default turret has T09 face end mill Ø10, T10 cross end mill Ø8, T11 cross drill Ø6, T12 face drill Ø6.6.
  • Stop the spindle (M05), position with C or H, start the tool with M133 P..., feed in G98; M14 clamps.
  • G112 mills the face in X and Y, G107 round a diameter. G241 to G249 drill across, G95/G195 tap.

Long parts, both sides

  • Over 3 times its diameter a part is held by the tailstock: face, centre drill, M21; back with M22. Then Z first, X second.
  • + Side 2 on the view turns the part round: a program of its own that starts with the part this one leaves, in soft jaws, its zero in G55.
  • ▶ Both runs both sides on one timeline, the part change between them.
  • It follows the first program: change a diameter there and it starts from the new part. The drawing shows both ends.

Set up

  • Stock, Tools (by their ISO codes), Offsets and Settings are on the rail at the right. Pin a panel to keep it open.
  • Calculators: drill tips, threads, tapers, speeds and more. Click a result to copy it.
  • Auto touch-off keeps every tool right. Switch it off to see what a wrong offset does.

On a phone or tablet

  • Drag the panel by its grip to any size, or flick it open and shut. Tap its tab to hide it.
  • Tap a word to see what it means; the pencil or a double tap to type.
  • 2D: drag, pinch, double-tap to fit. 3D: one finger orbits, two zoom and move.
  • Measure: slide along the part with the magnifier, lift to pin.
  • Tap the position at the top for the whole readout. Hold a button to see what it does.
  • Single block, the overrides, MDI and jog are behind the sliders beside the speed.

Keys (outside the editor)

Spaceplay / pause
← →previous / next block (a cycle: by pass)
Home Endstart / end
Vswitch 2D / 3D
Ffit the view
Mmeasure the part
Ehide or show the G-code
Jthe jog pad; in it, the arrows jog X and Z (Shift: rapid)
Ctrl+Ssave the program
?this help