Hello Guest it is March 28, 2024, 06:15:01 AM

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 »
211
General Mach Discussion / Re: Mach3 VB Script Help
« on: February 11, 2016, 06:36:31 PM »
Another thing to keep in mind IS Mach3's scripting language is Cypress Basic . It is NOT Visual Basic(VB) 

(;-) TP

212
General Mach Discussion / Re: Mach3 VB Script Help
« on: February 11, 2016, 06:16:10 PM »
hIYA RICH. There were MANY discussions on it in past years.  BUT seeing how it will never ever be worked on again I don't see any point in cranking the discussion back up again. (;-)

(;-) TP

213
General Mach Discussion / Re: Mach3 VB Script Help
« on: February 11, 2016, 06:02:06 PM »
Now another thing Sleep() is NOT just about waiting it also frees up teh CPU during a wait state and can allow OTHER processes to run while the wait is going on OTHERWISE teh wait can HOG all teh CPU resources and nothing else can happen.

(;-) TP


214
General Mach Discussion / Re: Mach3 VB Script Help
« on: February 11, 2016, 05:56:41 PM »
(;-) WHile Ismoving is NOT just about MOVING it is about anytime MACH3 is doing something.  ALSO there is a problem with Mach 3 and CB spawning multiple threads at teh same time and loosing control over teh exact order of execution. SO it is left to teh programer to maintain order of execution in most cases.

You have a LOT to learn about Mach3 Grasshopper.

Another thing you MUST keep in mind is that mach3 is a GCODE motion controller. It is NOT a general purpose motion controller driven by scripting . Macros mixed with Gcode was an afterthought . MOST other controllers went with conditional Gcode instead of Macro interfaces to teh Gcode and in doing so can be much more stable AND FASTER in Gcode execution.

NOW once you learn how Mach3 works and learn most of the quircks MUCH can be done with it.  Just keep in mind that teh sampling rate of teh macros is ONLY 10 hz VERY SLOW as compared to other forms of motion control. SO by its own working Mixed Gcode macro can be very slow to function.

(;-) TP

215
General Mach Discussion / Re: Mach3 VB Script Help
« on: February 10, 2016, 11:04:07 PM »
You will want to do the probing in INC (G91)mode. You hve to gather teh trip point values for both sides of teh circle. ( X1 ,X2 )You can then do a positional move in INC after you proper calculate the value you need to move OR simply switch  to ABS (G90) mode to do a positional move to Center of space. Then switch back to INC to do teh next G31 call and repeat as needed.



Code "G91"             ' Switch to INC mode
Code" G31 X-7 F8"   'Probe in X- direction
While IsMoving()
Wend
X1 = GetVar(2000)      ' Collect X1 trip position
While IsMoving()
Wend
Code " G0 X.050"         ' Back off switch in X + direction
While IsMoving()
Wend
Code " G31 X14 F8"      ' Probe X + Direction
While IsMoving()
Wend
X2 = GetVar(2000)       '  Collect X2 trip position
While Ismoving()
Wend
Xc =( X2 - X1)             ' This assumes you are in Quandrant 1
While IsMoving()
Wend
Code" G90"                 ' Switch to ABS mode
Code" G0 X" & Xc         ' Move to X center position



216
General Mach Discussion / Re: Yet again, UC100 issues
« on: February 10, 2016, 06:04:55 PM »
Double check t make SURE there are no left over DLL,s from a previous attemp to install .  THAT will cause problems.

(;-) TP

217
General Mach Discussion / Re: Mach3 VB Script Help
« on: February 10, 2016, 06:02:11 PM »
Actually X1 would not have a value or would have teh previous value  from a previous G31.

#2000 would NOT be set untill after teh g31 is run. So in your example there is NO telling where it would end up.

AND because you did not switch back to G90 after the G31 ran the next move would be an inc move not abs. AND teh #2000 value IS an Abs position.

Clear as mud HUH ? (;-)

218
Tangent Corner / Re: Electro-Punch design
« on: February 10, 2016, 03:00:02 PM »
With teh hammer approach using inertial weight you will not have NEAR the cutter power as a levered (bolt cutter style) cutter. There are bascially only 2 methods to improve the cutting power of a hammer. 

Increase the speed of the hammer  ( larger air intake at the cylinder(more, faster flow) and a LARGE OPEN exhaust port area)

Increase the weight of the hammer ( not always the better choice )

Just make sure you keep your pinky away from that area.

(;-) TP

219
General Mach Discussion / Re: Yet again, UC100 issues
« on: February 10, 2016, 02:53:25 PM »
Colin are you still trying to load drivers from the Mach3 site or did you go to teh UCCNC website and download them from there . I believe you are ONLY going to get teh new updated drivers from teh UCCNC website.

(;-) TP

220
General Mach Discussion / Re: CNC mill has mind of it's own
« on: February 10, 2016, 01:08:07 PM »
IF it is an old PC I would consider replacing the Memory with NEW stuff at least 2gb

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