Saving program back to puter help
Close
Login to Your Account
Results 1 to 11 of 11
  1. #1
    Join Date
    Nov 2013
    Location
    north of Bean town
    Posts
    377
    Post Thanks / Like
    Likes (Given)
    52
    Likes (Received)
    104

    Default Saving program back to puter help

    Hi im using EditCNC / ConnectCNC to send programs back and forth with RS232 cable

    The issue im having is when i send the programs back all the lines get double spaced, so the program takes up twice as many lines..cant figure out how to fix it any ideas?

  2. Likes TopSolidCAM... liked this post
  3. #2
    Join Date
    Mar 2017
    Country
    CHINA
    Posts
    1,813
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    1127

    Default

    Quote Originally Posted by tay2daizzo8 View Post
    The issue im having is when i send the programs back all the lines get double spaced, so the program takes up twice as many lines..cant figure out how to fix it any ideas?
    Fifty cents says whatever editor you use on the computer is seeing both the carriage return AND the line feed as newline characters. You didn't say what you are using but most editors have settings you can change for that. Look in the manual for your editor.

  4. #3
    Join Date
    Mar 2003
    Location
    Upstate New York USA
    Posts
    263
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    37

    Default

    What control? On Fanuc I believe there may be a parameter to address this issue

    Tom

  5. #4
    Join Date
    Nov 2013
    Location
    north of Bean town
    Posts
    377
    Post Thanks / Like
    Likes (Given)
    52
    Likes (Received)
    104

    Default

    fanuc okuma yasnac its all the same..im using editcnc

  6. #5
    Join Date
    Mar 2003
    Location
    Upstate New York USA
    Posts
    263
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    37

    Default

    not for a control specific parameter for example on a FANUC Oi series there is parameter 100 bits 2 and 3 control the out put bit 2 = 0 depends on setting of bit 3 if its =1 CR<LF is output, then bit 3 = 0 LF,CR,CR is output and = 1 only LF is output. That's the reason for my question on the control. Good luck
    Tom

  7. #6
    Join Date
    Nov 2007
    Location
    canada
    Posts
    456
    Post Thanks / Like
    Likes (Given)
    62
    Likes (Received)
    191

    Default

    check your receive settings. might be something about skipping blank lines

  8. #7
    Join Date
    May 2009
    Country
    UNITED STATES
    State/Province
    Wyoming
    Posts
    2,991
    Post Thanks / Like
    Likes (Given)
    6524
    Likes (Received)
    4583

    Default

    Every Fanuc 0i in the place does that when uploading to a computer. If you don't edit out the blank lines after uploading it will insert yet another dose of them the next time you download to the control. Stupid, no earthly reason for it at all.
    Haas doesn't have that problem, whether you go to/from Cimco Edit or plain ole Notepad.

  9. #8
    Join Date
    Sep 2013
    Country
    UNITED STATES
    State/Province
    Minnesota
    Posts
    161
    Post Thanks / Like
    Likes (Given)
    19
    Likes (Received)
    28

    Default

    Quote Originally Posted by tay2daizzo8 View Post
    fanuc okuma yasnac its all the same..im using editcnc
    Definitely not the same. Newer Haas use some variety of Windows, perhaps CE, while the older Haas were linux. A lot of older fanuc controls probably were derived unix. They are all very different and handle IO in different ways as well, sometimes slightly different and other times vastly different. Point being don't assume anything.

    Found this on *******:
    i have a fanuc 21i MB control, a fanuc Oi - TC and a fanuc Oi - TB control and when I punch out a program to card it places double spaces between every line. Can anyone HELP,

    reply:
    Here is parameter 70.7 for the 0MC control:
    ICR
    1 : EOB is punched out as “LF when punching with IS0 code.
    0 : EOB is punched out as “LF” “CR” “CR” when punching with IS0 code.



    There is a similar one for the 21 control too.

  10. #9
    Join Date
    Mar 2003
    Location
    Upstate New York USA
    Posts
    263
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    37

    Default

    this is exactly why I had asked what control it is, on a FANUC control there are parameters that are related to the output format. Is it a OiB, OiC, OiD or OiF, on the OiF I believe there are different parameter numbers as it follows the 30i series

  11. #10
    Join Date
    Nov 2013
    Location
    north of Bean town
    Posts
    377
    Post Thanks / Like
    Likes (Given)
    52
    Likes (Received)
    104

    Default

    i have one tru fanuc oim i think.. all the others are yasnac and okuma, also happens on the mori lathes. i checked recieve settings, nothing about skipping lines. we never used to have this problem but one day it just started.

  12. #11
    Join Date
    Nov 2007
    Location
    canada
    Posts
    456
    Post Thanks / Like
    Likes (Given)
    62
    Likes (Received)
    191

    Default

    I would put money on that there is a setting for skipping empty lines. It may be called something else, on cimco its omit empty lines. As was mentioned here as well, you line ending recognition may not be set correctly.
    A quick search on their website results in this... Okuma OSP5 G-code file transfer or DNC Maybe start there.


Tags for this Thread

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
  •