Hello Guest it is April 25, 2024, 12:40:44 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 - 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 »
641
Mach4 General Discussion / Re: CNC4PC ESS C82 mach4 setup
« on: June 27, 2022, 12:34:08 AM »
Hi,
did you buy these drives new? If so then there should have come with them all the bits to make up the plug that goes into CN1.
Do you have it?

Do you have a soldering iron, a small one? The terminals on the back side of the plug are small but not insurmountable.

Where abouts are you?. I live in New Zealand so its bound to be a long way from you but if you posted me the plugs I could solder them up.


Craig

642
Mach4 General Discussion / Re: CNC4PC ESS C82 mach4 setup
« on: June 27, 2022, 12:24:09 AM »
Hi,

Quote
Do you think I should try other C34 for delta b2 driver?
I don't know. The problem is that I don't understand what Arturo has done and in particular how the liitle adaptor boards are wired. Clearly he made them to suit but they are still
not plug and play.

I soldered eight wires into the plug that came with the drive, and that plugs into CN1. The other end hooks direct to my breakout board, I don't have any little adaptor board in between.

May I suggest you ask him to give you an accurate and detailed circuit diagram for the little boards you've got and lets see if we cant adapt them to your drives. He may not wish to part
with this information, and I understand why, but if you are going to be able to use the hardware he has supplied then I think hes honour bound to do so.

Other than that I would make my own. In fact I did make my own.

Craig

643
Mach4 General Discussion / Re: CNC4PC ESS C82 mach4 setup
« on: June 26, 2022, 05:00:55 PM »
Hi,
what drives do you have? Are they ASDA-AB or ASDA-B2?

Digital Output 5 of the drive is pinned out to pin 27=DO5- and pin 28=DO5+, which according to page 6 of the C34DE-AB manual are hooked to pins 4 and 5 of the RJ45 connector....
but what happens to it thereafter? Does it get hooked to the breakout board or what?

Craig

644
Mach4 General Discussion / Re: CNC4PC ESS C82 mach4 setup
« on: June 26, 2022, 04:26:07 PM »
Hi,

Quote
When I disabled Estop in ESS configuration input signals, and I jog from position 0 to position X motor will rotate for approximately 2 seconds, after 2 seconds everything freezes (Estopcondition) than after 1-2 seconds it will continue for another 2 seconds.
So it looks like Estop signal is sent from the board in intervals every 2-3 seconds which last for a second or 2.

That is not an Estop condition, once a macghine is Estopped is MUST br RESET before it will operate again.

Quote
Which BoB did you use with delta servo and what programming you did on the delta servo ? Maybe I will try to do same programming on mine and try. Or in worst case if you can help me I will just purchase same BoB as you have.

I designed and made my own breakout board. I programmed the drives to suit. I populated the CN1 plug with the wires I required.

The link you provided to the adaptor board is of little use. It does not specify what happens to the servo alarm signal. It does not look like it hooks to the breakout board at all.
The single most important point about using a servo is that it should fault out if  the commanded position deviates from the actual position by my than the programmable 'Following Error Window'.
The servo should stop and the drive produce an alarm output which should Estop the machine. Without the servo alarm how is the machine supposed to Estop?

Craig

645
General Mach Discussion / Re: Selecting Jumpers COM & PULL UP/DN
« on: June 26, 2022, 04:12:02 PM »
Hi,

Quote
I read that it’s a good idea to have the 110VAC feeding the spindle on a relay and I plan to do so but I’m not sure if the 3 relays available in my C11G are good for this or I should use a separate relay and this I will decide when the time comes. I will post the relevant info here when I start to work on the spindle wiring and hopefully you can give me a hand if you have the time.

Are you using a VFD? If you are then don't try to switch the power (110VAC or 2390VAC) to it via a relay. VFDs have an input for ON/OFF, use it, all it requires is an isolated set of relay contacts.

Craig

646
Mach4 General Discussion / Re: CNC4PC ESS C82 mach4 setup
« on: June 26, 2022, 01:56:29 AM »
Hi,
OK I think you have a problem.

One possibility is that as one or more of the servos operate it is triggering a circuit that Estop the machine.

Another possibility is that one or more of the servos is throwing an alarm which triggers an Estop.

What I would o is disconnect any wiring going to the Estop input of your breakout board. That would preclude any electrical interference.
I would also disconnect ALL but one servo.

Until you track down this problem having multiple servos is just adding confusion.

How have you hooked up each servo, in particular is there a servo alarm output which is directed to the BoB?
Did you solder up the CN1 plug? How did you do it? Do you have  circuit diagram of what you did? Note the a Servo Alarm
output can be active High OR active Low, depending on how you program it.

Craig

647
Mach4 General Discussion / Re: CNC4PC ESS C82 mach4 setup
« on: June 25, 2022, 08:49:35 PM »
Hi,

Quote
I have to press enable again and I can run motors for maximum of 2-3 seconds and Estop condition again.

