Hello Guest it is April 23, 2024, 10:53:35 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 »
821
VB and the development of wizards / Re: OEM/User/otherwise knowledge
« on: August 12, 2015, 08:51:47 AM »
Here is the scoop on While Ismoving() as I remember it. In the beginning the WIM() did not have a built in sleep AND it hogged teh CPU during the wait. THen Brian added in an auto sleep to the mix BUT this caused other problems and it was later  removed. So that is why I still add in the sleep() to the WIM() and it works well here.

Also I find that IF you have a group of Gcode moves you can group them together with a WIM() at the end of the group.

Slower PCs work better than faster PCs when handling Macros it is a timing issue with macros.  That is WHY one script will run perfect on ONE PC but not another without some tuning.

Sleep() allows the PC to wait with out hogging the CPU.

After anything that has to update or get a values add in a sleep(100) minimum to give it time to do it or create a semiphor to control the flow.

Never call another macro from inside a macro There IS a CALL for that in later versions that make it work.

The G4P# call is for use in the Gcode side. It stops the Que fill at that line call and then restarts the que fill  from that point. YES it does create a wait BUT WIM() and sleep() are the better choice in the macro side as they do NOT effect the Que fill.

The Gcode side and the Macro side are 2 seperate control functions that are merged together when you use Gcode in a Macro script. REMEMBER that (;-) Not all things will work as you assume they would/should (;-).



Just a few thoughts, Your Mileage may vary.  (;-) TP

822
VB and the development of wizards / Re: OEM/User/otherwise knowledge
« on: August 11, 2015, 04:15:20 PM »
FIrst, while Ismoving()  is NOT what you think it is, very little to do with actually moving.  It is waiting for ALL internal processes to stop NOT just motion (;-) ANd G4P# is the wrong approach for a macro. It is a GCODE wait call not a CB script call. There IS a difference.


(;-) TP

823
VB and the development of wizards / Re: OEM/User/otherwise knowledge
« on: August 11, 2015, 08:44:55 AM »
HI Wes as a test try adding this after every call to update teh Dro. What version are you using ??

While Ismoving()
Sleep(100)
Wend

(;-) TP

824
HIYA Mike I have not forgot you dude I am trying to find someone that is more familar with turn to help you out. I am way too rusty on it to be of much help. UNLESS no one steps up THEN I will drag out the books and give it a whirl.

Hang in there, (;-) TP

825
G-Code, CAD, and CAM discussions / Re: GCODE
« on: August 08, 2015, 01:42:42 PM »
OK you will really have to pay attention to details but this is how to do it. In your case you would not be calling internal Programs you would be calling external programs AND THEY have to be set up as a sub as well.  The #vars are the key to making it work. The Sub name is incremented by 1 each loop. so the name changes as well. I tested it and it does work here.

G0 X0 Y0

#100 = 1
#101 = #100
M98 P#100 L2
(End Test)

M30

o001
(TestLoop1)
#100 = [#100 +1]
M98 P#100 L1
M99
%

o002
(testLoop2)
M99

o003
(testLoop3)

M99
%

826
General Mach Discussion / Re: Perfect Lathe threading
« on: August 08, 2015, 12:25:49 PM »
hIYA hood I was not implying that what you showed was trivial it is not.  What I described with M3 was exactly that a magic trick. Can it be done in mach3 sure the magic trick can be done.. I even explained how it could be done.   Can encoder threading be done from Mach3. I fully believe it can BUT it would be a BEAST to make it all work reliably as you stated WITH dedicated exact hardware and really NOT worth the effort to develope it for the 10 people that might actually use it. Mach3 is dead and will never be revived or worked on again so what would be the point(;-).

The odd thing is every since Mach3 allowed outside controllers every OEM said oh yea we will have encoder threading out next week. THAT was what 10 years ago ??

I guess next week FINALLY showed up at a very high price for a hobby lathe.

I think Art saw it the same way.  Single index threading CAN work depending on the machine and the precision of the thread that is required.  Hobby threads sure Precision Gauged threads not so much.




Same with rigid tapping in mach3 it CAN be done but not easily with a normal spindle setup as you do not have full control of the spindle. EVEN if you have spindle following you do not have TRUE rigid tapping as you can NOT control the exact stopping point of the spindle rotation so you cannot predict the EXACT depth it will stop at. You can get close but that is not true ridgid tapping.

Move to a step/direction SERVO spindle then it becomes a piece of cake for Mill or Turn. 1 Mcode to set from RPM mode to index mode function ( no swap axis involved)  and I can USE canned Gcode cycles to do the drilling and do the tapping. We have already made that work years ago.

I can do peck tapping and return from anywhere and retap the same hole again EXACTLY true and never tweak a thread.  BUT it also takes a properly setup machine to do it.  


 AND just a note I garrenty you it does not work in the way one would think it does (;-). It to is a magic trick.

SOME magic tricks are best left a secret. (;-)

(;-) TP






827
Having the Machine SING to you is the CHARM of a stepper machine (;-) . I can tell what it is doing simply by the Song it is singing.

AND you can actually play real music with it. 

If you cannot afford Ball screws then consider acme screws with antibacklash nuts in a proper pitch for CNC. 

Just a thought, (;-) TP

828
G-Code, CAD, and CAM discussions / Re: Tangential CAM program
« on: August 07, 2015, 11:48:57 AM »
First I would back up a few versions and retest. V.066 is NOT a stable version it has its problems. 

Sheetcam is very cost effective . But the Tang plugin IS an extra cost with it as well.

I remember tang working OK in older versions ????  Could be wrong but I do believe that Art would have fixed that in his day if it was broken back then.

Just a thought, (;-) TP

829
AH ok , A simple while / input  = false  Wend  loop  will work. I would just plan a timed escape sequence in the script to allow you to escape from the endless LOOP in the event something went wrong and you needed to abort the ATC function. OTHERWISE you will be stuck in that endless loop.

I do not see any problem with a negative value for the tool length offset. Just test it to make sure.  Not everything in the manuals is correct. 

(;-) TP

830
General Mach Discussion / Re: Perfect Lathe threading
« on: August 07, 2015, 11:29:21 AM »
Yous guys are funny. I said magic trick and that is what it would be(;-). Art did say it was possible in m3 but never would reveal the secret. I think For fear of the kaos it would create with everyone try to do it. More support. I think I figured out his secret.

THink about an MPG. You can simply and accurately drive the Z with an MPG correct ?  So if the Spindle was the mpg(encoder) AND you did the math correctly to match rotation of the spindle to movement of the Z you have the magic trick. I did BUILD the basics and it would do exactly what you saw Hood do. And in respect for Art that is where I stopped with it.

And yes it is easy with a step/dir spindle either stepper or servo.  You can make it deadly accurate with a servo spindle by having it do indexing as well. Then you can Sync the spindle rotation to the Z axis motion through a MATH channel. THEN the spindle rotations will folllow the Z no matter where it goes. I have done THAT as well in TURN AND in MILL. THE Torus mill that comes with a servo spindle , I help develope a rigid tapping scheme that not only does rigid tapping BUT USES mach3 Gcode canned cycles to do tapping. THAT was the magic trick. The spindle could do RPM or indexing without SWAP AXIS or flipping a switch. You could command EITHER from Gcode.

There ARE still some secrets in the DIY world (;-) Not ALL the cats have gotten out of the bag.

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