Hello Guest it is April 19, 2024, 11:10:45 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BR549

Pages: « 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 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 »
6661
MACH TOOL BOX / Plasma, Consumables tracking
« on: June 24, 2010, 02:01:36 PM »
Enclosed is a Mach funtion to track consumables

Screen shots show the Screen mods and give the DRO#s used in the code.

Also a shot of the Hardcopy report is provided.

To work properly you must also Modify the Cam post to do the following     
Just before the M30 at file end it must enclude
#650=*********x              where *********X = total cut inches.

Les at Sheetcam has already developed this mod to the post for sheetcam users.


VB CODE:

CODE to drive the Consumable tracking function(;-)

'M3 macro
'Code to udate the pierce counts******
SetOemDro(2001,(GetoemDro(2001)+1))
SetOemDro(2005,(GetoemDro(2005)+1))
SetOemDro(2018,(GetoemDro(2018)+1))
SetOemDro(2012,(GetoemDro(2012)+1))
'*************************************
DoSpinCW()

###########################################

'M1030 macro
'Code to drive the consumables page update*********************
SetOemDro(2008,GetOemDro(2008)+ GetVar(650))
SetOemDro(2015,GetOemDro(2015)+ GetVar(650))
SetOemDro(2011,GetOemDro(2011)+ GetVar(650))
SetOemDro(2019,GetOemDro(2019)+ GetVar(650))
SetOemDro(2007,GetOemDro(2005)/GetOemDro(2006))
SetOemDro(2010,GetOemDro(2008)/GetOemDro(2009))
SetOemDro(2014,GetOemDro(2012)/GetOemDro(2013))
SetOemDro(2017,GetOemDro(2015)/GetOemDro(2016))
'Code For Autopark**********************************************
If GetUserLed(1199)<>0 Then
SetVar(401,GetOemDro(4))
SetVar(402,GetOemDro(11))
Code" G0 Z1.00"
While IsMoving()
Wend
Code"X#401 Y[#402+0.250]"
While IsMoving()
Wend
End If
'CODE forWorkLogUpdate*******************************************
If GetVar(499) =0 Then
Open "C:/mach3/worklog.txt" For Append As #1
Write #1,"          " &Filename &"..........EndingTime" & Time()
Close #1
setVar(499,1)
End If
End

########################################################
 
'MacroPump
'Code to drive the consumables warning*************************************************
If GetOemDro(2006) >1 And GetOemDro(2001) > GetOemDro(2007) Or GetOemDro(2011) > GetOemDro(2010) Then SetUserLed(2020,1) Else SetUserLed(2020,0)
If GetOemDro(2007) >1 And GetOemDro(2018) > GetOemDro(2014) Or GetOemDro(2019) > GetOemDro(2017) Then SetUserLed(2021,1) Else SetUserLed(2021,0)
'Code to drive the consumables cost update*********************************************
SetOemDro(2042,GetOemDro(2040)/GetOemDro(2007))
SetOemDro(2044,GetOemDro(2040)/Getoemdro(2010))
SetOemDro(2043,GetOemDro(2041)/GetOemDro(2014))
SetOemDro(2045,GetOemDro(2041)/Getoemdro(2017))
End  
  
 ###########################################################

'Macro "ResetE" Button
'Code to UPDATE/create Consumables Log*********************************
Open"C:/Mach3/ConsumableLog.txt" For Append As #1
Write #1,"Tip Changeout......... " & Date &" .. " & Time()&" .. " &"TTP.. " & GetOemDro(2001)&" .. " &"TTCI.. " &GetOemDro(2011)
Close#1
'Code to Reset electrode Dro and Update Consumables page***************
SetOemDro(2001,0)
SetOemDro(2011,0)
SetOemDro(2006,GetOemDro(2006) + 1)
SetOemDro(2009,GetOemDro(2009) + 1)
Message "TIP Count RESET"    
End

############################################################

'Macro to drive "ResetN" button
'code to Update/create Consumables LOG*********************************
Open"C:/Mach3/ConsumableLog.txt" For Append As #1
Write #1,"Nozzle Changeout... " & Date &" .. " & Time() &" .. " &"TNP.. " & GetOemDro(2018) &" .. "&"TNCI.. " &GetOemDro(2019)
Close#1
'code to update consumables page****************************************
SetOemDro(2018,0)
SetOemDro(2019,0)
SetOemDro(2013,GetOemDro(2013) + 1)
SetOemDro(2016,GetOemDro(2016) + 1)
Message"Nozzle Count Reset"
End

