Hello Guest it is April 25, 2024, 10:41:45 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 - joeaverage

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 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 »
2851
Mach4 General Discussion / Re: Where is Mach4 Plasma screen set?
« on: March 21, 2019, 10:40:32 PM »
Hi,
really THC is a realtime operation and as such must be done by the controller not Mach.

Until very recently the only external motion controller that has THC support is the Hicon by Vital Systems.
Warp9 is days away from releasing its THC support for the SmoothStepper. We have been waiting a long time for it.
All reports, so far, from the testing suggest that its going to be good, and Warp9 doesn't charge extra for it unlike
Vital Systems.

NFS have decided to get in on the act as well. They have written a THC screen and programmed THC support in Lua.
You must recognize however that a programmed THC routine is fairly slow due to communication delays. If the
Z axis correction speed required of your machine is not high then NFS's solution will work. If however you require genuinely
fast THC support then you will need realtime support, the Hicon is ready now and the ESS is coming very soon.

NFS has not released THC support officially yet but is available as the latest development version on the ftp site.

Craig

2852
Hi,
no, there is no Gcode that does that.

There is however a Mach function that does it:

Quote
LUA Syntax:
rc = mc.mcAxisHomeAll(
   number mInst)

Description:
Used to start an axis homing.

Parameters: Parameter Description
mInst The controller instance.


Returns: Return Code Description
MERROR_NOERROR No Error.
MERROR_INVALID_INSTANCE The mInst parameter was out of range.
MERROR_NOT_NOW The operation could not be completed at this time.

Thus you could use the API in a macro.

Or you could call the RefAllHome() function (in the screen load script)

Code: [Select]
-- Ref All Home() function.
---------------------------------------------------------------
function RefAllHome()
    mc.mcAxisDerefAll(inst)  --Just to turn off all ref leds
    mc.mcAxisHomeAll(inst)
    coroutine.yield() --yield coroutine so we can do the following after motion stops
    ----See ref all home button and plc script for coroutine.create and coroutine.resume
    wx.wxMessageBox('Referencing is complete')
end

Craig

2853
Mach4 General Discussion / Re: input signals
« on: March 21, 2019, 02:40:47 PM »
Hi,
you need to give some thought as to when this code executes, and if it executes repeatedly every few milliseconds or
so, what prevents the movement code executing multiple times.

As it is written it looks like this ode should go in the PLC script. So you are polling the input, it works
but is inefficient.

So lets assume the signal changes state, ie the conditional MatHmLimit==1 then the movement codes execute.
Because you have not used GcodeExecuteWait() the movement codes return immediately. This could mean that
BEFORE your machine has had the time to move off the home switch the PLC script will run again the conditional
is still true so a second lot of movement codes is executed. Is that what you want?

The second issue is that you are attempting to execute Gcode, that is your motion codes, yet you have not tested to
see whether Mach is in the idle state and can accept motion codes.

I suspect that what you are hoping that will happen is that this will happen when you hit <RefAllHome>. You will
be dissapointed because when RefAllHome is running, being in the screen chunk Mach will never be in idle state
and therefore your motion  codes can't run.

Please explain what you are trying to achieve and when you are trying to achieve it.

Craig

2854
Mach4 General Discussion / Re: input signals
« on: March 21, 2019, 02:04:02 PM »
Hi,
where are you going to put this code, the PLC script, a macro?

Craig

2855
General Mach Discussion / Re: Do you use a Charge Pump?
« on: March 21, 2019, 02:37:58 AM »
Hi Tweakie,
ditto.

Craig

2856
General Mach Discussion / Re: Have you ever blown up a PC?
« on: March 21, 2019, 02:36:25 AM »
Hi Tweakie,
when I used parallel ports I had the same arrangement as you and never had any problems either.
I now use an ESS, and I suppose it is just as possible for a 'bad' input to damage the ESS, and yet it
hasn't happen either.

Craig

