Hello Guest it is May 19, 2024, 06:40:34 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 »
1961
Mach4 General Discussion / Re: MACH4 Mcode testing
« on: May 29, 2014, 06:36:21 PM »
Question for you WizBangs.

  local inst = mc.mcGetInstance();
    mc.mcCntlSetLastError(inst, "m101");

WHAT is the "inst" and what does it do in the 2nd line. WHAT IS ITS PURPOSE ???

(;-) TP

1962
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: May 29, 2014, 06:30:15 PM »
Cylindrical mapping would be nice,  :o  We had it in MAch3  >:D

(;-) TP

1963
General Mach Discussion / Re: Mach3 through Command line in Windows
« on: May 29, 2014, 02:30:23 PM »
What exactly are you trying to do ??

(;-) TP

1964
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: May 29, 2014, 02:25:24 PM »
I say just let THEM add teh tool life management and Tool changer stuff. THAT way we know it is integrated correctly (;-)

AND THAT is the rest of the story, (;-) TP

1965
Lava Port products, the best there are.

(;-) TP

1966
Mach4 General Discussion / Re: MACH4 Mcode testing
« on: May 28, 2014, 12:13:43 AM »
STEVE forgot to tell you I really LIKE that popup window in the Lua editor that when you start to type in a call it gives you a list to go by.

THAT really helps when you have to deal with that CASE sensitive beast called LUA   >:D

Thanks (;-) TP

1967
Mach4 General Discussion / Re: MACH4 Mcode testing
« on: May 28, 2014, 12:08:26 AM »
OK the MDI did the same thing so I did some testing with GcodeExecuteWait . It should run as teh Gcode line stated BUT it did NOT.



The Message(M222) Displayed fiirst
The X started moving to X10 and at the same time the Message (M222 Completed) was displayed
The X continued to X10 then Pause for 3 sec then returned to X0

So did something get OUT of sequence ??? or not It shoudl not have dispalyed the last message UNTIL the Gcode was done correct??

With some testing earlier it did the same thing it had 6 lines of Gcode to do using GcodeExecuteWAIT and it processed it all OUT of order it ran the 2,4,6 then it ran the 5,3,1 lines.

So far I have tried 4 PCs here and none have been able to run code that Steve and Craig can run fine without problems. SO I do not know , untill something changes I'll just wait to see what happens. I am Dead in the water.   I can can run everything else but the LUA scripting side of mach4.

I am as happy as a a pig with a new slop trough full of PIZZA with the Gcode side of MACH4. Even more so when all the #VARs get brought out so I can use them. Well maybe if we get "AND, OR ,XOR " included in the conditional side(;-).

(;-) TP

(;-) TP



function m222()
    local inst = mc.mcGetInstance();
    mc.mcCntlSetLastError(inst, "m222");
   local rc, DebugStopVar = 0;  
    mc.mcCntlGcodeExecuteWait(inst, "G1 X10 F30 \n G4p5 \n G0X0");--call the m3 macro from within this m700 macro
    DebugStopVar = 1;
    --mc.mcCntlGcodeExecuteWait(inst, "G0 x10");
      
    mc.mcCntlSetLastError(inst, "M222 Completed " );
  end
if (mc.mcInEditor() == 1) then
    m222()
end





1968
Mach4 General Discussion / Re: MACH4 Mcode testing
« on: May 27, 2014, 11:34:56 PM »
HIYA Scott, Nothing too fancy just try to run a M98 SUB from inside a Mcode.  IF it can be done then I am in HIGH cotton. In the simple example I call the SUB in Gcode, it does LOAD the sub in mach4 and it does display the message (start Macro) SO it gets that far. Steve explained why it does not go any further. It DOES NOT display the last message (M222 Complete).

function m222()
    local inst = mc.mcGetInstance();
    mc.mcCntlSetLastError(inst, "m101");
 
    mc.mcCntlGcodeExecuteWait(inst, "M98 P5555 L1 \n (StartMacro) ");
     
    mc.mcCntlSetLastError(inst, "M222 Completed " );
   
end

if (mc.mcInEditor() == 1) then
    m222()
end


OK in your code what does the line before and after the MDI call do ?  I will try it that way as a test using the MDI line

local rc, DebugStopVar = 0;   
    mc.mcCntlMdiExecute(inst, "m3");--call the m3 macro from within this m700 macro
    DebugStopVar = 1;

1969
General Mach Discussion / Re: Hot Key, space bar
« on: May 27, 2014, 08:01:21 PM »
It does the same thing here IF there are no hotkeys defined When you press teh space bar it repeats the last button pressed.

Just assign 1 hotkey and the problem goes away.

Just a thought, (;-) TP

1970
Mach4 General Discussion / Re: MACH4 Mcode testing
« on: May 27, 2014, 07:42:23 PM »
OK that makes sense.

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