Inaccurate feedrate


Page 1 of 2 12 LastLast
Results 1 to 20 of 40

Thread: Inaccurate feedrate

  1. #1
    Registered
    Join Date
    Aug 2005
    Location
    usa
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Inaccurate feedrate

    Setting up a gantry planer mill using Camsoft Pro 15.9. GEAR/RATIO is adjusted to get the correct amount of phyiscal travel for a given commanded distance. Each axis is different as there are different gear boxes/pulleys on each. The problem is that when I make a move G1X10F10 it moves at approx 1/3 commanded feedrate. Camsoft has given me their explanation, but I am too dense to understand why the feedrate isn't accurate when making a simple, 1-axis move. (I haven't really tested multi-axis yet.) Am I that unusual that I have the only machine where not every encoder is reading the same pulses per inch? Any suggestions would be great. I have Camsoft looking at my .cbk, but I would like to hear from any of you front line guys that may have a practical, here's-what-to do, suggestion. I have looked at Q114 and tried to follow it - to no avail.

    Thanks,
    AL

    Similar Threads:


  2. #2
    Member HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0

    Default

    All you really need to do is check that the calculated move ends when your stopwatch says it should.

    For example, make a 1, 2 or 3 axis move that has a total length of 10 inches at a feedrate of 10 inches per minute. The motion should stop exactly after 60 seconds.

    If you are using the standard Camsoft variable \73 for feedrate, you can adjust this variable in your STARTUP.fil
    \73 =333

    This sets the initial boost of Camsoft's normal feedrate to 333% of normal. Trouble is, you have to take pains in the rest of your logic to return any feedrate override to this factor so that at normal feedrate, the \73 = 333

    What I did was kept my feedrate override boost values in a new seperate variable, and set up logic to call in that new variable. Here is sample code from my INPUTIO.FIL that might help you with feedrate override, or it might confuse the heck out of you

    IF#18=1THEN\318={\318+1} :GOTO :HOLD 'input18 is called "feedhold momentary pushbutton"
    IF#17=1THEN\273={\273+.1} 'feedrate increase pushbutton located on right side of feedhold button
    IF#19=1THEN\273={\273-.1} 'feedrate decrease pushbutton located on left side of feedhold button
    IF\273<0THEN\273=0 'minimum feedrate override is zero, or equivalent to feedhold
    IF\273>2THEN\273=2 'maximum feedrate override is 200%
    \73={33.5*\273} : DISPLAY4 {\273*f} : DISPLAY2 {\273*100} 'when feedrate variable \73=33.5, actual commanded feedrate is at 100% by external clock.

    One thing you might want to check first, is the servo update rate of your Galil card. Factory default is fairly slow at 1 millisecond, and it may be possible to get it down to .375 millisecond without loosing any features of the card. It is possible to decrease this setting, and I did and would recommend it as it improves system response. However, you will have to retune the motors.

    In my case, I have to slow my feedrate variable \73 down by almost 66% by initializing it this way in the STARTUP.FIL:
    \73 = 33.5

    If your system is running 1/3 of normal speed, then maybe changing the servo update rate on your Galil card would make the system about right. You would still have to retune the motor PID filter though.

    First you get good, then you get fast. Then grouchiness sets in.

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


  3. #3
    Registered
    Join Date
    Aug 2005
    Location
    usa
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default

    Thanks Hu,
    For the sake of not only me but others on here - how does one adjust the servo update rate on a Galil card? Or is it better to talk to Galil directly?



  4. #4
    Member HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0

    Default

    You should have a manual that came with the Galil hardware.

    Check for the TM command ( for the update rate) and the BN command (to burn the change into the memory on the card so it will start up at the new desired rate everytime you start up the PC).

    There should be a simple Galil terminal interface that you can run independently of Camsoft to do this.

    First you get good, then you get fast. Then grouchiness sets in.

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


  5. #5
    Member Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel.MN
    Posts
    1542
    Downloads
    2
    Uploads
    0

    Default

    Here's a link to the command reference:
    http://www.galilmc.com/support/manuals/optcom.pdf

    A heads up on installing Galil software. It can hijack your system and Camsoft won't work anymore. Camsoft's first warning is to make sure you have up to date software.

    If you already have Camsoft on your computer, installing Galil WILL kill it. This trick worked for me.

    1. Install the Galil software after the Camsoft already on the computer.
    2. Rename the AS3000 directroy to something else, I like AS3000 old <yymmdd>
    3. Reinstall Camsoft.
    4. Move anything you need out of the old Camsoft directory.

    FWIW, I personnally wouldn't speed up the Galil board sample rate here. You don't have a need. Just change the \73 value in startup.ini. Good programming practice is make changes to another variable (Hu's approach) in the body of your .cbk

    Karl



  6. #6
    Registered
    Join Date
    Aug 2005
    Location
    usa
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default

    I have had no problems with running WSDK on top of Camsoft (not simultaneously though). That said, I do have the most current versions/drivers from Camsoft. I will take a look at /73, it just seems strange to me that a given machine, set up to move the correct distance as commanded, won't run at the right feedrate w/o a bunch of extra coding. Isn't this basic CNC control operation?



  7. #7
    Member HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0

    Default

    Yes, it is strange. I take it that you have double checked that a commanded movement of 10" actually gives you a movement of 10" in each axis that you test? I don't see why the gear ratios, if set up correctly should have any effect.

    Did you purchase your Galil hardware in new condition? I'm wondering if for some reason, it may have had some parameters "burned in" to eprom by a previous user.

    It might be a thought to do a master reset of the card. Again, this would be done within the Galil terminal program.

    First you get good, then you get fast. Then grouchiness sets in.

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


  8. #8
    Member HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0

    Default

    Karl,

    I don't really know why Galil sends the cards out running in slow mode. It makes no sense to me. Compare it to buying a 3 ghz cpu and then running it at 1 ghz. I've been running mine for several years now at the max speed that card allows with all features still allowed, and it works fine.

    First you get good, then you get fast. Then grouchiness sets in.

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


  9. #9
    Registered
    Join Date
    Aug 2005
    Location
    usa
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default

    Yes 10" = 10".

    The card was not new, but I have done several Master Resets and even had it in for repair on a different issue (maybe?). Having talked to Camsoft, it seems that they acknowledge the issue, but implementing a fix is a little bit cumbersome at best.



  10. #10
    Member HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0

    Default

    Al,
    Master reset should have put everything back to defaults, no question.

    You can also use the command
    TM ?
    to find out what the current sample time is set at, just in case there is some funky value set in ROM on that card.

    First you get good, then you get fast. Then grouchiness sets in.

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


  11. #11
    Member Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel.MN
    Posts
    1542
    Downloads
    2
    Uploads
    0

    Default

    Quote Originally Posted by HuFlungDung
    Al,
    Master reset should have put everything back to defaults, no question.
    I just worked through an issue with a used Galil card where a couple Camsoft commands didn't work correctly. The master reset didn't correct things, this just sets default speed, accerations, etc.

    An update firmware, downloaded for the Galil website, corrected the trouble. It only takes a minute, might be worth a shot.

    Karl



  12. #12
    Registered
    Join Date
    Feb 2007
    Location
    US
    Posts
    14
    Downloads
    0
    Uploads
    0

    Default

    have you found resolution to your problem - I seem to ran into the same thing you described?



  13. #13
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    36
    Downloads
    0
    Uploads
    0

    Default Same Problem

    I also have this problem.

    In the Q&A section of the manual supplied by CamSoft, question 129 is the exact problem we're seeing. Even says to change the FEED varible in the CNCSETUP.EXE program. Thats great, but for the life of me, I cannot find where to adjust this FEED variable.

    Can anyone help?



  14. #14
    Member Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel.MN
    Posts
    1542
    Downloads
    2
    Uploads
    0

    Default

    This has allways been \73 on all my controls. Search your .cbk for this variable. Put a statement like \73=110 in startup.ini {My values run about 400, but I use a speed pot with a 5 volt supply and want to be able to doulbe the nominal feedrate}

    Karl



  15. #15
    Member Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel.MN
    Posts
    1542
    Downloads
    2
    Uploads
    0

    Default

    Followup.

    Click "CNCSetup"
    Click "Analog Controls"
    Read Feed Variable number
    Click "Feed" for info about how to use this.

    Karl



  16. #16
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    36
    Downloads
    0
    Uploads
    0

    Default

    Thanks Karl for the input which happens to be exactly what CamSoft says to do (I called right after posting), yet I'm still not travelling at the proper speed. When I change the numbers within cncsetup I see no variance in speed. So whether I put 50 or 300 for my FEED(variable), my actual speed I see when running my program remains at 7.050 IPM when should have travelled at 10 IPM.

    FYI - I can increase my speed with G-code so I know I'm not at my maximum speed.

    Did you mean check my startup.fil? I checked that although it has \73=100 even after changing it to 250 within cncsetup. Also checked my .cbk file and it also has many references to \73=100...meaning it hasn't changed it to 250 as I changed it in cncsetup.

    I'm very new to this CamSoft unit so perhaps I'm not loading my cncsetup properly before running my programs. At the moment, after making changes to cncsteup, I save it then immediately restart CNC to run my test program. I'm assuming my problems may be my lack of experience with the program although CamSoft tech-support says this is a common occurance of having inaccurate feedrate.



  17. #17
    Registered
    Join Date
    Apr 2005
    Location
    usa
    Posts
    51
    Downloads
    0
    Uploads
    0

    Default

    Mr Bohemund

    You not understand. The value in CNC Setup for the FEED Variable setting should be the variable name like 73 like it said. Not the feed rate. The CNC Setup wants a variable number. When you change the value of \73 then you over ride the feed rate by this percent.

    If you write \73 in STARTUP then this sets a new value. You must change or erase all the places you wrote \73=100. This means over ride the feedrate now to 100% of programed value. Which means do not change my feedrate.

    Carlo



  18. #18
    Member Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel.MN
    Posts
    1542
    Downloads
    2
    Uploads
    0

    Default

    Like Carlo says, put a command like \73=143 (=10/7)in startup.ini

    I'd look for some other issue, your feedrates shouldn't be this far off. But this change will show how \73 works.

    Karl



  19. #19
    Member HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0

    Default

    You may have to modify the \73 to get the feedrate correct on your system. Give the machine a command to move 10 inches at a rate of 10 in/min. The move should be completed in exactly 60 seconds, no more, no less.

    Are you saying that if you do a test like the above, that your results differ from the theoretical? How much? Are the ratios for your axis properly set....encoder counts per inch of travel and so on?

    Now there is a possible reason that the feedrates could be quite far out of wack, and that would be that the servo update rate has been modified on your Galil card. This is a Galil parameter that can be burned in to memory on the card. If you got the card used, you maybe would have to check and see if the update rate has been changed. I'm not sure what the inquiry command would be to check the update rate, but nonetheless, you can reset it to a standard rate of 1(milliseconds) or 1000 microseconds. Check the Galil documentation for this.

    Last edited by HuFlungDung; 05-13-2007 at 01:17 AM.
    First you get good, then you get fast. Then grouchiness sets in.

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


  20. #20
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    36
    Downloads
    0
    Uploads
    0

    Default

    Carlo,

    After entering a new value in the CNCsetup of 250, saving and exiting the program, I check (though don't edit) my startup.fil....I don't have a startup.ini...and see whats written there. Its all the default number of \73=100.

    What I do in CNCsetup isn't changing my startup.fil.



Page 1 of 2 12 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

Inaccurate feedrate

Inaccurate feedrate