cutting circles
- clayton cramer
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
28 Jun 2016 16:47 #76751
by clayton cramer
cutting circles was created by clayton cramer
I gave up trying to use a subprogram.
G00 z 2 F 0.5000
G00 x 0.3195 y 0.5000
G01 z 0.0000 F 0.0500
G17 G02 x 0.3195 y 0.5000 i 0.1805 j 0 z 0.0000
complains
1 - Zero-radius arc: start=(X0.3195,Y0.5000) center=(X0.5000,Y0.5000) end=(X0.5000,Y0.5000) r1=0.1805 r2=0.0000
Where is it getting the end from that is causing the problem? The start and center are where I expect.
G00 z 2 F 0.5000
G00 x 0.3195 y 0.5000
G01 z 0.0000 F 0.0500
G17 G02 x 0.3195 y 0.5000 i 0.1805 j 0 z 0.0000
complains
1 - Zero-radius arc: start=(X0.3195,Y0.5000) center=(X0.5000,Y0.5000) end=(X0.5000,Y0.5000) r1=0.1805 r2=0.0000
Where is it getting the end from that is causing the problem? The start and center are where I expect.
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
28 Jun 2016 17:02 #76752
by BigJohnT
Replied by BigJohnT on topic cutting circles
I just ran each line in the MDI tab of Axis simulator with no problems.
BTW, it is odd to set a preamble like plane select in the middle of a file, normally things like that are set on the first line of a G code program.
gnipsel.com/linuxcnc/g-code/gen01.html
JT
BTW, it is odd to set a preamble like plane select in the middle of a file, normally things like that are set on the first line of a G code program.
gnipsel.com/linuxcnc/g-code/gen01.html
JT
Please Log in or Create an account to join the conversation.
- clayton cramer
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
28 Jun 2016 17:53 #76755
by clayton cramer
Replied by clayton cramer on topic cutting circles
Oddly, it works in MDI mode for me also, but not into AUTO.
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
28 Jun 2016 18:23 #76756
by BigJohnT
Replied by BigJohnT on topic cutting circles
I simplified the code down to the following. I'd bet that runs on your machine if you set the F word to a value that suits you. And I also assume some previous code has set something that is messing you up like put you in radius mode or something like that. Using the % can be dangerous unless you have some specific reason to do so.
JT
; set a good preamble
G20 G17 G40 G49 G64 P0.005 G80 G90 G92.1 G94
F25
G0 X0.3195 Y0.500 Z0.000
G2 X0.3195 Y0.500 I0.1805 J0
M2
JT
Please Log in or Create an account to join the conversation.
- clayton cramer
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
28 Jun 2016 18:29 #76757
by clayton cramer
Replied by clayton cramer on topic cutting circles
Same error. What does % do?
I have since realized I can accomplish what I need with my lathe, a drill bit, and a boring tool. That's almost always the case with CNC. It's faster for the first five articles to do it by hand.
I have since realized I can accomplish what I need with my lathe, a drill bit, and a boring tool. That's almost always the case with CNC. It's faster for the first five articles to do it by hand.
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
28 Jun 2016 18:43 #76759
by BigJohnT
Replied by BigJohnT on topic cutting circles
More important is what % does not do.
linuxcnc.org/docs/2.7/html/gcode/overvie...de:file-requirements
Is G7 active? I suspect that a typo with a G17 and you possible at some point in time did a G7.
JT
linuxcnc.org/docs/2.7/html/gcode/overvie...de:file-requirements
Is G7 active? I suspect that a typo with a G17 and you possible at some point in time did a G7.
JT
Please Log in or Create an account to join the conversation.
- clayton cramer
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
28 Jun 2016 19:26 #76762
by clayton cramer
Replied by clayton cramer on topic cutting circles
I restarted LinuxCNC and it seems to be happy.
Please Log in or Create an account to join the conversation.
- clayton cramer
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
28 Jun 2016 19:48 #76763
by clayton cramer
Replied by clayton cramer on topic cutting circles
Thanks to all. Now working.
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds