. .
Page 7 of 33 FirstFirst ... 5678917 ... LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    i2i's Avatar
    Lives in Cardiff, United Kingdom. Last Activity: 25-10-2022 Has been a member for 9-10 years. Has a total post count of 699. Received thanks 29 times, giving thanks to others 1 times.
    there is the old "burst the bubble" way to look at this. Why do you need a spindle tacho on the machine, when it shows you on the monitor what speed the spindle is doing. But most of all, you should know what speed it's going as you would have written the code.

  2. #2
    Well as i have said having a the ability to axis jog without using the PC appeals to me and having a nice RED led display of the speed of the spindle i think is a nice feature, and the other features that irving has mentioned is just a bonus. Besides which i like buttons so there :heehee:

  3. #3
    Quote Originally Posted by i2i View Post
    But most of all, you should know what speed it's going as you would have written the code.
    Ahh yes but there is the speed mach is telling the motor it should be doing and there is the actual speed at the spindle which is what i am after for reference..

    IE, belt snaps Mach says 2000rpm, actual spindle at tool 0 rpm.

  4. #4
    i2i's Avatar
    Lives in Cardiff, United Kingdom. Last Activity: 25-10-2022 Has been a member for 9-10 years. Has a total post count of 699. Received thanks 29 times, giving thanks to others 1 times.
    Quote Originally Posted by Ricardoco View Post
    Ahh yes but there is the speed mach is telling the motor it should be doing and there is the actual speed at the spindle which is what i am after for reference..

    IE, belt snaps Mach says 2000rpm, actual spindle at tool 0 rpm.
    You're still thinking manual, you've got to get on the cnc bandwagon and trust the machine.

  5. Quote Originally Posted by Ricardoco View Post
    Thats a cool idea, in fact i wanted to put some axis jog buttons on the front panel as well so maybe i should consider a pic circuit based control panel along with the speed controller, im ok with writing the program i think (ive spent many a wee small hour with my copy of pic basic pro and a 16f877) but im not sure what the input format would be from the speed pickup and the output to the drivers, this is where my knowlege is lacking im afraid.

    and thats not to mention how to do an interface that wont mess up Mach short of having a switch that swapped out all the lines lol. so if we are going down the DIY road im going to need to pick many brains!!!!
    Interfacing is my speciality, ask away....

    pic basic pro... hmmm, ok if you must lol... I'm a C man myself but can program in anything sensible... pic basic is interpreted I think, so not sure if you can get 'real-time' enough to do accurate inter-pulse timing, tho will depend on the PIC clock speed of course.

  6. #6
    Quote Originally Posted by irving2008 View Post
    Interfacing is my speciality, ask away....

    pic basic pro... hmmm, ok if you must lol... I'm a C man myself but can program in anything sensible
    Ok C it is if thats what you call it,lol, i will have to dig out all my software now ......

  7. Quote Originally Posted by Ricardoco View Post
    Ok C it is if thats what you call it,lol, i will have to dig out all my software now ......
    Yes, well sadly its not C#, but its still preferable to that basic stuff (reignites 1980's programmers flame wars lol)

  8. Who uses a text editor?... HiMem C for the PIC is a full IDE, with colour highlighting, in-circuit debugging, stack and variable tracing... I reckon I can match pic basic for time to executable on any reasonably complex real-world task (i.e. one requiring real hardware, interrupts, comms handling, etc.) making an LED flash is not a real world program!

    but we digress......

    BTW a PIC to handle the jog buttons and convert to keystrokes for MACH3 would save on extra input lines and the need to add another parallel port....

  9. #9
    Quote Originally Posted by irving2008 View Post
    Who uses a text editor?.......
    I have,, many times.:confused:

    Quote Originally Posted by irving2008 View Post
    HiMem C for the PIC is a full IDE, with colour highlighting, in-circuit debugging, stack and variable tracing.......
    Not used it myself, in fact ive never used 'C' of any description for programming a Microcontroler.


    Quote Originally Posted by irving2008 View Post
    I reckon I can match pic basic for time to executable on any reasonably complex real-world task (i.e. one requiring real hardware, interrupts, comms handling, etc.) making an LED flash is not a real world program!....
    Yes I dont doubt that for a moment, but then you are obviosly quite intelligent and thats why i said, "many people just dont have a desire or mental capacity" in fact what I meant was "MOST" not "many":heehee: and also "time to executable can be faster with the other languages" the important word being CAN.


    Quote Originally Posted by irving2008 View Post
    BTW a PIC to handle the jog buttons and convert to keystrokes for MACH3 would save on extra input lines and the need to add another parallel port....
    I will have two parallel ports on the machine but thats just because I have two, not because it will need them both.

    The thing is i will have to do some serios reading before im finished writing this code, because although I have had experience with both PICS and 'C', this has not been a vast amount, and never together. Ive never used them to interpret inputs and outputs to mach or even a PC parallel port, unlike yourself i think it would be safe to say.

    I would like to thank you for speaking to me about this on an equal basis, however it is not equal, as your knowlege of all these subjects is obviosly way ahead of mine, however im willing to learn from you and indeed have already.

  10. #10
    ecat's Avatar
    Location unknown. Last Activity: 08-02-2014 Has been a member for 9-10 years. Has a total post count of 157. Received thanks 5 times, giving thanks to others 8 times.
    HiMem C always looked nice, for my sins I chose SourceBoost when playing with C on the 16f. Big mistake, a lot of time fighting the compiler.

    These days I'd recommend using an 18f device and the free MicroChip IDE, makes for a solid combination and opens up a vast collection of sample code. A little work reading through the MicroChip documentation gives you the added benefit of source code compatibility with the newer pic32 series so if you ever need extra speed (80MHz!), io, memory, graphical user interface lol... heh, pic32 maybe overkill but it sure is sweet :)

Page 7 of 33 FirstFirst ... 5678917 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. The Boxford 260VMC as you probably never seen it before!
    By rnr107 in forum Boxford Vertical Mills
    Replies: 36
    Last Post: 28-04-2021, 07:57 AM
  2. Boxford 260 VMC
    By shoeswith in forum Boxford Vertical Mills
    Replies: 3
    Last Post: 10-04-2017, 06:20 PM
  3. boxford vmc 300
    By bigred5765 in forum Boxford Vertical Mills
    Replies: 0
    Last Post: 22-04-2014, 04:22 PM
  4. Boxford mt2
    By Hellfire in forum Boxford Lathes
    Replies: 6
    Last Post: 03-08-2012, 08:46 AM
  5. Boxford 160 TCL
    By Brinner in forum Boxford Lathes
    Replies: 1
    Last Post: 31-03-2012, 09:11 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
  •