Hello Guest it is April 23, 2024, 05:09:38 PM

Author Topic: Repeating Wizard At Different Work Offset?  (Read 2951 times)

0 Members and 1 Guest are viewing this topic.

Offline Bjorn Toulouse

*
  •  27 27
  • Destructive Tester
    • View Profile
Repeating Wizard At Different Work Offset?
« on: September 03, 2011, 07:13:25 AM »
Is it possible to have a wizard (circular pocket, for example) repeat from one offset to another without starting from scratch?
I would like to create an identical feature in multiple locations on the work piece.

I am using the wizards found in the demo version of R3.043.022.

Thanx,


Rex

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Repeating Wizard At Different Work Offset?
« Reply #1 on: September 03, 2011, 07:40:56 AM »
After running the wizard, just go to the offset screen and change offsets, then run again. You could also use MDI to change offsets.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline Bjorn Toulouse

*
  •  27 27
  • Destructive Tester
    • View Profile
Re: Repeating Wizard At Different Work Offset?
« Reply #2 on: September 03, 2011, 08:03:52 AM »
Gerry, thanx for the reply.
What I have in mind is for the wizard to go to the next offset without having to stop to input the next offset.

Wizard runs on G54....after finish it reruns on G55...etc.
Is there a line(s) of code that could be added to the end of the wizard to accomplish this?


Thanx,


Rex
Re: Repeating Wizard At Different Work Offset?
« Reply #3 on: September 04, 2011, 04:51:55 AM »
Gerry, thanx for the reply.
What I have in mind is for the wizard to go to the next offset without having to stop to input the next offset.

Wizard runs on G54....after finish it reruns on G55...etc.
Is there a line(s) of code that could be added to the end of the wizard to accomplish this?
Thanx,
Rex

Hi Rex

I'd put the the G code in a sub routine.
Set the offset required and then call the subroutine, and repeat as many times as necessary.
%
(all your normal header)
( 1st tool call here)
G54  (sets the 1st work offset)
M98 P1 (runs the wizard part of the code)
G55   (sets the 2nd work offset)
M98 P1 (runs the wizard part of the code)
G56
M98 P1 (runs the wizard part of the code)
etc
M30


o1 ( start of your codeplaced in the subroutine)
G1 X0 Y0 ( gcode here to cut your part)
G0
G2
G3
 .
.
M99  (ruturns to next line from the branch point)
%
« Last Edit: September 04, 2011, 04:54:33 AM by derekbpcnc »
You can "chop it off" but can't "chop it on"