Hello Guest it is April 18, 2024, 09:40:53 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 »
3061
Mach4 General Discussion / Re: spindle pause
« on: February 19, 2019, 02:26:10 PM »
Hi,
in absence of an index signal you are going to have to increase the delay until the spindle accelerates up to speed.

Craig

3062
Mach4 General Discussion / Re: spindle pause
« on: February 19, 2019, 02:23:26 PM »
Hi,
so you don't know if your spindle has a feedback pulse?

If you don't know, and you would know because you would have to set up the pulse input to your
controller, then I'm guessing that you dont have one. Therefore the 'Wait until (percentage)' setting
is total irrelevant UNTIL you provide it with a signal.

Craig

3063
Mach4 General Discussion / Re: Verify button does not work in wxMach screen
« on: February 19, 2019, 02:18:35 PM »
Hi,
homing is rightly the job of the motion controller.

When an axis homes it travels in a given (programmable) direction at a given (programmable) speed until the home switch
changes state. Then the axis is to stop. The axis must stop exactly when, or very close to, when the switch operates.
That makes it a real time detection, that is the axis must stop within a few or perhaps tens of microseconds.

If you programmed Mach to drive an axis until a switch activated it would fail because Mach is not a realtime controller.
When the switch activates it would take several or perhaps tens of milliseconds for the signal to propagate back to Mach
and then another several or tens of milliseconds for Machs STOP instruction to get back to the motion controller.
All precision is lost because of the communication delay.

Your motion controller is however very fast and normally has responsibility for homing. Most motion controllers cannot be
programmed by a user however. Thus if controller is instructed to home an axis, it will and reset the machine coordinate.
What you really want is for it to home an axis, ie drive slowly to the home switch until it activates , back up until it
deactivates, but NOT reset the machine coordinate.

I am still trying to contemplate a way of doing as you want.

If you were prepared for the axes to drive very VERY slowly so that the communication delay does not adversely affect
the accuracy of the result then programming it in Lua would be easy.

The other way I'm thinking of would require the button to cause the machine to drive (at traverse speed) to machine
cords 0,0,0 and THEN be instructed to <ref all> and detect the distance moved between the original 0,0,0 and the newly
minted 0,0,0 position. The difference between the two would represent lost steps/inaccuracy that had accumulated between
homing operations.

Craig

3064
Mach4 General Discussion / Re: spindle pause
« on: February 19, 2019, 01:29:20 PM »
Hi,

Quote
in the control configuration, spindle, checked = wait on spindle to stabilize to 95 percent. (was 90%)

Do you have a spindle index signal?

This setting works only if you have such a signal.

How does Mach know what speed the spindle is doing? It can't know unless there is a feedback signal called an
index signal. A lot of people use either an optical device and a disc with a slot or a Hall device and a button
magnet to generate a pulse once per spindle revolution. That signal is applied to your controller.

Mach measures the time between pulses and can therefore tell the spindle speed.

Craig

3065
Mach4 General Discussion / Re: Verify button does not work in wxMach screen
« on: February 19, 2019, 04:13:02 AM »
Hi,
well just code it and attach it to a button.

All that is required is a GoTo zero (machine coordinates) for all three axes.

Craig

3066
Mach4 General Discussion / Re: Verify button does not work in wxMach screen
« on: February 19, 2019, 12:35:59 AM »
Hi,
you need to ditch wxMach.set.

It was the very first and most basic Mach screen set. It has very limited (maybe even nil) editing properties.
I believe it was intended as a test bed only. You can if you crash Mach hard enough CAUSE wxMach.set to run but its crap
by comparison to wx4.set or wx6.set for instance.

Try View/Load Screen, make a selection other than wxMach.set and <open>. The screen will load and redraw itself. If you like
it close Mach and that will cause the new screen set to be flushed to the .ini file.

If you decide that you like wx4.set for example then you should make a copy of it and call it sberanwx4.set say, and then use
the copy. Any screen edits you make will be stored in the new an individualized screen set and not be overwritten when you
update to the newest build of Mac4 in a few months.

Craig

3067
General Mach Discussion / Re: CNC router specs
« on: February 19, 2019, 12:15:51 AM »
Hi,

Quote
Second, i want woodworking and aluminum so. and it will work heavy.
3D modeling will need tall tool, right? what about the spindle type and model ?

For wood an aluminum with smallish tools then a 24000 rpm asynchronous spindle and VFD as abound on Ebay
will be fine, I would suggest getting the largest your budget allows. 2.2kW is about the maximum that you can power
with a the single phase 230V supply.

This is an example, I have no idea about this company or anything else, I picked so you could see the type of
spindle I mean:

