Hello Guest it is April 25, 2024, 05:59:26 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 »
6531
Name "C:\mach3\gcode\drawing1.tap" As "c:\mach3\gcode\drawing11.tap"

BuggyWhipper style (;-)


NOTE: IF you are trying to rename a loaded file then you are going to have to do it a different way. IF you try it straight up you are probable going to CORRUPT mach in a big way.

TO do it, get current file name, get current line#, close file, rename file, reload newfilename,  goto line#

(;-)  BUT WHY do it at all ????

6532
Name Statement
Name oldname As newname
Changes the name of a directory or a file.
The parameters oldname and newname are strings that can optionally
contain a path.
Related Topics: Kill, ChDir

Page 104 of the Cypress manual (;-)

6533
Not to discourage you BUT that is a pretty ambitious project(;-) for ALL the reasons Dave described and then some. Mach has its limitations with VB interactions. I can see how it could be made to work BUT "I" would ask myself do I really need that much information at the control OR can I get the same info another way that would not TAX mach's processing load.

SheetCam can put out a LOT of operational INFO via it's  REPORT engine(hardcopy of the project) AND Mach can tell you what the next tool change is to be.

Here I take the project file and set all the tools and load them into a simple carrosell tooL holder in ORDER of use. Then verify the tool table is correct for each tool. Then as the program cycles tools they are in order and ready to load at tool change time.

Just a thought, (;-) But do let us know how it goes. We all may learn a new trick.

6534
VB and the development of wizards / Re: M98 and M99 VBScript
« on: July 18, 2010, 10:00:21 AM »
The M98/99 macros are internal code inside the mach kernal they are not available to users.

6535
(;-) Before Art fries his brain working on strange Gear designs you might want to hook a BrainWave recording  device up to him and get the rest of the mach goodies out before he forgets them.

I remember the filename stuff from a ARF function I worked on.

(;-)

6536
OK perhaps I am confused(;-)  When you call an outside SUB from Gcode like you want the name appears in the FILE dispaly as

FILE: c:\Mach3/subroutines/99999.nc     IS this what you need??  IF so then in VB the Call to retrieve the name is    FILENAME

Message(filename)  would send that file  name down to the error label bar OR you could send it to a userlabel


NOW: This does NOT apply to an "internal" Sub call inside the Gcode file.



OR do you need something else?

6537
General Mach Discussion / New Plasma Function In Mach TOOL BOX
« on: July 16, 2010, 09:00:51 PM »
I have just downloaded a new plasma function for those with a CanCNC DTHC. It is an auto preset function to be able to load the preset tip voltage from Gcode. This way you will not forget to preset the required tip voltage setting(;-)

YOu simply insert the macro with a P# value equal to your preset voltage and Mach will auto update the value AND notify the DTHC on file load.

Helps make plasma So easy a caveman can do it.

(;-)

6538
MACH TOOL BOX / Plasma Auto Preset tip voltage
« on: July 16, 2010, 08:53:25 PM »
This is a routine to be able to AUTO PRESET the tip voltage setting On your MP3000 DTHC from CandCNC FROM the gcode program. The way it works is you insert this Macro along with a P# that equals the preset tip voltage. This way you will never forget to set those values as they will auto load and notify the DTHC before the Gcode runs. It will also alert you IF you set a value lower than a safe voltage.

M549 P100     will autopreset the tip voltage to 100volts AND notify the MP3000 of the change.(;-)


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

'M549 Auto tip voltage PRESET
PresetV = param1
None2 = Param2
None3 = Param3
SetUserDro(1036,PresetV)
Sleep(1000)
Call NotifyPlugins(25502)
If GetUserDro(136) < 50 Or PresetV <50 Then
   MsgBox("Preset Voltage is Below Minimum, Reset PARAMETER and RESTART")
   DoButton(1)
   While Ismoving()
   Sleep(10)
   Wend
   DoButton(2)
Else
End If


We are working with Les at SCam to be able to include the Macro INFO at post time based on TOOL# used for the operation.

6539
attaboy Steve. go get um buddy. (;-) It won't take long

6540
Screen designer tips and tutorials / Re: Screen Designer TIP
« on: July 15, 2010, 07:15:23 PM »
Mach Screen is the best and getting better every update(;-)

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 »