Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:21:26 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Repeating Wizard At Different Work Offset?
Pages: 1   Go Down
Print
Author Topic: Repeating Wizard At Different Work Offset?  (Read 188 times)
0 Members and 1 Guest are viewing this topic.
Bjorn Toulouse
Active Member

Offline Offline

Posts: 27

Destructive Tester


View Profile
« on: September 03, 2011, 06: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
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #1 on: September 03, 2011, 06: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.
Logged

Bjorn Toulouse
Active Member

Offline Offline

Posts: 27

Destructive Tester


View Profile
« Reply #2 on: September 03, 2011, 07: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
Logged
derekbpcnc
Active Member

Offline Offline

Posts: 194


View Profile
« Reply #3 on: September 04, 2011, 03: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, 03:54:33 AM by derekbpcnc » Logged

You can "chop it off" but can't "chop it on"
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!