############################################################
      
'Macro to drive "View Consumables Log" button
 Shell("c:\windows\notepad.exe  c:\mach3\ConsumableLog.txt")
End

#############################################################

'Macro Master Reset Button
'Code to drive the "Master Reset" button
SetOemDro(2005,0)
SetOemDro(2006,1)
SetOemDro(2007,1)
SetOemDro(2008,0)
SetOemDro(2009,1)
SetOemDro(2010,1)
SetOemDro(2012,0)
SetOemDro(2013,1)
SetOemDro(2014,1)
SetOemDro(2015,0)
SetOemDro(2016,1)
SetOemDro(2017,1)
SetOemDro(2001,0)
SetOemDro(2011,0)
SetOemDro(2018,0)
SetOemDro(2019,0)
End

*************************************************

Screenshots:



6662
General Mach Discussion / Re: Plasma , new macro code
« on: June 24, 2010, 11:05:33 AM »
AH, but you left out the regen toolpath(;-) routine to make sure the extents is accurate. Mach does NOT auto correct the extents in the toolpath. Just make sure you do the SET XYAXIS ZERO and REGEN as a manual function before you run it


6663
General Mach Discussion / Re: Plasma , new macro code
« on: June 23, 2010, 08:17:16 PM »
Way to go Big Dave (;-)

6664
General Mach Discussion / Re: Plasma , new macro code
« on: June 23, 2010, 07:20:37 PM »
HI IAN, Actually the Sheetcam approach worked very well ran it all day today testing the idea . It is nice to be able to do a dry run





6665
Heck with "Mach Screen" it is a treat to do screen sets COMPARED to Scream4 (;-)

6666
Dave not to wory (;-) I DO HAVE a simple hi contrast screen set. One for mill one for Turn one for router one for plasma,etc. I also have a copy look alike of MOST of teh commercial controllers as best as it can be done. (;-)

I was just tugging on SuperDaves  cape (;-)

6667
SURE the CAM  can handle it in the post with no problem.  

SHEETCAM would work great for this as it is very capable in 2d work like punchpressing, plasma,laser,etc.

Just put drill points at the punch locations and let SC add a drill cycle at each point AND then MOD the post to output the M25 instead of the G81 drill cycle.

Les over at SC is great at supporting his users by helping with posts mods.

THEN it is very simple to convert a standard Cad drawing to a punch file(;-)

SheetCam, Never go to work without it.  (;-)


6668
General Mach Discussion / Re: Plasma , new macro code
« on: June 22, 2010, 06:34:50 PM »
Dave if you want to take out the auto part it will run just fine.

NOW last night I worked out a different solution with Sheetcam. I redid the post to output a Dry run around the PART perimeter to verify the material. It also has the block delete charectors in that part so you can turn  the funtion on and off if needed.

AND it has nothing to do with VB(;-) Not as quick and easy BUT it does give a more detailed look at the material fit.


6669
Gee I was just hoping for a simple Hi Contrast screen like all the new CNCzzzzzzzz I see out there.

I does looks nice if you are into Gaming (;-) But us oldies like a nice easy to read simple screen.  All that fancy stuff is confusing to an old worn out brain.

6670
I really dont see the difference. If you want it to punch just add the Mcode to make the punch cycle where you want it. Then everything acts like a NORMAL gcode operation.  The further away from a normal Gcode process you get the harder it is to CAM

No way to catch the Gcode(;-) like you want.

This will do the same thing. AND IF you want to single step just turn on the single step.

G1 X1.000 Y1.000 F50      % No punch
 
X2.000 Y2.000        move           
M25                      PUNCH
X3.000 Y3.000        move         
M25                      PUNCH
X0.000 Y0.000        move
M30
%

OR for a different approach to the move/hold. This allows you to run in move/hold mode before punch OR turn on block delete and run auto mode.

G1 X1.000 Y1.000 F50   
 X2.000 Y2.000        move
/M1                       Optional hold
M25                      PUNCH
X3.000 Y3.000        move
/M1                       Optional hold
M25                      PUNCH
X0.000 Y0.000        move
M30
%


Pages: « 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 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 »