Quote Originally Posted by BNR_RANDY View Post
This is for a lathe, 2 axis
Bob-Cad will only let you select canned cycle or separate lines once per drill operation. I did not like the spot drill to post a canned cycle. I edited my Siemens post to replace the canned cycle with just straight G-code. Seems to work fine. I cannot think of why I would not want to do this. If I'm not peck drilling it's most likely a shallow depth hole so it's just G1 Z-x.xxx Fx.xxx then next line is G0 Z0.1

1124. Standard Drill Canned Cycle. Straight G-Code Version
n,"X0.0 ", "F",program_block_20
n,"Z",program_block_1
n,"G1 Z",program_block_5
n,"G0", "Z",program_block_1


1125. Standard Drill Canned Cycle with Dwell. Straight G-Code Version
n,"X0.0 ", "F",program_block_20
n,"Z",program_block_1
n,"G1 Z",program_block_5
n,"G04 S",force_no_add_spaces,drill_dwell
n,"G0", "Z",program_block_1

The peck drill versions keep the canned cycles.

I am not sure if this would apply to any posts other than a Siemens 840C

Good idea or bad?
A G81 can be used for spot drilling which is a feed in and rapid out, so much the same as what you have done, no not all post processors work with other controls

A G81 most likely won't work with your control