This is an educational overview of the logic behind a bar puller program, not a runnable program for your machine. The collet and chuck commands differ by lathe, and pulling stock is a real safety consideration, so always use your specific machine manual and work under supervision.
A bar puller is a clever, low-cost trick. Instead of a powered bar feeder, you put a simple spring or gripper tool in the turret. Between parts, the program uses that gripper to pull fresh bar out of the open collet a set distance, ready for the next cycle.
The logic of the program
Strip away the machine-specific codes and the sequence is short:
- Open the collet or chuck (a machine-specific command).
- Rapid the gripper to the bar at a safe approach point.
- Grip the stock, often by feeding onto it.
- Pull the bar out a set distance with a controlled feed move.
- Release and retract the gripper clear.
- Close the collet and continue the part program.
The motion codes are the familiar ones: a rapid (G00) to approach and a feed (G01) for the controlled pull, which is exactly why G00 vs G01 matters here. What is not universal is how the collet opens and closes, which is the part you take from your machine manual.
Codes vs machine-specific commands
| Step | Type | Notes |
|---|---|---|
| Approach the bar | G00 rapid | Standard motion |
| Pull the stock | G01 feed | Controlled, set distance |
| Open / close collet | Machine-specific | Varies by lathe and control |
| Retract gripper | G00 rapid | To a safe position |
Where this fits for a learner
Bar puller programs are a turning-side topic that builds on the common G-codes and common M-codes. Get those automatic first with beginner CNC code practice, and treat the collet commands as machine-specific knowledge. A free tool like G-Code Sprint drills the foundational codes; the bar puller specifics come from your lathe’s manual.
Bottom line
A bar puller pulls fresh stock from the open collet using simple rapid-and-feed motion plus machine-specific collet commands. The logic is short, but the collet codes and the safety of pulling stock are specific to your machine, so follow its manual.
Sources
Frequently asked questions
What is a bar puller on a lathe?
A gripper held in the tool turret that pulls fresh bar stock out of the open collet or chuck a set distance, readying the next part. It is a low-cost alternative to a powered bar feeder for shorter runs.
What does a bar puller G-code program do?
It opens the collet, rapids the gripper to the bar, grips it, feeds the stock out a set distance, releases, and retracts. The motion is simple; the collet open and close commands depend on the specific machine.
Is bar puller code the same on every lathe?
No. The motion logic is similar, but the codes that open and close the collet or chuck differ by machine and control. Always use the codes and procedure from your specific lathe’s manual.
G-Code Sprint is a study and practice tool only. It is not a CNC simulator, machine controller, or safety authority. Always follow your instructor, employer, machine manual, and shop safety procedures.