Hello Guest it is April 20, 2024, 01:56:40 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 »
6201
Mach4 General Discussion / Re: Jogging while doing a tool change?
« on: October 23, 2017, 12:46:39 AM »
Hi,
can you post your m6 macro as it is.

I'm using one of the example m6s that come with Mach4. It may be quite different with your m6.

The only way I can see that you can jog is to stop the current cycle, do the business and <cycle start>
Code: [Select]
    mc.mcCntlFeedHold(inst)
    mc.mcCntlCycleStop(inst)

Now you can jog around and MDI a toollength measuring macro for instance.

Craig

6202
Mach4 General Discussion / Re: Jogging while doing a tool change?
« on: October 22, 2017, 11:37:17 PM »
Hi,
its not quite as straight forward as you might think.

When a Gcode job is running the motion controller is being directed by Machs Gcode interpreter and trajectory planner. Even when you execute an m6
toolchange macro the Gcode interpreter is still in charge. What you want to do is have the jogging functions built in to Machs GUI take over temporarily
so you can jog to an appropriate location for probing and then revert back to the Gcode interpreter.

The problem is that given that you've jogged away from the exact toolpath that the Gcode specified.  When the interpreter takes over again it is not starting
from a known point along that path but some other location and could have unpredictable results.

If you are to achieve the behaviour you wish there are two hurdles I can see that you will have to overcome.
1) You need to be able to stop the Gcode interpreter without loss of place or status and offer up motion control to the jog functions.
2) Once you've jogged to the right location and set the tool length then the machine needs to go back to the last known good point on the toolpath,
    reinstate the status of the interpreter, have control revert to the interpreter.

I can't think of any ready solutions at the moment however feel sure that this behaviour could be achieved, after all customisation is Mach4s strength.

Craig

6203
Hi Hakan,
yes you've already got the basis of a solution and the code to do it.

If you had or wanted to adding an indexing unit need not be that hard. This little Hall effect sensor requires 5V, 0V and output all for $2.03 NZD. Add a little
button magnet for another dollar and you're done.
http://nz.element14.com/honeywell/ss411p/sensor-hall-effect-bipolar-to/dp/1784734

Craig

6204
Hi,
I run a dual Atom mini-ITX board similar to this:
http://www.mini-itx.com/store/?c=47#D2550HN
with Windows7 32 bit and ran the in-built PP and one PP on a PCI expansion card, no trouble.

If you want little PCs have a look at the Latte Panda and the Udoo X86 boards. Do yourself a favour and get an external motion controller like a Smoothstepper,
the computing platforms that can then be used increases dramatically and with way fewer hiccups than a PP machine.

http://www.lattepanda.com/
https://www.udoo.org/udoo-x86/

Craig

6205
Hi Hakan,
just downloaded the Delta E series manual and it doesn't appear to have apulse output.

Craig

6206
Hi Hakan,
my VFD is a B series unit. It has the Multifunction Opto Outputs as well, but they are just digital IO, they do not switch on and off that fast
to my knowledge. The DFM and DCM terminals are separate and dedicated to that one job.

Craig

6207
General Mach Discussion / Re: Probe not stopping "Z" axis
« on: October 22, 2017, 12:06:54 PM »
Hi John,
I got a download of the book, not as convenient as printed but OK.

Craig

6208
G-Code, CAD, and CAM discussions / Re: Complete newb, need help
« on: October 21, 2017, 10:10:40 PM »
Hi,
re-reading your post and you may need a few more preparatory codes.

As you've already noted M3 is a valid m code, its meant to turn your spindle on. You could use one of Machs outputs to turn your device on for instance.
If you use this idea it may take a short while before your device/etcher/gizmo is ready. There is a delay code:
G04 Pnnnn where nnnn is the delay in seconds (milliseconds). Whether the parameter P is interpreted as seconds or milliseconds is determined by the
setting Config/General Config   G04 Dewll in msec check box upper right.

You don't specify what units you wish to use. The numbers you've posted suggest inches. Is this the case? If so it would pay to program a G20 at the beginning
of your code. Likewise you don't specify whether your moves are absolute or incremental. Again from the numbers you've posted absolute looks certain.
Is this the case? If so code G90. You should code G17 to ensure the machine is in XY plane mode. Code a G40 to cancel cutter radius compensation and
G49 to cancel tool length compensation, a G50 to reset all scale factors to 1. Code G54 to make sure you are using the primary work co-ordinate system
and G69 to cancel any rotation. Code a G15 to be sure your in Cartesian co-ords. Code G94 to be sure you are in per minute feed units.

As soon as you code G1 all other canned cycles are effectively cancelled.

Putting them altogether:
Code: [Select]
G15 G17 G20 G40 G49 G50 G54 G69 G90 G94
Would recommend an M5 at the end to turn your spindle/device/gizmo off and then M30 which  stops the program and rewinds the code to do it again.

Code: [Select]
G15 G17 G20 G40 G49 G50 G54 G69 G90 G94
M3
G04 P1
G1 x0 y0 f0.5
x15
y0.5
x0
y1
x15
y1.5
x0
y2
x15
y2.5
x0
y3
x15
M05
M30

This is a tedious but simple way to code. If you wish to have variable step over and or programmable end points then coding this way will become
very tedious indeed. If that is the case then a macro is looking like a solution. Machs scripting language is a subset of Visual Basic called Cypress Enable CE
and it has all the expected looping and conditionals.

Craig


6209
Hi Hakan,
this is pulse output that is equal or at least proportional to the output frequency of the VFD. As you know an induction machine will not rotate at
the frequency on its terminals but at some slower speed determined by the slip. With a good installation and motor the slip is seldom more than a few
percent of the input frequency. This signal is a fair representation of spindle speed.

If however the spindle is stalled for whatever reason the frequency would still be applied to the stator but the rotor would not turn. The output signal
would indicate wrongly that the spindle is rotating. The machine would very likely fault out 'current overload'. The essential point is that the pulse signal
is a reasonable estimate of spindle speed except under fault conditions and potentially inaccurate at start up conditions. If you called for the frequency
to ramp up too much faster than the spindle can accelerate and yet be within its fault current limit the output signal may get to 50Hz say while the spindle
is still trying to accelerate and is spinning at only 40Hz.

Most recent VFDs offer sensorless vector control, the VFD very cleverly uses current fluctuations to guess at the rotor actual speed and position. As such they
can be thought of as a servo. They can't achieve position control and their accurate speed control has a span of 10:1 or thereabouts. Of course a servo with
a proper encoder blows them into the weeds but none the less a very clever use of the digital signal processing power available to manufacturers. My Delta
does sensorles vector control but doesn't provide a derived rotor speed pulse, just the input frequency as above.

The signals At Speed and Is Stopped suffer the same problem, they represent whether the applied frequency is at speed or stopped but it can't actually tell
what the rotor is doing. If it was a matter of safety that the motor was rotating then would would need a device to measure it like an encoder. Even a sensorless
vector control VFD is still a derived measurement and wouldn't satisfy me in a lift application for instance.

Craig

6210
Hi Hakan,
the output is called 'Digital Frequency Meter' or DFM and has a programmable parameter per attached.

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 »