- Posts: 3410
- Thank you received: 0
Switching over from an older controller
7 years 5 months ago #134731
by BigJohnT
Replied by BigJohnT on topic Switching over from an older controller
If you want to ponder at the generated G code file from this screenshot I've attached it.
JT
Attachment not found
JT
Please Log in to join the conversation.
7 years 5 months ago #135197
by andypugh
One way to do this is to start each part program with a G92 X0 Y0 and then finish them with G92.1 (or G92.2)
linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g92
You can then position the machine in any way you want (G code or jogging) and the part G-code will rin as if the origin was at the tool position when the part was started.
I have a few things like D-sub holes programmed this way.
Replied by andypugh on topic Switching over from an older controller
Glemigobles wrote: I could layout different files on one sheet or just one that was repeated a number of times that was based on the length of the stock on the table.
One way to do this is to start each part program with a G92 X0 Y0 and then finish them with G92.1 (or G92.2)
linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g92
You can then position the machine in any way you want (G code or jogging) and the part G-code will rin as if the origin was at the tool position when the part was started.
I have a few things like D-sub holes programmed this way.
Please Log in to join the conversation.
Time to create page: 0.036 seconds
