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! > CAM Software > EdgeCam


EdgeCam Discuss EdgeCam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-15-2010, 05:21 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road
practical Edgecam

Hello all,
I have been using Edgecam for a bit over a year now, and am getting to like it better the longer I use it. I am mostly self taught although I did take a few days training at the local resellers. I am trying to automate the total programming process more so that there is less room for errors to creep in.
We run a lot of two sided parts on our lathes. (Face the first side, maybe drill and bore a hole, then flip it around and face the back side, or some variation of this). What I typically do is create two CPLs and two nc programs. The first program I number as 101, the second one as 102. Then I'll manually make another program, something like this:

:0100
M98P0101
M5
M00
G00X5.0Z9.0
G50X5.0Z9.06
M98P0102
G00X5.0Z9.06
G50X5.0Z9.0
M5
M30

(Note that I usually require an offset between the two sides, which is what the G50 is doing, offsetting the coordinate system by 60 thou)

There is a few things I don't like about this.

First, it is very easy to punch in the wrong program number when I generate the nc code. Could I somehow set the program number from within Edgecam?

Second, it is a bit of a pain always transmitting 3 programs to the machine every time I switch jobs. (I store all programs on the PC, just transmit the programs as I use them) I suppose this is more of a machine side issue, I have Fanuc controls.

Third, I always must remember to put an M99 at the end of my subprograms, or else the machine will stop after the first subprogram. (or if I am testing each side individually and forget to take the M99 out, then the program will cycle right back to the beginning without stopping, which could be disastrous).

I would be interested to hear from other folks about how they are doing this, maybe there is a totally different and better way to do this. If I'm not making any sense, let me know and I will try to clarify.

Thanks a bunch!
Reply With Quote

  #2   Ban this user!
Old 11-30-2010, 02:29 PM
 
Join Date: Mar 2007
Location: Finland
Posts: 19
mystiks is on a distinguished road

Kinda late perhaps, but i'll post this anyway, like to keep fresh mind myself =D. Dunno how old/new your machine is, so this might, or might not work.

Might be some serious typos here and there, or other problems aswell, wrote this after 14hour shift, bit tired.

For your 3 programs problem i'd like to suggest something similar that gildemeister type machines has (Program condition) . Something that can be easily done with some basic variables. Though i dont know if
your machine has this option avail, most have though. Think we have 2 older lathes that doesnt support macros at all, but anyway ->

You have your default "main" program which calls the 3phase program you'd like to use. Theres plenty of ways to do this, i'll just try to keep this simple and basic.




Main program:
-------------

O1000 (Main) ;

(P = Program used)
(A = Which phase to start out with)
(A0 = nopart / beginning)

G65 P5000 A#501

M30




........................




And you could use this as the default program tree where you copy+paste your 3 different programs. just renumber it for different parts 5001, 1001 whatever.

O5000 (Part name);
IF [#1 EQ 0] GOTO1
#501=#1
N1
IF [#501 EQ 0] GOTO5
IF [#501 GT 0] GOTO9
GOTO1001
N5
(INSERT NEW PART)
M0
#501=1
GOTO9
;
;
N9
IF [#501 EQ 1] GOTO10
IF [#501 EQ 2] GOTO20
IF [#501 EQ 3] GOTO30
GOTO1001 (ERROR 1)
;
;
N10
(PHASE 1)


Insert program 1 here


(FLIP PART)
M0
(FLIP PART)
#501=2
GOTO20
M30
;
;
N20
(PHASE 2)


Insert program 2 here


#501=3
GOTO30
M30
;
;
N30
(PHASE 3)


Insert program 3 here


#501=0
GOTO1



N1001 #3000=(Variable 1 must be 0-3)
M30
.
.
.

Im not sure if variable #501 is option or not, but i have used it on different fanuc mills/lathes/mx's and it has worked sofar, it should be a variable that saves over reset/machine turnoff so your current
phase doesnt clear from those actions. There are other ways to do this, and different ways to write macros but havent used too many macros yet, this should do the job though. You could add some variables to
do only certain phase, or start from phase 2 example if you have old half finished piece etc, the story is endless, just tried to make this simple.

Too tired to think of that G50(Is max rpm limiter on our machines), id use G10 to enter the right value on workshift.


On that program number from edgecam, should be doable, have to check from work though, cant postprocess anything from home yet.
Reply With Quote

  #3   Ban this user!
Old 12-02-2010, 04:59 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

Thanks for the ideas, mystiks. I also started this thread which you might find interesting as well. Thanks to all who participated, I have learned quite a bit about my machines that I didn't know!
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!- Is Practical CNC still around? Steve Crum CNC Plasma and Waterjet Machines 11 04-18-2010 07:33 PM
Not Happy With- Practical CNC 911bob Vendor Discussion 5 10-17-2008 09:15 AM
Practical CNC?????? jeeplogic CNC Plasma and Waterjet Machines 9 10-16-2008 09:30 PM
Is this practical? coldpizza721 DIY-CNC Router Table Machines 4 08-31-2008 01:55 PM
Need Help!- Practical cnc vividdezigns General CNC (Mill and Lathe) Control Software (NC) 0 08-19-2008 12:44 PM




All times are GMT -5. The time now is 01: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