Then electrical noise from the servos is affecting the EStop circuit. Why?

Craig

648
General Mach Discussion / Re: ESS Disconnects my Internet?
« on: June 25, 2022, 08:44:59 PM »
Hi,
if you follow Warp9's recommendations you would never have the internet hooked to your machine PC nor would you ever have it connected to
a network. The ESS should be connected direct to the PC, not via a router or switch.

If you attempt any of these things when your machine crashes you'll know the reason why.

Craig

649
General Mach Discussion / Re: Selecting Jumpers COM & PULL UP/DN
« on: June 25, 2022, 08:37:53 PM »
Hi,
while the choice of pull-up or pull-down is determined by your hardware its not true that you can set it at will.
Most breakout boards have jumpers that cause a number of inputs to be pulled high (or low), so that the choice you make affects
multiple inputs. If you want one input pulled high but another pulled low, more often than not it can't be done.

I'd recommend that your choice, at least for the outputs, be determined by safety reasons. In particular what happens when when the machine
is powering up, or in the period of time when the machine is powered but Mach is not yet running? What you do not want to happen is the
spindle start up or the machine move.

I presume that you have a relay to turn the spindle ON/OFF?. Then you need to be assured that the relay is inactive, ie spindle off while the machine
and BoB are powering up. Likewise I would suggest that the stepper drives NOT be enabled UNTIL the machine is powered up AND Mach is running.
That is likely to require that the stepper drive Enable signal from the BoB is pulled low, so that at no time are the steppers energised and enabled
WITHOUT Mach being in control.

These safety considerations are likely to determine whether you have a pull-up or a pull-down resistor on your outputs. It may well be that for convienence
that you want a pull-up on a given output to make a pump work correctly say,  but for spindle safety that is not possible, the output must have a pull-down.
Bad luck. Thus for your pump to work as intended you must supply a signal inversion.

Inputs are somewhat less critical.

I posted a picture of my own BoB. I elected to design and build it so that all the inputs (31 of them) are ALL pulled high. Another way of saying tis is that
they are 'sourcing' inputs. That means that the pull-up resistor on each input sources a small current. For the input to be active the switch or whatever
must pull the input low and sink that current. My BoB is all 24V, and it has a 4.7kOhm pull-up resistor on each input, thus the input sources 5mA to each
input circuit. Therefore ALL my input switches must be  low. For example each Limit switch is Normally Closed and switched to 0V. Only if the switch opens,
ie the machine goes out of bounds, does the input go high, thereby indicating a Limit event.

I suppose it is easily possible to have some inputs pulled up (sourcing) while have other pulled low (sinking) but to date I've suffered no problems
with having sourcing inputs only.

Craig

650
Hi,
I wrote an m40 and an m41 specifically to work with Autoleveller, a software utility that probes a nominally flat surface to determine
small deviations from flat and thereafter manipulate the Gcode to follow the contour. I use this for making circuit boards.
The full story about how and why I came to write the macros is here:

http://www.cncsoftwaretools.com/forum/viewtopic.php?f=4&t=336

You will note that the file dialog I used as the basis for my macros is included in Mach4Hobby release:

C:\Mach4Hobby\LuaExamples\ProbeToFile\m401.

The m401 macro is to open a probe file while m400 closes it. I copy m401 here, but you have it on your PC already:

Code: [Select]
function m401()
inst = mc.mcGetInstance();
    -- create the wxFrame window
    mainframe = wx.wxFrame( wx.NULL,          -- no parent
                        wx.wxID_ANY,          -- whatever for wxWindow ID
                        "DummyFrame", -- frame caption
                        wx.wxDefaultPosition, -- place the frame in default position
                        wx.wxDefaultSize,     -- default frame size
                        wx.wxDEFAULT_FRAME_STYLE ) -- use default frame styles

    -- create a panel in the frame
    panel = wx.wxPanel(mainframe, wx.wxID_ANY)--We are not going to show it but we need to have this to use the File dialog

local file = wx.wxFileDialog(panel, "Select Probe File", "", "", "Text files (*.txt)|*.txt|Tap files (*.tap)|*.tap",
                             wx.wxFD_SAVE,wx.wxDefaultPosition,wx.wxDefaultSize, "File Dialog" );
        if(file:ShowModal() == wx.wxID_OK)then
            local path = file:GetPath()   
--wx.wxMessageBox(tostring(path))
--[[
Set the output of the probe points with the format String
Example:
X%.3AXIS_X
will output X<xprobevalue>
]]--
mc.mcCntlProbeFileOpen(inst, path, "X%.3AXIS_X Y%.3AXIS_Y Z%.3AXIS_Z A%.3AXIS_A\r\n", true);
        end

end

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

This file dialog will need to be edited for yor purpose. A g31 automatically writes to this file in append mode, but you wish to write values you will
have to write to the file using the formal Lua procedures, and you'll find examples in my m40/m41 macros.

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 »