Need Help! Problems when sending .min files back to osp5000 control - it misses random chars.


Page 1 of 2 12 LastLast
Results 1 to 12 of 21

Thread: Problems when sending .min files back to osp5000 control - it misses random chars.

  1. #1
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    83
    Downloads
    0
    Uploads
    0

    Default Problems when sending .min files back to osp5000 control - it misses random chars.

    Hey

    I got a problem with my DNC - i use cimco and i have no problem sending from the okuma to the pc but when i want to send them back there will be missing some chars.. it seems random and not very easy to locate.

    here is an example of the program on the pc and what it looks like when its on the control again.


    PC Program that i send to the Okuma(it was made on the okuma and send to the pc for backup)

    The rest text is what's missing - i see no pattern..

    Code:
    $M20.MIN%
    N0001 G00 X   500     Z    50     M157
    N0002 G50                         S1000
    N0100 G97                         S1404 M42 M03 M08
    N0101 G00 X    34     Z     3     T010101
    N0102 G96                         S 150
    N0103 G85 N0104 D 2     F 0.2   U 2     W 0.1
    N0104 G81
    N0105 G00 X    20
    N0106 G01             Z     0     G42 E 0.2
    N0107                 Z  -146
    N0108 G02 X    28     Z  -150     I 4
    N0109 G01 X    32                 E 0.3
    N0110 G40
    N0111 G80
    N0112 G00 X    34
    N0113 G97                         S1404 M09
    N0114     X   500     Z    50     T0100
    N0200 G97                         S1872 M08 M03 M157
    N0201 G00 X    34     Z     3     T020202
    N0202 G96                         S 200
    N0203 G87 N0204
    N0204 G81
    N0205 G00 X    20
    N0206 G01             Z     0     G42 F 0.22
    N0207                 Z  -146     F 0.16
    N0208 G02 X    28     Z  -150     I 4
    N0209 G01 X    32
    N0210 G40
    N0211 G80
    N0212 G00 X    34
    N0213                 Z     3
    N0214 G97                         S1872 M09
    N0215     X   500     Z    50     T0200
    N0300 G97                         S1273 M08 M03 M157
    N0301 G00 X    34     Z     3     T030303
    N0302 G71 X    16.932 Z   -60     H 3.068 D 0.2   U 0.1   B 60     F 2.5   M22 M73 M32
    N0303                             M05 M09
    N0304 G00 X   500     Z    50     T0300
    N0305 M02
    %

    Here is the same program ive send to the okuma..

    Code:
    $A.MIN%
    N0001 G00 X   500     Z    50     M157
    N0002 G50                         S1000
    N0100 G97                         S1404 M42 M03 M08
    N0101 G00 X    34     Z     3     T010101
    N0102 G96                         S 150
    N0103 G85 N0104 D 2     F 0.2   U 2     W 0.1
    N0104 G81
    N0105 G00 X    20
    N0106 G01             Z     0     G42 E 0.2
    N0107                 Z  -146
    N0108 G02 X    28     Z  -150     I 4
    N0109 G01 X    32                 E 0.3
    N0110 G40
    N0111 G80
    N0112 G00 X    34
    N0113 G97                         09
    N0114     X   500     Z    50     T0100
    N0200 G97                         S1872 M08 M03 M157
    N0201 G00 X    34     Z     3     T020202
    N0202 G96                         S 200
    N0203 G87 N0204
    N0204 G81
    N0205 G00 X    20
    N0206 G01             Z     0     .22
    N0207                 Z  -146     F 0.16
    N0208 G02 X    28     Z  -150     I 4
    N0209 G01 X    32
    N0210 G40
    N0211 G80
    N0212 G00 X    34
    N0213                 Z     3
    N0214 G97                         S1872 M09
    N0215     X   500     Z    50     T0200
    N03                     S1273 M08 M03 M157
    N0301 G00 X    34     Z     3     T030303
    N0302 G71 X    16.932 Z   -60     H 3.068 D 0.2   U 0.1   B 60     F 2.5   M22 M73 M32
    N0303                             M05 M09
    N0304 G00 X   500     Z    50     T0300
    N0305
    %


    Similar Threads:


  2. #2
    Member
    Join Date
    Feb 2009
    Location
    usa
    Posts
    5935
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    Add a small delay on Cimco. There is a setting for it after each block, like 1-2ms. This is a typical handshake problem, especially on early 5000s. The 5000 LGs or Mg's got better.



  3. #3
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    2549
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    hi, i have no experience with cimco, but maybe you should use a shorter buffer and a greater time window ?

    i don't know how relevant it is, but there may be something hitting arround 255 chars; check attached / kindly

    Attached Thumbnails Attached Thumbnails Problems when sending .min files back to osp5000 control - it misses random chars.-untitled-jpg  
    Last edited by deadlykitten; 03-12-2019 at 04:02 PM.
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg


  4. #4
    Member OkumaWiz's Avatar
    Join Date
    Apr 2009
    Location
    United States
    Posts
    1060
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    Like under the tire says, xon/xoff is not functioning or CTS/RTS is not connected so that when the Okuma says pause while I store data, the PC keeps transmitting thus characters get lost.

    Experience is what you get just after you needed it.


  5. #5
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    83
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    Quote Originally Posted by underthetire View Post
    Add a small delay on Cimco. There is a setting for it after each block, like 1-2ms. This is a typical handshake problem, especially on early 5000s. The 5000 LGs or Mg's got better.
    Tryed this with no luck.. still missing chars.. tryed removing spaces aswell without luck.



  6. #6
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    83
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    Quote Originally Posted by deadlykitten View Post
    hi, i have no experience with cimco, but maybe you should use a shorter buffer and a greater time window ?

    i don't know how relevant it is, but there may be something hitting arround 255 chars; check attached / kindly
    I dont even know what that means



  7. #7
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    83
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    And its strage with the program name - it will transfer with the correct file name the first time, after that all the transfers will be put in A.MIN program.



  8. #8
    Member kurmay's Avatar
    Join Date
    Aug 2011
    Location
    Seychelles
    Posts
    262
    Downloads
    1
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    A.MIN is default filename of OSP unit

    "Imagination is more important than knowledge."


  9. #9
    Member
    Join Date
    Feb 2009
    Location
    usa
    Posts
    5935
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    Are you sure the word length is correct? (7 or 8)
    And what handshake are you using? Early controls like hardwire

    Sent from my SM-T813 using Tapatalk



  10. #10
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    83
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    Quote Originally Posted by underthetire View Post
    Are you sure the word length is correct? (7 or 8)
    And what handshake are you using? Early controls like hardwire

    Sent from my SM-T813 using Tapatalk
    Word length? On the program name?

    I use hardware

    Sendt fra min EML-L29 med Tapatalk



  11. #11
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    83
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    Quote Originally Posted by kurmay View Post
    A.MIN is default filename of OSP unit
    Yep I know. It's just strange that first time it uses the name in the file and next time I send it doesn't. Even though it's exactly the same program. Doesn't ask to overwrite or anything.

    Sendt fra min EML-L29 med Tapatalk



  12. #12
    Member OkumaWiz's Avatar
    Join Date
    Apr 2009
    Location
    United States
    Posts
    1060
    Downloads
    0
    Uploads
    0

    Default Re: Problems when sending .min files back to osp5000 control - it misses random chars

    If you are using hardware handshaking, is your PC set up to do it as well? File name loss could also be related to that.

    typical pattern:

    READ
    See $ to %
    STOP
    CREATE FILE
    START
    READ 256 CHARCTERS
    STOP
    STORE CHARACTERS
    START
    READ 256 CHARCTERS
    STOP
    STORE CHARACTERS
    START
    READ 256 CHARCTERS
    STOP
    STORE CHARACTERS
    START

    REPEAT UNTIL %
    STOP
    STORE AND CLOSE FILE

    IF No hardware handshaking, PC keeps transmitting during STOP and STORE and I guarantee data will be lost.
    Same holds true for software handshaking with Xon/Xoff.

    Best regards,

    Experience is what you get just after you needed it.


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

Problems when sending .min files back to osp5000 control - it misses random chars.

Problems when sending .min files back to osp5000 control - it misses random chars.