CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > MetalWorking Machines > Sharp CNC


Sharp CNC Discuss Sharp CNC Machines Here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-17-2010, 03:11 PM
 
Join Date: Nov 2005
Location: USA
Posts: 5
RonRoy2004 is on a distinguished road
Spiral Pocket Milling SV24-12 Super Mini w/ Fanuc Oi Mate-MC

Hello,

After a year and a half I haven't had any luck finding info thru Sharp so am asking here, I can use the pocket functions to make a circular pocket, if I want it to step straight over then make the loop, however I am attempting to make a pocket by feeding to depth, then spiraling out to finish size to ease cutter load and have a precise finish by ramping in and out rather than plunging.

Does anyone know of a macro for this that works? or am I stuck remote programming this with BobCad?

The macro sharp provided makes rectangular pockets and even it steps out in one axis, lol.

Thank You
Ron Riekens II
ronroy2004@comcast.net
Reply With Quote

  #2   Ban this user!
Old 04-17-2010, 05:44 PM
 
Join Date: Oct 2009
Location: USA
Posts: 118
leggazoid is on a distinguished road

From leblond makino world of macros book. Look for book on ebay. Wish someone had it in pdf.

%
:0113 (SPIRAL MACRO)
#26= ABS[#26]
#17= ABS[#17]
#22=#17
IF [#26 EQ #0] GOTO 1 (Z)
IF [#17 EQ #0] GOTO 1 (Q)
IF [#18 EQ #0] GOTO 1 (R)
IF [#4 EQ #0] GOTO 1 (I)
IF [#7 EQ #0] GOTO 1 (D)
IF [#20 EQ #0] GOTO 1 (T)
IF [#3 EQ #0] GOTO 1 (C)
IF [#19 EQ #0] GOTO 1 (S)
IF [#13 EQ #0] GOTO 1 (M)
IF [#26 EQ #17] GOTO 2 (Z LESS THAN E)
#33= #4001
#32= #4003
#31= #[2000+#7]
#30= [3.82*#19]/[2*#31]
IF [#30 GT #13] GOTO 8
S#30 M3
#29= #30*#20*#3
GOTO 9
N8 S#13 M3
#29= #13*#20*#3
N9 #27= #18/12
#10= #5041
#12= #5042
#5= #5043-#5083
#16= 0
G17
N7 #14=#17
WHILE [#26 GE #14] DO 1
IF [#31 GE [[#11/2]-.05]] GOTO 4
#28= [#11/2]-#31
G91 GO Z-[.1+#17]
G90 X[[#10+#28]-.05]
G1 X[#10=#28] F#29
GOTO 5
N4 G91 G1 Z-[.1+#17] F[#29/2]
#28= 0
N5 #15=[[#4/2]-#28-#31]/#18*360
#1=30
#28= #28+#27
WHILE [#15 GT #1] DO 2
#24= #10+#28*COS[#1]
#25= #12+#28*SIN[#1]
#2= [#28/[#28+#31]]*#29
G90 G3 X#24 Y#25 R#28 F#2
#1= #1+30
#28= #28+#27
END 2
#28= [#4/2]-#31
#24= #10+#28*COS[#15]
#25= #12+#28*SIN[#15]
#2= [#28/[#28+#31]]*#29
G3 X#24 Y#25 R#28 F#2
X#24 Y#25 I-[#28*COS[#15]] J-[#28*SIN[#15]]
#15= #15+15
#24= #10+#28*.98*COS[#15]
#25= #12+#28*.98*SIN[#15]
X#24 Y#25 R[#28*.98]
IF [#26 EQ #17] GOTO 6
IF [#26 EQ #14] GOTO 6
IF [#16 EQ #1] GOTO 6
G91 GO Z.1 G90 X#10 Y#12
#14= #14+#17
END 1
#17= [#26-[#14-#17]]
#16= 1
GOTO 7
N6 GO Z#5 X#10 Y#12
#17= #22
GOTO 3
N1 #3000= 0(SPIRAL POCK. COMMAND INCOMPL.)
N2 #3000= 0(E EXCEEDS Z)
N3 G#33 G#32 M99
%
Reply With Quote

  #3   Ban this user!
Old 04-17-2010, 06:32 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road
Helical Macro - Linear Motion

Have been writing a macro to perform these kind of motions in an incremental linear fashion to allow freedom using rotation (to suit our milling head attachment).

Was surprised to find that I can use it to describe virtually any kind of motion - facing, pecking, involute (pocketing), helical (polygonal, not just circular) and trochoidal.

Pocket-wise, you can start wherever you want. Slot-wise, you can oscillate the feedrate to reduce air-cutting. I have also added a start/finish angle which can be used to reduce cutter engagement in the corners. I can post it to you with an explanation once I've perfected the cutter-comp.

DP
Reply With Quote

  #4   Ban this user!
Old 04-18-2010, 09:26 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,315
dcoupar is on a distinguished road

leggazoid,

Thanks for posting this. I don't suppose they had any examples of calling the macro?
Reply With Quote

  #5   Ban this user!
Old 04-18-2010, 10:06 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,349
mactec54 is on a distinguished road
Buy me a Beer?

Hi RonRoy2004

Here is a 2.0 hole .600 deep with a arc-on & arc-off, Macros are great if you know how to do them or you want to spend the time to learn how to do them, as well your control has to support them, not all can
Attached Files
File Type: txt Zone Spiral for 2.0 Hole.NCF.txt‎ (272 Bytes, 177 views)
__________________
Mactec54
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-18-2010, 05:28 PM
 
Join Date: Oct 2009
Location: USA
Posts: 118
leggazoid is on a distinguished road

Yes they did have an example of calling it with 2 pictures that explained it. This program is written for inch programming only. I don't have access to these right now but I will try to explain the g65 call...

Start at Z.1 above part.

z = final z depth
q = z increment
d = cutter comp offset
s = sfm
r = ?
i = diameter of finished hole
t = # of teeth
c = feed per tooth?
m = maximum spindle speed

Can someone with macro experience help with r?
Reply With Quote

  #7   Ban this user!
Old 04-18-2010, 10:31 PM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road
Basic G13 function

I wrote a macro to ADD G13 to our Mori Seiki SV50B and based it on the Yaznaq implementation which is sparse compaired to the Haas implementation.

At the time I wrote it I had not had to stoop to running Haas machines in production.

The G13 macro was assigned O9013 and became a fully functional G-code cycle like G83.

I used alot of machine variables to plug in the last active F, D, current position etc. I also have many error tests that will cause an alarm if you don't use it properly.

The G13 can be used for circle cleaning/finishing or a full spiral pocket. My macro does EVERYTHING at a fixed Z, Meaning you have to position to hole/pocket center and plunge to depth BEFORE doing the G13 cycle. Also its up to the programmer to retract the tool once the pocket is done. It was a bit rushed and could use some refinement but it has worked fine for us.

I will try to grab a copy.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Spiral Milling NickDP G-Code Programing 7 09-27-2011 10:30 PM
MACRO FOR HOLE SPIRAL MILLING ALEXCOMO Fanuc 32 06-23-2011 06:37 AM
Sharp sv24-12 with 0i mate control milling 3D zosotd Sharp CNC 5 11-30-2010 02:12 PM
Fanuc pocket milling macro tturnbull50 G-Code Programing 4 08-30-2010 02:48 AM
Spiral pocket function LongRat SheetCam 2 12-28-2006 07:31 AM




All times are GMT -5. The time now is 09:30 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361