Hello Guest it is February 26, 2024, 11:10:33 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 »
3711
General Mach Discussion / Re: Plasma Consumable Tracking
« on: November 01, 2012, 05:59:09 PM »
Yep that IS the main problem. I cannot find a way to keep the VB side in Sync with teh Gcode side in all cases. It all works here EVERY time from a button or the editor BUT I know what it does on other machines. It blows right by all the Gcode  stuff in one pass and does the last run.

I am truing to work out a solution even IF it is long winded to make it behave. ALL help welcome.

COme right up and take a shot at the autostackumup function. Earn your wizard badge in one session(;-)  Makes us look like dummies we don't care we are tuff. (;-)

(;-) TP

3712
Brains Development / Re: safety door interlock brain
« on: November 01, 2012, 04:36:13 PM »
I was going to ask IF you just needed an interlock so IF the door was open it would not run Gcode. (That is a MACH3 function) OR did you need it to LOCK and UNLOCK the door physically.

Brains take up little of MACH3 time slice.  You could have 100 brains running and not use as much time as 1 macro running in CB. 

Yes Brains can be cantankerous to make work somtimes as the logic is not always logical. (;-)

Just a thought, (;-)


3713
General Mach Discussion / Re: Plasma Consumable Tracking
« on: November 01, 2012, 04:26:04 PM »
Is it tuesday again?  dang time flies.

Auto scale is next. Here iuse it about 1 time a day to adjust a cut profile(artsy work) to fit a piece of material OR make the pruduct larger or smaller as needed. Customer want THAT art BUT it needs to be 24" wide and the file is for 18"wide.

Here is the button codes AND there is NO GCODE involved here(;-)


    'Macro M3004 Auto Scale Start buttom
Dim Size1 As Double
Dim Size2 As Double
Dim Scale As Double

Size1 = Question(" Current Size ? ")   'Asks for the current size   
Size2 = Question(" New Size ?")      'Asks for the NEW scaled size
While Ismoving()
Wend
Scale = (Size2/Size1)         'Calculates the scale factor
While Ismoving()
Wend

SetOemDro(59,Scale)         'Set the X axis scale factor
While Ismoving()
Wend
SetOemDro(60,Scale)         'Set the Y axis scale factor
While Ismoving()
Wend

DoOemButton(160)         'REGEN the toolpath display
While Ismoving()
Sleep(100)
Wend

End   


'*****************************************************
'Macro Button to reset scaling
SetOemDro(59,0)
SetOemDro(60,0)
End


3714
General Mach Discussion / Re: Copying the lock cutouts on an old shotgun.
« on: November 01, 2012, 04:17:37 PM »
Yes it would be easy to do. You have to learn to create the pocket  gcode  correctly and then learn to locate that pocket on the stock properly.

Then learn to create a fixture to hold it securely at the proper orientation.

Not overly hard but there is a learning curve to the full process.

NOW what you need to know is that it cannot cut a square inside sharp corner. So there MAY be some hand fitting involved for the finished product.

(;-) TP


3715
General Mach Discussion / Re: Plasma Consumable Tracking
« on: November 01, 2012, 11:28:40 AM »
I am afraid this is one of those lost causes for the masses. When you mix Gcode and CB together "sometimes" all you get is a mess. (;-).  I will think on this some more .

(;-) TP





3716
General Mach Discussion / Re: a simple MDI move not working??
« on: November 01, 2012, 10:55:58 AM »
Look on the main program screen upper right there is a MODE line that shows all the active modal values look for G90 for abs  and G91 for inc. They BOTH cannot be active at the same time.

From the MDI line just type in G91 then make your MOVE  G1 X10 F100 and it will be an inc move of 10.  WHen you are done make sure you switch it back to G90.

(;-) TP

3717
General Mach Discussion / Re: Plasma Consumable Tracking
« on: November 01, 2012, 10:13:44 AM »
IF that did not work try it this way. Enclosed macro.

(;-) TP

3718
General Mach Discussion / Re: Plasma Consumable Tracking
« on: November 01, 2012, 09:56:31 AM »
From one old DAWG to another it is RUFF,RUFF  to get going on a cold day.

(;-) TP

3719
General Mach Discussion / Re: Plasma Consumable Tracking
« on: November 01, 2012, 09:03:23 AM »
oK try this , It works here BUT then again so did the last version(;-) the idea is to make it work on your machine.


'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
Sub Main()

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 Goto N1
If x = 2 Then GoTo N1
If x = 3 Then GoTo N1
If x = 4 Then GoTo N1
If x = 5 Then GoTo N1
If x = 6 Then GoTo N1
If x = 7 Then GoTo N1
If x = 8 Then GoTo N1
If x = 9 Then GoTo N1
If x = 10 Then Goto N1


N1:

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

Cdown=(Cdown-1)

SetUserDro(2002,Cdown)
While Ismoving()
Wend

Next x

Message("End Of Batch Load")

end sub
End

 
(;-) TP

3720
Glad you got it figured out

(;-) 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 »