Hello Guest it is April 25, 2024, 12:25:25 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 »
3721
General Mach Discussion / Re: Plasma Consumable Tracking
« on: November 01, 2012, 08:38:33 AM »
The problem is that MACH3 has a mind of its own with macros and scripts when combined with Gcode. It seems to loose control of the script threads and CAN on "some" systems just fly through the Script before each segment of Gcode is completed.

It seems to be the case with your machine. Here it runs fine. Loops through the gcode and updates the countdown.

SO I guess that cool stuff that combines Scripting and GCODE is out for the masses.  

A a double check can you run the script from the Script editor to see if it runs correct from there??

Load the Gcode open the editor select the macro code and then press run.

I guess I can try using semaphores

(;-) TP

3722
General Mach Discussion / Re: Plasma Consumable Tracking
« on: October 31, 2012, 10:14:56 PM »
OK this fixes it here, give it a whirl.  ALSO I put in a countdown for ya. You will have to add a userdro(2002) to your screen. I tried to write it to the status BAR but when mach3 reruns the Gcode it writes  the gcode messages over the to go message(;-). SO if you want a countdown add the dro.

(;-)TP

'Macro M3007 Auto Batch Load Horizonal
Dim fname As String
Dim Cuts As Single
Dim Xext As Double
Dim Yext As Double
Dim Test As String
Dim Cdown As Single

Test = ("No File Loaded.")
Fname = FileName()
While Ismoving()
Wend
Message"" &Fname
While Ismoving()
Wend
If Fname = Test Then
MsgBox("No File Loaded, PLEASE LOAD FILE and RESTART")
 End
 End If
Cuts = Question("How Many Horizonal Parts UP TO 10 ?")
If Cuts >10 Or  Cuts <1 Then
MsgBox(" Number Out Of Range 1-10 Retry Again ")
 End

End If

Cdown = Cuts

SetUserDro(2002,Cdown)

Message" Parts to Go: "& Cdown

For x = 1 To Cuts
If x = 1 Then RunFile()
If x = 2 Then RunFile()
If x = 3 Then RunFile()
If x = 4 Then RunFile()
If x = 5 Then RunFile()
If x = 6 Then RunFile()
If x = 7 Then RunFile()
If x = 8 Then RunFile()
If x = 9 Then RunFile()
If x = 10 Then RunFile()

While Ismoving()
Wend
COde"G4P1"


Xext= GetOemDro(10)
While Ismoving()
Wend
Yext= GetOemDro(5)
While Ismoving()
Wend
Code" G0 Z1.00"
While IsMoving()
Wend
Code"X" & (Xext + .250)
While Ismoving()
Wend
Code"Y"& Yext
While IsMoving()
Wend
DoButton(8)
While Ismoving()
Wend
DoButton(9)
While Ismoving()
Wend

Cdown=(Cdown-1)

SetUserDro(2002,Cdown)
While Ismoving()
Wend

Next x

Message("End Of Batch Load")
End

 

3723
General Mach Discussion / Re: Plasma Consumable Tracking
« on: October 31, 2012, 09:38:45 PM »
OK I SEE what it is. It was developed on and OLDER version of MACH back when it actually had control over the threads . I will have to remake it to work with the newer versions.

countdown ? it could have.

(;-) TP

3724
General Mach Discussion / Re: Plasma Consumable Tracking
« on: October 31, 2012, 09:18:38 PM »
Are you running the machine or just looking at the pretty picture(toolpath) on the toolpath you will only see 1 as it always starts based on 0,0.

(;-) TP

3725
General Mach Discussion / Re: Plasma Consumable Tracking
« on: October 31, 2012, 09:02:23 PM »
RIng the bell for the next episode(;-)

(;-) TP

3726
General Mach Discussion / Re: Plasma Consumable Tracking
« on: October 31, 2012, 08:35:06 PM »
OK we interrupt your normal show for this special "As the Plasma World Turns".

Auto Stackumup.  This is your button code.  To run load your material,  then load your Gcode and set X0Y0. NOW press the button. NOW if you forgot to load the program it will squeal on ya and make you go back and load it(;-). It will also ask how many copies(1-10) you want. You need to make sure you have enough room for the parts to cut.

