Results 1 to 12 of 12

Thread: Strange circle behavior, 151B control

  1. #1
    Registered
    Join Date
    Mar 2007
    Location
    USA
    Posts
    80
    Downloads
    0
    Uploads
    0

    Strange circle behavior, 151B control

    This is the sequence:

    179 L X4.187 Y-0.969 R0 F48
    180 CC X3.989 Y-0.936
    181 C X4.189 Y-0.936 DR+ R0 F48

    Causes an error "Circle Data Incorrect". Changing the X coordinate in line 181 to 4.190 fixes it. Whole bunch of these in the program, up until then all is well, after that, every one seems to error. Can't see why.

    Any ideas?


  2. #2
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0
    It is most likely a rounding error, or perhaps two of them, in opposite directions creating a gap in the chain of endpoints that the controller does not like.

    It may work better if you try using IJ arc center coordinates instead of R. If you have to tweak something, its better to tweak the arc center (to make the controller accept it) than it would be to change the endpoint of the move.
    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
    gus
    gus is offline
    Registered
    Join Date
    Jan 2005
    Location
    us
    Posts
    981
    Downloads
    0
    Uploads
    0
    Not familiar with that particular error, usually would expect 'circle end position incorrect' which is a little more obvious. If all of the circles are the same size try reprogramming them in incremental, labeling it and calling the label.


  4. #4
    Registered
    Join Date
    Mar 2007
    Location
    USA
    Posts
    80
    Downloads
    0
    Uploads
    0
    Gus, it was "circle data incorrect". Rick at Heidenhain (and HFD) correctly identified it as a rounding error. Apparently the early TNC controls require that the circle math be exactly correct to 4 decimal places. The post was set up for only 3 places, rounding to that. Since in a C move the beginning & end point and center are defined, everything must match exactly. I guess I was luck on the first 50 or so moves, then hit the problems.

    Now the problem I will run into is that the dwell time in a pecking cycle is only allowed to be defined to 3 places, and OneCNC only has one choice of places for all coordinates, so it is going to mess up my pecking cycles.


  • #5
    gus
    gus is offline
    Registered
    Join Date
    Jan 2005
    Location
    us
    Posts
    981
    Downloads
    0
    Uploads
    0
    PITA, but you can edit it in a word processor and find and replace the extra zeros


  • #6
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0
    I don't think you'll see 4 place decimals in OneCNC for dwell, but that may depend on your choice of settings. I normally use 4 decimal places, but I get what I type in for dwell. What are you seeing happen?
    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)


  • #7
    gus
    gus is offline
    Registered
    Join Date
    Jan 2005
    Location
    us
    Posts
    981
    Downloads
    0
    Uploads
    0
    >>>and HFD<<<

    wuts HFD?


  • #8
    Registered
    Join Date
    May 2004
    Location
    United Kingdom
    Posts
    359
    Downloads
    0
    Uploads
    0

    Smile

    Quote Originally Posted by gus View Post
    >>>and HFD<<<

    wuts HFD?
    HuFlungDung
    Andrew Mawson
    East Sussex, UK


  • #9
    Registered
    Join Date
    Mar 2007
    Location
    USA
    Posts
    80
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by HuFlungDung View Post
    I don't think you'll see 4 place decimals in OneCNC for dwell, but that may depend on your choice of settings. I normally use 4 decimal places, but I get what I type in for dwell. What are you seeing happen?
    I am using the variable DWELL. In the machine cycle dialog I type in "1" and I get "1.0000" if it is set to 4 decimal places. The control quits loading the program at that line, because (as Heidenhain Chicago confirms) dwell can only have 3 decimal places in this control. Is there some other parameter or variable to use that would produce only what I type?

    I sure with the OneCNC folks would document their product. It would make it a lot easier to use, at least for me.


  • #10
    gus
    gus is offline
    Registered
    Join Date
    Jan 2005
    Location
    us
    Posts
    981
    Downloads
    0
    Uploads
    0
    I wonder if the software might have a parameter for removing trailing zeros


  • #11
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0
    Swarf
    Do you have to have trailing zeros turned on in your post?

    There is another trick which we use to eliminate decimals from some numbers (like dwell, or repeats in a cycle) and that is to enter the number and a space to the number, this prevents a decimal from being inserted. However, I don't think this is your problem.

    There are a lot of permutations of settings to make in nc setup, but the above mentioned 'trailing zeros' is the only reason I can think why you would be getting 4 zeros behind your dwell. I get the decimal, and that is all. Other numeric coordinates come in in 4 decimals as required.
    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)


  • #12
    Registered
    Join Date
    Mar 2007
    Location
    USA
    Posts
    80
    Downloads
    0
    Uploads
    0
    Hu,

    You were right, turning off trailing zeros fixed that problem. But there may be related problems - however I will post those over on the OneCNC forum, since they are not of interest to any but OneCNC users.


  • Similar Threads

    1. Bridgeport - Interact 1 MK2 - Abnormal Behavior
      By palikalsi in forum Bridgeport and Hardinge Mills
      Replies: 6
      Last Post: 02-28-2007, 10:15 AM
    2. Strange Questions?
      By SPEEDRE in forum General Metalwork Discussion
      Replies: 4
      Last Post: 12-06-2006, 12:07 PM
    3. Strange G03 problem
      By sploo in forum Mach Mill
      Replies: 4
      Last Post: 11-14-2006, 06:24 PM
    4. odd stepper behavior?
      By opusinwood in forum Stepper Motors and Drives
      Replies: 5
      Last Post: 07-05-2006, 08:30 AM
    5. Looking strange
      By CNCadmin in forum CNCzone Site News and Contests
      Replies: 0
      Last Post: 09-15-2005, 10:04 AM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.