https://www.ebay.com/itm/CNC-80MM-ER20-2-2KW-WATER-COOLED-MOTOR-SPINDLE-AND-DRIVE-INVERTER-VFD-FOR-CNC-HY/262023137513?epid=1772185565&hash=item3d01cbc8e9:g:0A8AAOSwfVhaRbvk:rk:2:pf:0

Quote
i will use aluminum extrusion or aluminum plate with 15 mm thickness ,about 20 mm chrome shaft for holding. ball screw for 1.5 m side.

The extrusion and aluminum plate will determine the machines rigidity. Many have constructed machines with these
materials and are adequate. The 20mm shaft will need to be supported. If it were supported only at each end it would
flex badly. For a machine of the size you plan square linear rails and re-circulating ball loaded cars would be better.

This is an example of cheap Chinese linear guides (trying to behave as THK units!):

https://www.ebay.com/itm/2-sets-HSR15-1000mm-Linear-rail-Guide-4-pcs-HSR15CR-Square-block-bearing/262454933071?hash=item3d1b88764f:g:6jgAAOSwNsdXRt1T:rk:3:pf:0

Quote
it needs also a stepper one.

Why? Some of the low cost AC servo brands, while still more expensive than steppers, they are not that much more and
leave steppers in the dust performance wise.

Quote
by the way i want to use Siemens NX or Catia v5 which i familiar with. what is your opinion!

I have no idea what they are? This forum is about Mach3 and Mach4 both of which run on Windows OS Personal Computers.
You can induce a PC's parallel port to produce signals (via a breakout board) to control CNC machines. Regrettably the parallel
port has various limitations so it is becoming increasingly popular to use an external motion controller like an Ethernet
SmoothStepper or a UC300.

I use, and am very happy with Mach4 and an Ethernet SmoothStepper, and is my preference. Many other users will have equally
valid preferences, say Mach3 and a UC100 or UC300 or UC400.

Craig

3068
General Mach Discussion / Re: cutting to small
« on: February 16, 2019, 07:48:18 PM »
Hi,
sounds like the machine is cutting in millimeters rather than inches.

Put a G20 at the top of the file and try again.

Craig

3069
Mach4 General Discussion / Re: SRO disable
« on: February 16, 2019, 04:04:51 PM »
Hi,
yes it is possible.
Look in the 'Spindle' category of the Mach AI.chm:

Code: [Select]
LUA Syntax:
rc = mc.mcSpindleSetOverride(
number mInst,
number percent)

Description:
Set the spindle override percentage.

You could use this or you might experiment with another from the same category:

Code: [Select]
LUA Syntax:
rc = mc.mcSpindleSetOverrideEnable(
number mInst,
number enable)

This API determines whether a SRO is applied at all.

Craig

3070
Mach4 General Discussion / Re: Mach 4 and fusion 360
« on: February 16, 2019, 03:57:50 PM »
Hi,
Tom is right, m26 seems misplaced.

Note also the spattering of g17 and g18's throughout the code. g17 declares the machining lane as xy whereas
g18 declares the machining plane as xz.

The link that Tom posted suggests that m26 is somehow related to lathe operations and the g18 seems to confirm it.

Could it be that Fusion is generating code for a lathe not a mill?

If I understand your situation you are new to Mach4 and possibly even CNC? If that is the case you have too many
'variables' going on. Mach4 in itself takes a little learning, using faulty code is making that learning impossible.
Likewise Fusion takes a lot of learning as well, but worse is that you clearly cannot read Gcode nor are you confident
of the machine software.

May I suggest ditch Fusion.....for the moment. What you need is good Mach compliant code that you can run through your
machine so you can gain familiarity and confidence in it. You also need to start to read Gcode. There are many online
tutorials about Gcode. You don't need expertise in Gcode but you should be familiar with what good code looks like.

For that purpose you should be writing Gcode manually or using a wizard. My recommendation is Mill Wizard.
Download it for free and experiment with it. You should be able to produce goo Gcode for simple operation in
under half an hour.

As an example about a week ago I had to machine a heatsink for a electronic project I'm working on. The material
(extruded finned heatsink) had previously been used. I required that the top face be surfaced and then four rectangular
pockets be formed. I stood at my machine for about 5 minutes and had Gcode, and about another 5 or 10 using s Gcode
viewer to verify and fine tune it before running the job. I had four heatsinks to do, it took 20 minutes to machine all
four.

This is an example of simple jobs that don't require a CAM program. You may have seen advertising material for Fanuc, Hass,
and Siemens and they both bang on about 'conversational programming' It is exactly the process I have just explained.
It allows a machine operator to stand at the machine and in short order chain together simple machining ops
all WITHOUT using CAM. This allows a machinist to be highly productive despite not be a programmer.

Of course there is a place for CAM programs as well. They typically are used in the office and then given to the operator
to run on the machine.

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 »