'Macro M3007 Auto Batch Load Horizonal
Dim fname As String
Dim Cuts As Single
Dim Xext As Double
Dim Yext As Double
Dim Test as String

Test = ("No File Loaded.")
Fname = FileName()
While Ismoving()
Wend
Message"" &Fname
While Ismoving()
Wend
If Fname = Test Then
MsgBox("No File Loaded, PLEASE LOAD FILE and RESTART")
 End
 End If
Cuts = Question("How Many Horizonal Parts UP TO 10 ?")
If Cuts >10 Or  Cuts <1 Then
MsgBox(" Number Out Of Range 1-10 Retry Again ")
 End

End If

For x = 1 To Cuts
If x = 1 Then RunFile()
If x = 2 Then RunFile()
If x = 3 Then RunFile()
If x = 4 Then RunFile()
If x = 5 Then RunFile()
If x = 6 Then RunFile()
If x = 7 Then RunFile()
If x = 8 Then RunFile()
If x = 9 Then RunFile()
If x = 10 Then RunFile()

While Ismoving()
Wend

Xext= GetOemDro(10)
While Ismoving()
Wend
Yext= GetOemDro(5)
While Ismoving()
Wend
Code" G0 Z1.00"
While IsMoving()
Wend
Code"X" & (Xext + .250)
While Ismoving()
Wend
Code"Y"& Yext
While IsMoving()
Wend
DoButton(8)
While Ismoving()
Wend
DoButton(9)
While Ismoving()
Wend

Next x

Message("End Of Batch Load")
End

 
                     

3727
General Mach Discussion / Re: Plasma Consumable Tracking
« on: October 31, 2012, 07:33:47 PM »
OH GEZZ the "As the plasma Turns" show only comes on on tuesday night right after NCIS. (;-)

What do you want to try next auto scale  or auto stackumup.

Auto Scale is a simple and easy way to adjust the G code scale functions.  It ask what size is your current part AND what size do you want it. YOU can only pick one axis to do the scaling from and it scales BOTH axis from that so that it maintains the same aspect ratio of the part.

Auto Stackumup is a function to cut multiple parts with the same file. Load your program then hit the button and tell it HOW MANY parts (1-10) that you want. AND make sure it has enough room on the material to cut them all out.  Say you have a part "Turtle Card Holder" and it is 4x6" . The order comes in for 6 of them.  Load the material, load the G code Set X0Y0  . The first part will cut then the machine moves OVER to the far right extents of the first part and adds .250" resets the X0Y0 and cuts the part again, and again,and again until 6 parts are cut. Then it stops.  In the meantionme you are free to do other work while IT does all the work.

There are 2 versions one for horizonal and one for vertical  (L/R and Up/Down).

(;-) TP

3728
General Mach Discussion / Re: a simple MDI move not working??
« on: October 31, 2012, 07:21:06 PM »
You do NOT use machine home for this move reference. You use  X0Y0(userHome) You move to a spot on the table then Zero X/Y. THEN make your MDI move of say G1X10 F10.  It should move from X0.000 to X10.000 AND that move should be 10mm if in metric or 10" if in imperial. Make SURE you are in G90 mode (absolute)

BUT if you want to do it your way then you need to set G91 to switch over to incremental moves. That way each time you call G1 X10 it moves 10 units to the right. Call it again and it moves 10 more units to the right.

(;-) TP

3729
DO you have the Mach Plugin bible "Mach3Mysteries.pdf"  It was written by Art himself. It "seems" all you have to do is call a "macro" and in that macro contain the CB code to Loadfile() or runfile() or loadrun() .

OR NOT(;-)



Thanks, (;-) TP


3730
I can tell you how to do it from a CB script. Just don't know beans about plugin coding. You can use LoadFile() and then have teh OP hit cycle start OR then use RunFile() to auto start the function  or  LoadRUN() to an auto load and start of the file.

Could you post the CB version of your Gcode parser script. I would be interested in learning how you did it.

(;-) TP

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 »