2857
General Mach Discussion / Have you ever blown up a PC?
« on: March 21, 2019, 02:02:40 AM »
Hi All,
trying to get a feeling for the number of people who may have damaged a PC because they chose not use
opto-isolated inputs.

Thanks for taking the time to respond.

Craig

2858
General Mach Discussion / Do you use a Charge Pump?
« on: March 21, 2019, 01:56:48 AM »
Hi All,
just trying to get a feel for the numbers of people who use a charge pump to 'safe' their machine.

Thanks for taking the time to respond.

Craig

2859
General Mach Discussion / Re: My home build machine
« on: March 21, 2019, 01:42:56 AM »
Hi Lumber60.
'plans are overrated'.....'I never bother drawing plans until I've finished building it'. :)

Craig

2860
General Mach Discussion / Re: Mach3 / PMDX-122 Issue
« on: March 21, 2019, 01:34:17 AM »
Hi,
we should do some polling.

Quote
now has a Charge Pump - it is for added SAFETY to prevent machinery motors from moving UNTIL operator using MACH3/4 is FULLY in control.

I am well aware of what a charge pump is and what it does and guess that most understand it also. I have never used a charge
pump with either Mach3 and parallel port or Mach4 and ESS, without problems. This comes in large part as a deliberate
design choices on my part that all potentially dangerous (when uncontrolled) motors and pumps are naturally in the OFF
state should the controller be out of service.

My guess is that 3/4 of all Mach users do not use a charge pump. Once upon a time yes is was the norm....not so today.
Would be worth doing some polling.

Quote
PMDX-105 optional card is to provide Opto-isolation so that limit/home switches can optionally operate on higher voltages (e.g. 12V or 24V) instead of just TTL level of 5V.

I certainly agree that optos allow an increase in flexibility, being able to use 24V devices is worthy of consideration.

Quote
Advantage of higher voltage limit/home switch is that HF noise from VFD & steppers for example will be less likely to falsely trigger the limit switches. HF noise or spikes will have to swing higher voltages to falsely trigger limit switches running at 12V or 24V  instead of 5V.

This is a widely held opinion but it is too simplistic to be accurate. The real determinant of noise immunity is not voltage
but impedance.

A 24V device may have a very high input impedance and therefore any inductive spike causes a substantial voltage swing
and potential interference with the signal of interest. The same circuit but at lower impedance with the same inductive spike
will have a proportionately lower voltage swing, ie less interference.

Thermal noise is described by Boltzmans equation:
P=4.k.B.T.R
P=noise power
k=Boltzmans constant
B=bandwidth
T=temperature (0K)
R=resistance (or impedance if reactive)

So for a given temperature and bandwidth, the lower the resistance, the smaller the noise power.

Have you wondered why so many electronic communication systems run at such low voltages? Take Ethernet for
instance, a voltage swing of less than 1V between a '1' and a '0'. That you might have thought that would render Ethernet
susceptible to noise yet in fact Ethernet is very noise resistant. The reason is the low impedance that Ethernet operates
at.

It is possible therefore to have a 5V TTL signal be as noise immune as a 24V signal IF the impedance is chose wisely.
For instance I do not like to load a 74LS TTL output more than about 10 mA, despite the maximum rating being 24mA.
By the same token I always like to load a TTL circuit such that an ON state current of at least 10mA, ie low to moderate
impedance for the sake of noise immunity.

Quote
Another advantage of Opto-isolation is to prevent PC motherboard or parallel ports BLOWING UP

Ok, yes you can blow up a PC by backfeeding the parallel port.......but when was the last time you heard of anyone
actually doing it? There again I think we should do some polling to find out. I know lots of people run scared but
I don't know anyone who has actually blown up a PC.

Hey, I usually have a good go at getting electronic stuff to go......but I have an AWSOME reputation for blowing stuff
up.....and I haven't managed to do so yet and I've got non isolated inputs and have done for five years.

Craig

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 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 »