Hello Guest it is April 24, 2024, 10:24:31 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 »
3511
Mach4 General Discussion / Re: Custom Error and stopping a program?
« on: November 13, 2018, 11:57:43 PM »
Hi,
easy enough.....lets assume you have assigned one of your fault inputs to ISIG_INPUT10 then you need to put
the following in the SigLib table which is near the top of the screenload script.

Code: [Select]
[mc.ISIG_INPUT10]=function(state)
local inst=mc.mcGetInstance()
if state==1 then
mc.mcCntlEStop(inst)
end
end,

You will need to repeat this for as many fault inputs you have, probably using ISIG_INPUT11, ISIG_INPUT12 etc.

Craig

3512
General Mach Discussion / Re: G-code limit in Mach3
« on: November 13, 2018, 10:02:28 PM »
Hi,
try the Diagnostics Tab.

Craig

3513
Show"N"Tell ( Your Machines) / Re: Controller and drivers
« on: November 13, 2018, 08:51:56 PM »
Hi,

Quote
If I read the documentation right, all those signals go through the 1 cable. I was just thinking of making life abit easier for myself, by using the connectors I got with the drivers.

The whole point about using a breakout board or boards is to provide buffering for the ESS. In buying the MB02 you have paid a premium
for the protection it offers....why then would you bypass that to 'make it easier on yourself'?

If you had felt inclined to do that why didn't you buy just one or maybe two C10's for a fraction of the money?

Craig

3514
General Mach Discussion / Re: G-code limit in Mach3
« on: November 13, 2018, 08:42:40 PM »
Hi,
there is no line limit for a licenced copy of Mach3. A Demo copy has a 500 line limit.

In Mach4 there is a six minute runtime limit with a Demo copy and no limit when licenced.

With large files such as you are running it can take a long time for Mach to do the initial draw.....minutes or longer.
With Mach3 redraws are also extended and often result in a machine stall because the redraw steals too many CPU cycles
and Mach starves.

May I suggest turning the toolpath display off and see how it goes. It will at the very least tell you whether the graphics are
causing the fault.

The initial draw in Mach4 is also processor intensive and can take a while depending on the power of the PC, the installed memory
and the graphics card if any. Thereafter the redraws are very much less intensive than Mach3 and a redraw in Mach4 is not likely to
cause a stall.

Craig

3515
Hi,
yes an Ethernet SmoothStepper will work well, as would an UC300 or 57CNC. These are US or European made controllers,
I would not recommend any Chinese made ones. I would also recommend buying direct from the manufacturer or their nominated
distributor, there are too many Chinese knock-offs on Ebay and Amazon.

Craig

3516
General Mach Discussion / Re: 30 40 ports and pins
« on: November 11, 2018, 08:56:36 PM »
Hi,
there are dozen if not hundreds of 3040 machines made in China.

Do you have model codes?
Have you opened the controller box to see whats inside?
How about some pics?
Do you have a manual for the machine?

Craig

3517
Hi,
no, unfortunately the website is under repair/re-design and the search and redirect functions are not working at the moment.
I didn't realize how often I use re-directs until I don't have them.

Craig

3518
Hi,

Quote
2 i am using individual limit switches on each axis

can you not therefore identify which limit switch is activating? This would cut down on the amount of work trying to find it. You
may find for instance that is the Z+ limit switch which just happens to be in the same cable chain as the spindle motor wires
and if you separated them the problem would go away.

Quote
I have read somebody used capacitors on theres but they didnt explain how to or what to use really,...any info on this method would be appreciated
Small capacitors (0.01-0.1 nF) between the 57CNC input pin and 0V add another layer of filtering. The software filter provided by the 57CNC does a very
similar job but there are a few technical and very minor differences between a software filter and a physical RC filter using a capacitor. Given that capacitors
are so cheap its worth trying.

Most people when confronted with an electrical noise issue do as you have done, shielded cables, passive and programmed filtering etc.

It is in fact the wrong place to start. You should try and identify the device or devices that are producing the electrical hash and quiet those BEFORE trying
to improve noise immunity of things like limit switch circuits.

Usually its the spindle motor which produces the most noise in any CNC machine. May I suggest try running some code but without the spindle running.
If the fault goes away then you'll know that the spindle is responsible for the noise. You might find that a line reactor is required....not many hobbyists
bother with line reactors and as a consequence hobbyists experience a great deal more trouble than well designed commercial equipment which does.
You may have to put EMC filters on the output of your VFD......be warned follow the VFD manufacturers instructions to the letter if you do so, just any old
EMC filter is likely to result in clouds of smoke.

The next step after ensuring that all practical steps have been taken to reduce the noise output of the offending device (spindle/servo drive etc)
is to separate the wiring between the high energy circuits, especially the identified noisy ones, from the low energy sensitive ones like limits switches.
Another tip is where a low energy circuit crosses a high energy circuit have the cables cross at right angles to each other, it reduces the magnetic coupling
between the two.

The next thing to consider 'is a particular input circuit sensitive because of the very low current in the circuit'. If you have a high impedance limit switch
for instance then very low currents will exist in the limit switch circuit and as a consequence it will be easily swamped by a noise signal. If however
the limit switch has a moderate standing current, say 5-10mA, then a much stronger noise signal would be required to swamp it.

Then you start with shielded cables and filters. Its a bit like 'trying to shut the gate after the horse has bolted' though. Try and reduce the noise at source
THEN reduce the sensitivity to the noise.

Craig

3519
Mach4 General Discussion / Re: Mach4, Pokeys and Lexium
« on: November 11, 2018, 07:03:17 PM »
Hi,
what model Lexium driver are you using?

I thought the Ethernet port is in fact a RS485 com port and its use is covered by the CANOpen protocol.

Do you have an Ethernet connection for each Lexium drive? CANOpen (and EtherCat, ProfiBus and others) has one Ethernet cable daisy
chained to all the drivers one after another.

Given that you have a 57CNC controller with separate pins for step and direction for each axis why are you trying to squeeze them down an
Ethernet cable?. Whats wrong with hooking each controller output pin to the input pins within the CN1 connector of the drive?

Craig

3520
Mach4 General Discussion / Re: Mach 4 Reference sequence Question
« on: November 11, 2018, 06:48:54 PM »
Hi,
this is some code I have written, as I suggested to you I have written it in a temporary folder. It compiles OK and I have
single stepped through it with the debugger and it appears to work.

May I suggest copying this into your temporary folder and step through it with the debugger. Once you are happy with it THEN
copy it into the PLC script.

Code: [Select]
local inst=mc.mcGetInstance()
local xhomed,rc=mc.mcAxisIsHomed(inst,mc.X_AXIS)
local yhomed,rc=mc.mcAxisIsHomed(inst,mc.Y_AXIS)
local zhomed,rc=mc.mcAxisIsHomed(inst,mc.Z_AXIS)
local outhandle=mc.mcSignalGetHandle(inst,mc.OSIG_OUTPUT5)
if (xhomed==1 and yhomed==1 and zhomed==1) then
mc.mcSignalSetState(outhandle,1)
else
mc.mcSignalSetState(outhandle,0)
end

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 »