Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 02:47:59 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
Pocket Wizard by Brian / Kiran
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Pocket Wizard by Brian / Kiran (Read 989 times)
0 Members and 1 Guest are viewing this topic.
Overloaded
Global Moderator
Offline
Posts: 3,072
Pocket Wizard by Brian / Kiran
«
on:
January 21, 2011, 08:08:12 PM »
Having a problem with this wizard.
The job has an area milled down to Z-.1
I want to put a pocket there using the above wizard.
I set the JOB Z to -.1 and the depth to .1
The 2 rough passes at .050 looks good. The first pass starts at z-.150 then goes to z-.2
But the finish pass seems to ignore the JOB Z setting and makes the finish pass at Z -.1 ,the surface of the material.
Am I approaching this correctly ?
If it IS broke, how difficult would it be to fix it ?
Thanks
ScreenHunter_01 Jan. 21 19.47.jpg
(95.9 KB, 1045x659 - viewed 95 times.)
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
Ron Ginger
V4 Screen Contributor
Offline
Posts: 568
Re: Pocket Wizard by Brian / Kiran
«
Reply #1 on:
January 21, 2011, 09:05:52 PM »
it looks pretty easy to fix. Use the edit button script menu to edit the POST CODE button.
near the bottom of the code are two subs, that start like this
Code:
Sub Finish_ClimbMill(Xpos, Ypos, length, Width, DEPTH, RadTool, finishamount, FeedPlunge, FeedRough, Feedfinish)
Code "X" & Xpos + length / 2 & " Y" & Ypos - finishamount * 2 - RadTool
Code "G0 Z" & (-1 * DEPTH) + Clearance
Code "G01 Z" & (-1 * DEPTH) & " F" & FeedPlunge
Add the variable Zjob to these lines, like
Code:
Code "G0 Z" & Zjob-(-1 * DEPTH) + Clearance
Code "G01 Z" & Zjob-(-1 * DEPTH) & " F" & FeedPlunge
Do the same for the Finish_ConvMill sub
I have not tested this, but it looks like it ought to work.
Logged
Overloaded
Global Moderator
Offline
Posts: 3,072
Re: Pocket Wizard by Brian / Kiran
«
Reply #2 on:
January 21, 2011, 09:41:32 PM »
Hi Ron,
Did as you suggested.......
Sub Finish_ConvMill(Xpos, Ypos, length, Width, DEPTH, RadTool, finishamount, FeedPlunge, FeedRough, Feedfinish)
Code "X" & Xpos + length / 2 & " Y" & Ypos - finishamount * 2 - RadTool
Code "G0 Z" & Zjob-(-1 * DEPTH) + Clearance
Code "G01 Z" & Zjob-(-1 * DEPTH) & " F" & FeedPlunge
Code "Y" & Ypos - RadTool & " F" & Feedfinish
Code "X" & Xpos + length - RadTool
Code "Y" & Ypos - Width + RadTool
Now the finish pass runs at Z +.1
We DID change something though, just in the wron direction ?
Thanks for looking,
Russ
ScreenHunter_02 Jan. 21 21.39.jpg
(20.28 KB, 496x311 - viewed 62 times.)
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
macona
Active Member
Offline
Posts: 88
Re: Pocket Wizard by Brian / Kiran
«
Reply #3 on:
January 22, 2011, 04:37:10 AM »
Shouldnt you depth be set to -.2 if you want a pocket -.1 below the surface?
Logged
Overloaded
Global Moderator
Offline
Posts: 3,072
Re: Pocket Wizard by Brian / Kiran
«
Reply #4 on:
January 22, 2011, 08:00:58 AM »
Quote from: macona on January 22, 2011, 04:37:10 AM
Shouldnt you depth be set to -.2 if you want a pocket -.1 below the surface?
It actually is. I specify the Job Zero at -.1 and a pocket .1 deep.
Look at the code it generates.
The first 2 rough passes are perfect, 1st at -.15, second at -.2.
Just the finish pass does not account for the -.1 Job Zero.
G00 X2.5002 Y-1.5
G0 Z-0.05
G01 Z-0.15 F3 (First Rough)
X2.9997 F10
X3.231 Y-1.2688
Y-1.7312
X2.269
Y-1.2688
X3.231
G00 Z0.5
G00 X2.5002 Y-1.5
G0 Z-0.1
G01 Z-0.2 F3 (2nd Rough)
X2.9997 F10
X3.231 Y-1.2688
Y-1.7312
X2.269
Y-1.2688
X3.231
G00 Z0.5
X2.75 Y-1.31875
G0 Z-0.1
G01 Z-0.1 F3 (Finish, should go to -.2)
Y-1.21875 F5
X2.219
Y-1.78125
X3.281
Y-1.21875
X2.75
Y-1.26875
G00 Z0.5
M5 M9
M30
«
Last Edit: January 22, 2011, 08:05:13 AM by Overloaded
»
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
alenz
Active Member
Offline
Posts: 110
Re: Pocket Wizard by Brian / Kiran
«
Reply #5 on:
January 22, 2011, 11:07:57 AM »
Try this change:
Code "G0 Z" & Zjob+(-1 * DEPTH) + Clearance
Code "G01 Z" & Zjob+(-1 * DEPTH) & " F" & FeedPlunge
In adition you will need to pass the value of the variables to the sub: (two places each; note that "Clearance" was missed too)
Call Finish_ClimbMill(Xpos, Ypos, length, Width, DEPTH, RadTool, finishamount, FeedPlunge, FeedRough, Feedfinish, ZJob, Clearance)
Sub Finish_ClimbMill(Xpos, Ypos, length, Width, DEPTH, RadTool, finishamount, FeedPlunge, FeedRough, Feedfinish, ZJob, Clearance)
That should do it.
al
Logged
Overloaded
Global Moderator
Offline
Posts: 3,072
Re: Pocket Wizard by Brian / Kiran
«
Reply #6 on:
January 22, 2011, 02:34:57 PM »
Well there ya go !
Like a charm, thanks al,
Russ
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
Ron Ginger
V4 Screen Contributor
Offline
Posts: 568
Re: Pocket Wizard by Brian / Kiran
«
Reply #7 on:
January 22, 2011, 02:46:35 PM »
Now that you have a fixed copy why not save it and post it here. Just save the .set file under Addons
Logged
Overloaded
Global Moderator
Offline
Posts: 3,072
Re: Pocket Wizard by Brian / Kiran
«
Reply #8 on:
January 22, 2011, 02:56:11 PM »
Good idea Ron.
Thanks for your help,
Russ
EDIT: This will replace the Rectpocket.set file in the "Pocket Cutting" folder under Addons, not the "Rectangular Pocket" folder.
Rectpocket.set
(12.57 KB - downloaded 93 times.)
«
Last Edit: January 22, 2011, 03:22:30 PM by Overloaded
»
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
BR549
Active Member
Offline
Posts: 2,556
Re: Pocket Wizard by Brian / Kiran
«
Reply #9 on:
January 22, 2011, 04:22:21 PM »
IT would be better to store it in the MachTool Box section(;-)
(;-) TP
Logged
Pages:
1
2
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...