mach 4 development - Page 3


Page 3 of 4 FirstFirst 1234 LastLast
Results 41 to 60 of 70

Thread: mach 4 development

  1. #41
    Member dharmic's Avatar
    Join Date
    May 2015
    Location
    Australia
    Posts
    1422
    Downloads
    0
    Uploads
    0

    Default Re: mach 4 development

    Ahhh.

    Most people who own a vacuum cleaner don't care whether the motor is a universal type or synchronous AC single phase type. They don't care about the number of poles in the motor, the metallurgy of the axle and bearings, etc etc etc. They care that they can switch it on and clean their carpet.

    If you compared two vacuum cleaners that looked and sounded identical, and then tried to say the one with the universal motor was much better than the one with the sync AC motor, most people would just shrug and let you get all religious ranty but stop listening and not care. They're the same. If you then tried to tell them that one had an offset gripley discombobulator simplexed to its axial offset vortex migrator they would probably just nod, smile and walk away.

    Yes, people need to know that there are options. But if you need to go down to the guts of the architecture at a software engineer's level of understanding to see the difference then, for the people using the software, there effectively is no difference.

    The processor workload of running a toolpath, even with on the fly curve matching and acceleration lookahead maths going on, even doing floating point all the way down, is utterly insignificant in the scope of modern microprocessors. If the machine has been built and OS installed purely for the purpose of running the machine control software, then it's idle 99.9% of the time and any OS will be pretty reasonable in terms of lag and latency. If the hardware is fast enough and the load low enough, pretty much anything approaches an RTOS in its external behaviour.

    Windows is not a "real-time system". Mach3 is an application, noth part of the OS. It comes with some drivers, which are not part of the OS. Installing those drivers lets them run under supervision of the OS with a little more latitude and priority, but they are not part of the OS. Throwing hacks in at the driver level can make it a little less laggy and a little more deterministic, but it's still not a real-time system and never will be.

    Linux is not a "real-time system" either, although I understand it can get extremely close with the right kernel mods. The ones LinuxCNC apparently uses in its build - and it looks like LinuxCNC is the full real time linux kernel with the CNC apps included in the install package.

    So, from a software architecture/engineering point of view, LinuxCNC is by far and away closer to a RTOS but, as long as it works, no-one cares. Well, apart from those members who are bored and have enough computer science knowledge to be dangerous and really just want to have a d*ck swinging competition. I'd back this up with a CV of software blah blah blah but really don't care enough to argue. Sometimes it's easier to just say your piece and let people who disagree be wrong.



  2. #42
    Member dertsap's Avatar
    Join Date
    Oct 2005
    Location
    canada
    Posts
    4230
    Downloads
    1
    Uploads
    0

    Default Re: mach 4 development

    any idea of how far off the next version of emc is ??

    A poet knows no boundary yet he is bound to the boundaries of ones own mind !! ........


  3. #43
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default Re: mach 4 development

    Anyone priced a real-time kernel for windows?

    Quote Originally Posted by dertsap View Post
    any idea of how far off the next version of emc is ??
    Close? Unless some major bug pops up I would guess a few weeks at the most.

    Sam



  4. #44
    Member dertsap's Avatar
    Join Date
    Oct 2005
    Location
    canada
    Posts
    4230
    Downloads
    1
    Uploads
    0

    Default Re: mach 4 development

    cool ! I will probably give it a go over on one of my mills .
    Am I wrong or has it become much more lean from what it was in the past when emc2 was fairly fresh on ubuntu . It was an absolute hog when I was using it in the past , and it was the main reason I went to mach . My machine at the time ran much better with mach and I ended up sticking with it . I've recently downloaded linuxcnc and installed it on vmware (not connected to a machine) . It seems like it's much leaner and not so resource hungry .
    I like my dumpster grade pc's

    A poet knows no boundary yet he is bound to the boundaries of ones own mind !! ........


  5. #45
    Gold Member daniellyall's Avatar
    Join Date
    Sep 2009
    Location
    New Zealand
    Posts
    1856
    Downloads
    3
    Uploads
    0

    Default Re: mach 4 development

    they will still argue with you mactec54 there are so many options out there that can be better than a window`s or linux based program. but I have tried both and on a dud computer both are useless, on a good computer both are fine, it`s only good if it does what you wont 24/7.

    it is important for people to know what`s what the fact`s. just not the bit where people say no it`s not, what can be wrong.

    but if it`s running solid states hard drives and that new fancy stuff it`s going to be fast anyway what ever computer you are using then you can argue about micro seconds.

    <img src="https://ivxo1q-dm2305.files.1drv.com/y4mENMmTr_Cabc7pR0FUdB6gtbADq2JbuG4_rGy0eBQvLJx19pTi6TqMUIJN0xgOyDIc0gWoxYhS38HpbSTFGdfaK-o42IOU6jczrhDpfpCOTNGL1X6hvZCbgj0y35gqmq1YGTrWwShYGV-C7lXA2esy0Pi_WfnBSyroDLSGXwce4uSr1U7op7srdi78rispHCa_K4aFlTlJPVkkNWMfgh_Tg?width=60&height=60&cropmode=none" width="60" height="60" />

    Being Disabled is OK CNC is For fuN


  6. #46
    Member hanermo's Avatar
    Join Date
    Aug 2004
    Location
    barcelona
    Posts
    780
    Downloads
    0
    Uploads
    0

    Default Re: mach 4 development

    You are mistaken.

    The mach3 PP driver is a real-time operating system, and as such is deterministic.
    The app is mach3, and runs under windows.
    The mach3 PP driver runs at ring0, and controls when windows is allowed to run.

    The "linuxcnc" kernel is also a real time operating system, and as such is deterministic. Bog-standard linux (say debian, redhat whatever) are not real-time, but are low-latency.

    And yes, it matters very much !
    Because the mach3 system was built to support the PP driver, high-priority tasks like
    - jogging and
    - homing and
    - threading and
    - encoder and servo support then developed from this setup.
    This is why, today, the hardware manufacturer like Cslabs (CSMIO-IP-S 4Mhz), Polabs (Pokeys +CNC, 125 kHz) then needs to support these tasks-
    and they all do it differently, unfortunately.

    For the same reason linuxcnc was built with a certain structure, and some things like
    - rigid tapping
    are easier supported with whatever interface hw you may have.
    And some others, like glass scale support, may or may not be easier. (We need examples of working stuff !).

    Quote Originally Posted by dharmic View Post

    Windows is not a "real-time system". Mach3 is an application, noth part of the OS.
    ... drivers lets them run under supervision of the OS with a little more latitude and priority, but they are not part of the OS.

    Linux is not a "real-time system" either, although I understand it can get extremely close with the right kernel mods. The ones LinuxCNC apparently uses in its build - and it looks like LinuxCNC is the full real time linux kernel with the CNC apps included in the install package.




  7. #47
    Gold Member daniellyall's Avatar
    Join Date
    Sep 2009
    Location
    New Zealand
    Posts
    1856
    Downloads
    3
    Uploads
    0

    Default Re: mach 4 development

    well put Hanermo. you just get what you need

    <img src="https://ivxo1q-dm2305.files.1drv.com/y4mENMmTr_Cabc7pR0FUdB6gtbADq2JbuG4_rGy0eBQvLJx19pTi6TqMUIJN0xgOyDIc0gWoxYhS38HpbSTFGdfaK-o42IOU6jczrhDpfpCOTNGL1X6hvZCbgj0y35gqmq1YGTrWwShYGV-C7lXA2esy0Pi_WfnBSyroDLSGXwce4uSr1U7op7srdi78rispHCa_K4aFlTlJPVkkNWMfgh_Tg?width=60&height=60&cropmode=none" width="60" height="60" />

    Being Disabled is OK CNC is For fuN


  8. #48
    Member dharmic's Avatar
    Join Date
    May 2015
    Location
    Australia
    Posts
    1422
    Downloads
    0
    Uploads
    0

    Default Re: mach 4 development

    Do you know what an operating system is, hanermo? Do you know what "real time" is?

    Actually, no, I don't even care. You can educate yourself or be wrong, either way, no skin off my nose. Have fun.



  9. #49
    Gold Member daniellyall's Avatar
    Join Date
    Sep 2009
    Location
    New Zealand
    Posts
    1856
    Downloads
    3
    Uploads
    0

    Default Re: mach 4 development

    A quantum computer would be real time maybe

    <img src="https://ivxo1q-dm2305.files.1drv.com/y4mENMmTr_Cabc7pR0FUdB6gtbADq2JbuG4_rGy0eBQvLJx19pTi6TqMUIJN0xgOyDIc0gWoxYhS38HpbSTFGdfaK-o42IOU6jczrhDpfpCOTNGL1X6hvZCbgj0y35gqmq1YGTrWwShYGV-C7lXA2esy0Pi_WfnBSyroDLSGXwce4uSr1U7op7srdi78rispHCa_K4aFlTlJPVkkNWMfgh_Tg?width=60&height=60&cropmode=none" width="60" height="60" />

    Being Disabled is OK CNC is For fuN


  10. #50
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: mach 4 development

    Quote Originally Posted by samco View Post
    Anyone priced a real-time kernel for windows?
    Been using it for just over 14 years, it comes as part of the control package, so there is no why of knowing how much the cost is

    Mactec54


  11. #51
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default Re: mach 4 development

    People are touching on one of the big differences.. With mach you have to buy the external motion controller that has the features that you need. (Or hope that the feature you want will be added in the future...)

    Linuxcnc being the motion controller - all features added to linuxcnc (like rigid tapping or gear hobbing) are available to all interfaces. Even the printer port. Plus you have access to the linuxcnc real-time subsystem (HAL) and can build your own logic easily. Wait - there is more - you have linuxcnc's integrated ladder which is also running real-time.

    Because linuxcnc isn't buffered system - you don't have to work around issues like feed hold delays or feedrate override delays. Those features would have to be implemented in the motion controllers hardware to be real-time in those systems. In linuxcnc they are in the computer real-time motion controller.


    Sam



  12. #52
    Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    1899
    Downloads
    2
    Uploads
    0

    Default Re: mach 4 development

    Quote Originally Posted by ger21 View Post
    Here's some info written by the author of Mach3:


    http://nv50.0fees.net/Doc/Mach3Mysteries.pdf
    Thank you. Interesting read. It is a very well written software, works well and I am happy with it.

    BTW, there is not the slightest indication that there is anything written in assembly language, quite the opposite, it is pretty clear c++ work, which considering the complexity and the developments in computer speeds, is a very much understandable option.



  13. #53
    Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    1899
    Downloads
    2
    Uploads
    0

    Default Re: mach 4 development

    Quote Originally Posted by daniellyall View Post
    well put Hanermo. you just get what you need
    Right.

    ...but he keeps calling the PP driver a real-time operating system, which it obviously is not and he says that Mach3 controls Windows when it is actually the opposite. Of course, Mach3 can crash Windows, but that's not the same as it controls it.



  14. #54
    Member Tkamsker's Avatar
    Join Date
    Oct 2010
    Location
    Austria
    Posts
    1189
    Downloads
    0
    Uploads
    0

    Default Re: mach 4 development

    I guess now it is clear that almost everyone is > 30 years in it .. nice and because it is not an it Forum isnt it cool that mach seems to work well over years when it's the only thing the machine does and the Hardware is Close to Standard ? Even if it is not real time Who cares if it is fast Enough ?
    ...

    Gesendet von meinem SM-N9005 mit Tapatalk



  15. #55
    Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    1899
    Downloads
    2
    Uploads
    0

    Default Re: mach 4 development

    Quote Originally Posted by Tkamsker View Post
    isn't it cool that mach seems to work well over years when it's the only thing the machine does and the Hardware is Close to Standard ? Even if it is not real time Who cares if it is fast Enough ?
    Was exactly my point as well. Maybe not generally about Mach, I don't know how well Mach4 works, but Mach3 works definitely well even in an old computer, and in a crappy computer it doesn't really matter if you run Linux or Windows, none of them will work well. When I initially started my CNC build project I though of reusing a miniature industry PC because I have a few of those and because they are small and very robust. I tried with Windows XP pro and Mach3, but had some issues with the speed, so I dumped the idea, installed Linux but LinuxCNC was also struggling so I had to dump the idea of using that PC, it was simply too crappy. There is a lower limit, and once that is reached it doesn't really matter what operating system or CNC software you are using, and the same is true upwards, if you have a good computer it works just as well with both. So just for the sake of "real time OS" it is totally pointless to go for LinuxCNC. For religious reasons or any other imaginary or real reasons it is another thing, but fact is fact, Mach3 works just as well.



  16. #56
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default Re: mach 4 development

    Mach4 running roadrunner flat out (config 500ipm 30in/s^2) - and stated mach4 has no path control yet.

    mach 4 development-mach4poslogpath-jpg

    Mach3 same settings

    mach 4 development-mach3poslogpath-jpg

    Linuxcnc has path following control so you can easily specify how close you want the machine to follow programed path.

    G Codes

    Sam



  17. #57
    Gold Member daniellyall's Avatar
    Join Date
    Sep 2009
    Location
    New Zealand
    Posts
    1856
    Downloads
    3
    Uploads
    0

    Default Re: mach 4 development

    that just shows linux cnc those picks do not prove anything.

    if you tune M3 properly it does stick to the cut path. M4 has not got the same path control as M3 it has not been finished/added/done yet cant quite compare it properly. when I have use all 3 there is Fa differences between the cut path`s or what it shows on a computer screen.

    yes feed hold stop`s at the end of the line that its on in M3 in M4 it stop`s when you push the feed hold button. linuxcnc yes feed hold when you push the button.

    stop in M3, M4 and linuxcnc when button is pushed.

    soft limits work ok in M3, perfect in M4 and linuxcnc.

    homing fine for all if set correctly.

    using any off them on a simple router with a simple stepper driver and a good computer they are all fine. M4 a tickell better, linuxcnc 2.6 about the same as M3 minus the known problems.

    linuxcnc 2.7 will be better than M3 that`s been proven by tormach and another person who converted a novacon mill to pathpilot, discounting mistakes in updates that get fixed in the next update

    no one has done a proper comparison between linuxcnc 2.7 and M4 yet, so dont go there.

    I have use all 3 on the same machine running the same speed`s and feeds same file was used for testing roadrunner, the differences was bugger all some things just worked better other`s worse.

    so in general you get the one that has what you wont if it does all of what you wont how you expected it to and works 24/7 with no problems, then that`s all good.

    so saying one is better than the other is not quite correct if it does not do something well that you wont it to do then its no good what ever program it is.

    all of the above has been my experiences with each program. I will be moving away from M3 when I find something that is a lot better be it M4, linuxcnc 2.7, pathpilot, pokeys, other.

    also what would you define as real time ???????

    Last edited by daniellyall; 09-04-2015 at 09:19 PM.
    <img src="https://ivxo1q-dm2305.files.1drv.com/y4mENMmTr_Cabc7pR0FUdB6gtbADq2JbuG4_rGy0eBQvLJx19pTi6TqMUIJN0xgOyDIc0gWoxYhS38HpbSTFGdfaK-o42IOU6jczrhDpfpCOTNGL1X6hvZCbgj0y35gqmq1YGTrWwShYGV-C7lXA2esy0Pi_WfnBSyroDLSGXwce4uSr1U7op7srdi78rispHCa_K4aFlTlJPVkkNWMfgh_Tg?width=60&height=60&cropmode=none" width="60" height="60" />

    Being Disabled is OK CNC is For fuN


  18. #58
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: mach 4 development

    if you tune M3 properly it does stick to the cut path.
    By "properly", do you mean slower and slower until it does? Because going slower is the only way to force Mach3 to accurately follow a path
    M4 has the same path control as M3 at this time.
    No, Mach4 has NO control. Mach3 has several CV options that provide varying levels of control.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  19. #59
    Gold Member daniellyall's Avatar
    Join Date
    Sep 2009
    Location
    New Zealand
    Posts
    1856
    Downloads
    3
    Uploads
    0

    Default Re: mach 4 development

    yes depending on cut type for 3D cut paths I have a slower feed and speed learnt that from you gerry,(learnt most of what I know from you and I listen to you) there is no other way to do it that I have found. for 2D I have a faster profile. I tune the **** out of M3 so at 1000 moves depending on cut type its bang on. this is on my big machine. it`s max speed is 1250 mm/min to be bang on, slower it get`s better and better but 1250 is good at 1000 move`s

    on the small one it`s max speed is 600mm/min so it`s fine what ever cut is being done and what ever program I have tried, it`s fine

    ok thanks for correction gerry, put the correction in.

    <img src="https://ivxo1q-dm2305.files.1drv.com/y4mENMmTr_Cabc7pR0FUdB6gtbADq2JbuG4_rGy0eBQvLJx19pTi6TqMUIJN0xgOyDIc0gWoxYhS38HpbSTFGdfaK-o42IOU6jczrhDpfpCOTNGL1X6hvZCbgj0y35gqmq1YGTrWwShYGV-C7lXA2esy0Pi_WfnBSyroDLSGXwce4uSr1U7op7srdi78rispHCa_K4aFlTlJPVkkNWMfgh_Tg?width=60&height=60&cropmode=none" width="60" height="60" />

    Being Disabled is OK CNC is For fuN


  20. #60
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default Re: mach 4 development

    The screenshots are of linuxcnc plotting the motion of mach3/4. Using mesa hardware counting step/dir.



Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

mach 4 development

mach 4 development