. .
Page 1 of 2 12 LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by magicniner View Post
    Robin, I think it's worth expanding your reply. I cut my teeth on Z80 Assembler and progressed to PLC Ladder Logic & Statement List, VB, SQL, Crystal Reports, etc. and you've lost me.

    You say "etc." before you say "Visual Studio". Windows is event driven and will never guarantee to return control to you in time to step the motors. The moment you give in and add a separate processor to sort out the timing problems MACH becomes a totally redundant unnecessary burden and you may as well run Win8, check your e-mails and have a Shoot'em'up game running in the background to while away the time while it cuts.

    I don't think I want to criticize MACH here too much, look what happened to the bloke in the news today, the one who accepted a Gaza appeal to be published in the Jewish Chronicle.

  2. #2
    Quote Originally Posted by Robin Hewitt View Post
    You say "etc." before you say "Visual Studio". Windows is event driven and will never guarantee to return control to you in time to step the motors.
    That was my biggest hurdle when moving from DOS programming to Windows, instead of main() running in a continuous loop, it just had to sit there until there was an event.
    Will Windows interrupts be too slow ?
    Last edited by EddyCurrent; 16-08-2014 at 03:09 PM.
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

  3. #3
    Windows will not let you take over a timer interrupt, you can hook into a 1kHz system tick but that isn't fast enough. This came to a head when Windows could no longer guarantee to service a serial interrupt in time to stop an over-write with only one level of buffer, they needed 16.

  4. #4
    Quote Originally Posted by Robin Hewitt View Post
    Windows will not let you take over a timer interrupt,
    Unless you take over windows.!!. . . . Tell Art fennerty it can't be done.! . . . . .The Boffin's said Mach3 could never be done but Hey presto.. .

  5. #5
    Yep, Mach3 own high priority driver takes care of that. I'm not sure it can work with Win7 and 8. Although I've read some people use it under Win7.
    As for the coordinates of the machine, my personal opinion is that the near left corner relative to the operator's most convenient position should be assigned X0/Y0. It does not matter which axis is the longest one. Thus you maintain correspondence to the CAD and CAM software. Setting work zero is another thing and depends on where you fix the material on the table. For long machining sequences I zero the machine by means of home switches (Mach3) and then write down the real (machine) coordinates of the work zero. Just in case something goes wrong I am able to reposition with acceptable accuracy.

  6. #6
    Quote Originally Posted by Robin Hewitt View Post
    You say "etc." before you say "Visual Studio". Windows is event driven and will never guarantee to return control to you in time to step the motors. The moment you give in and add a separate processor to sort out the timing problems MACH becomes a totally redundant unnecessary burden and you may as well run Win8, check your e-mails and have a Shoot'em'up game running in the background to while away the time while it cuts.

    I don't think I want to criticize MACH here too much, look what happened to the bloke in the news today, the one who accepted a Gaza appeal to be published in the Jewish Chronicle.
    Brilliantly put whilst totally avoiding the perfect opportunity to identify your "personally programmed" alternative where you haven't given up hardware control to Windows. You are signally failing to make a point here.
    I'm really intrigued, what system are you using? How much percentage wise and specifically which bits are your own code?
    If it turns out that this is an OS bias debate then I'll laugh my socks off as all that really matters is how quick and easy a system is to get running reliably, what the software support is like and what results it produces ;-)

  7. #7
    Not sure I understood too much of that. The system I am using is Win7, it is 100% my own code and it certainly does not run reliably

  8. #8
    Robin, this DOS based any use ?

    http://www.dakeng.com/turbo.html
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

  9. #9
    I'm not Robin, but Turbocnc is my controller of choice. I have been using it since about 2000. I used it for quite a while before I registered it. It is fully functional when you download it. Registration gives you access to the source code so you can make your own changes. It is written in pascal and compilers are available as freeware. Doesn't have a lot of bells and whistles, but it gets the job done and as far as I am concerned, it does it quite well.
    Art

    AKA Country Bubba
    (Older than Dirt)

  10. #10
    Quote Originally Posted by C_Bubba View Post
    I'm not Robin, but Turbocnc is my controller of choice. I have been using it since about 2000. I used it for quite a while before I registered it. It is fully functional when you download it. Registration gives you access to the source code so you can make your own changes. It is written in pascal and compilers are available as freeware. Doesn't have a lot of bells and whistles, but it gets the job done and as far as I am concerned, it does it quite well.
    Thanks, handy to know it works okay, I think I still have Borland Turbo Pascal for DOS so might still be useful and I have a 5 1/4 floppy drive for the media but don't know if it will work with Windows 7.
    Last edited by EddyCurrent; 26-08-2014 at 06:59 PM.
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. "Hacking" and "Modding"
    By magicniner in forum General Discussion
    Replies: 15
    Last Post: 07-01-2015, 08:59 PM
  2. CNC machine "Spanish" model . Advice and opinions needed!
    By shapebusters in forum Machine Discussion
    Replies: 17
    Last Post: 12-03-2014, 06:21 AM
  3. Replies: 4
    Last Post: 28-09-2012, 12:06 PM
  4. "Racks" VS "ball screw"
    By C.AlveSilva in forum Linear & Rotary Motion
    Replies: 1
    Last Post: 17-04-2012, 11:53 PM
  5. Replies: 1
    Last Post: 25-12-2010, 06:05 PM

Bookmarks

Posting Permissions

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