- GCode and Part Programs
- G&M Codes
- Problem with following line of code. P0 in a peck drill cycle. How to solve
Problem with following line of code. P0 in a peck drill cycle. How to solve
- Stephanisk
- Topic Author
- Offline
- Expert Boarder
Less
More
- Posts: 119
- Thank you received: 2
15 Mar 2019 20:25 - 15 Mar 2019 20:32 #128686
by Stephanisk
Problem with following line of code. P0 in a peck drill cycle. How to solve was created by Stephanisk
Hi everyone,
I have encountered a problem that is new to me. I think i need to install some subroutine to make it work, but i have no clue what to do.
The following line of code appears in my gcode to do a drill peck cycle.:
G98 G83 Z76.421 R104.923 Q5. P0 F100
LinuxCNC gives me an error on the P0 . What could i do about this? I am at a loss but i really want this drill cycle to work. ( SolidCAM postprocessor for 4 axis machine with Rotary Attachment )
The P is actually a pause of a number of seconds. 0 = 0sec P2 would be a 2 second pause between the cycles. So what to do?
Thanks for any help.
Regards,
Stephane
I have encountered a problem that is new to me. I think i need to install some subroutine to make it work, but i have no clue what to do.
The following line of code appears in my gcode to do a drill peck cycle.:
G98 G83 Z76.421 R104.923 Q5. P0 F100
LinuxCNC gives me an error on the P0 . What could i do about this? I am at a loss but i really want this drill cycle to work. ( SolidCAM postprocessor for 4 axis machine with Rotary Attachment )
The P is actually a pause of a number of seconds. 0 = 0sec P2 would be a 2 second pause between the cycles. So what to do?
Thanks for any help.
Regards,
Stephane
Last edit: 15 Mar 2019 20:32 by Stephanisk.
Please Log in or Create an account to join the conversation.
16 Mar 2019 08:20 #128712
by pl7i92
Replied by pl7i92 on topic Problem with following line of code. P0 in a peck drill cycle. How to solve
if you change to G82 the P is ignored
or just change to P0,2
can you give us more codelines befor and after
or just change to P0,2
can you give us more codelines befor and after
Please Log in or Create an account to join the conversation.
- Stephanisk
- Topic Author
- Offline
- Expert Boarder
Less
More
- Posts: 119
- Thank you received: 2
16 Mar 2019 13:07 #128731
by Stephanisk
Replied by Stephanisk on topic Problem with following line of code. P0 in a peck drill cycle. How to solve
hi.
I just tried to change to 0.2 but that didnt do anything.
in attachment the error code it gives. and here some extra lines of code:
G90
(TOOL 3 - DIA 5.0 - )
G0 Z80.
M5
T3 M6
S12000 M3
G04 P04
G00 B0.
G64 P0.1 Q0.1
(
)
(4X-DRILL-DRILL-5X - MW-DRILL-4X)
(
)
X-35.593 Y145.79 Z120.275 B270.
X-34.586 Z118.57 B270.
X-33.579 Z116.864 B270.
X-32.571 Z115.158 B270.
X-31.564 Z113.452 B270.
X-30.557 Z111.746 B270.
X-29.549 Z110.04 B270.
X-28.542 Z108.334 B270.
X-27.535 Z106.629 B270.
X-26.527 Z104.923 B270.
X-26.527 Y145.79
Z104.923
G98 G83 Z76.421 R104.923 Q5. p0 F100
G0 X-35.593 Z120.275 B270.
X-34.704 Y145.698 Z120.775 B270.
X-33.814 Y145.606 Z121.274 B270.
X-32.924 Y145.514 Z121.774 B270.
X-32.014 Y145.421 Z122.234 B270.
X-31.103 Y145.329 Z122.694 B270.
X-30.193 Y145.237 Z123.154 B270.
X-29.263 Y145.145 Z123.574 B270.
My guess is that linuxcnc can not handle a P word in G83 as this is a typical fanuc behaviour.
Regards,
Stephane
I just tried to change to 0.2 but that didnt do anything.
in attachment the error code it gives. and here some extra lines of code:
G90
(TOOL 3 - DIA 5.0 - )
G0 Z80.
M5
T3 M6
S12000 M3
G04 P04
G00 B0.
G64 P0.1 Q0.1
(
)
(4X-DRILL-DRILL-5X - MW-DRILL-4X)
(
)
X-35.593 Y145.79 Z120.275 B270.
X-34.586 Z118.57 B270.
X-33.579 Z116.864 B270.
X-32.571 Z115.158 B270.
X-31.564 Z113.452 B270.
X-30.557 Z111.746 B270.
X-29.549 Z110.04 B270.
X-28.542 Z108.334 B270.
X-27.535 Z106.629 B270.
X-26.527 Z104.923 B270.
X-26.527 Y145.79
Z104.923
G98 G83 Z76.421 R104.923 Q5. p0 F100
G0 X-35.593 Z120.275 B270.
X-34.704 Y145.698 Z120.775 B270.
X-33.814 Y145.606 Z121.274 B270.
X-32.924 Y145.514 Z121.774 B270.
X-32.014 Y145.421 Z122.234 B270.
X-31.103 Y145.329 Z122.694 B270.
X-30.193 Y145.237 Z123.154 B270.
X-29.263 Y145.145 Z123.574 B270.
My guess is that linuxcnc can not handle a P word in G83 as this is a typical fanuc behaviour.
Regards,
Stephane
Please Log in or Create an account to join the conversation.
16 Mar 2019 14:06 #128738
by pl7i92
Replied by pl7i92 on topic Problem with following line of code. P0 in a peck drill cycle. How to solve
if you look carefuller inside the Gcode reference
www.linuxcnc.org/docs/html/gcode.html
there is the Dwell and the Peck cycle but no PECK dwell cycle
so you may edit your postprocessot on Drill do not output the P
www.linuxcnc.org/docs/html/gcode.html
there is the Dwell and the Peck cycle but no PECK dwell cycle
so you may edit your postprocessot on Drill do not output the P
Please Log in or Create an account to join the conversation.
- GCode and Part Programs
- G&M Codes
- Problem with following line of code. P0 in a peck drill cycle. How to solve
Time to create page: 0.074 seconds