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


Results 1 to 19 of 19

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

  1. #1
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    107
    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
    6028
    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
    4154
    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

    we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...


  4. #4
    Member OkumaWiz's Avatar
    Join Date
    Apr 2009
    Location
    United States
    Posts
    1262
    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
    107
    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
    107
    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
    107
    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
    Posts
    419
    Downloads
    3
    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

    https://www.facebook.com/okuma.tuning


  9. #9
    Member
    Join Date
    Feb 2009
    Location
    usa
    Posts
    6028
    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
    107
    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
    107
    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
    1262
    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.


  13. #13
    Member
    Join Date
    Feb 2009
    Location
    usa
    Posts
    6028
    Downloads
    0
    Uploads
    0

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

    No, it's with parity stop bits, etc. 7 or 8 is the two options.

    Sent from my SM-T813 using Tapatalk



  14. #14
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    107
    Downloads
    0
    Uploads
    0

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

    Okay there might be something into that.

    Deadly kitten says that there is something every 256 char op on the post.

    I use hardware on the pc if I don't it's not receiving anything at all.

    Sendt fra min EML-L29 med Tapatalk



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

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

    hy nikolaiownz, i really have no clue about cimco, but please look into those 7&8 bits like underthetire said, and also look over xon/xoff like mr Wizard said ... those guys know what they are saying

    i am not sure, but maybe you can use a floppy emulator ? please check this out :


    Quote Originally Posted by OkumaWiz View Post
    some people are replacing the floppy drives with Floppy to USB conversions. They have USB ports and they show up as multiple FD drives of 1.4Mb each so then it becomes possible to run more than even 1 floppy can hold. I think as much as 99 floppy drives can be accessed from 1 usb. You can find them on ebay for about 10 times less than you can get them from your dealer
    it is from post 14 from here : https://www.cnczone.com/forums/okuma...are-posts.html

    kindly

    we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...


  16. #16
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    107
    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
    hy nikolaiownz, i really have no clue about cimco, but please look into those 7&8 bits like underthetire said, and also look over xon/xoff like mr Wizard said ... those guys know what they are saying

    i am not sure, but maybe you can use a floppy emulator ? please check this out :




    it is from post 14 from here : https://www.cnczone.com/forums/okuma...are-posts.html

    kindly
    I Will be looking into it tomorrow when I get to the shop. Thanks

    What do I look for in xon/xoff ? I a fairly new to dnc setups so sorry for asking ø

    Sendt fra min EML-L29 med Tapatalk



  17. #17
    Member
    Join Date
    Feb 2009
    Location
    usa
    Posts
    6028
    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
    hy nikolaiownz, i really have no clue about cimco, but please look into those 7&8 bits like underthetire said, and also look over xon/xoff like mr Wizard said ... those guys know what they are saying

    i am not sure, but maybe you can use a floppy emulator ? please check this out :




    it is from post 14 from here : https://www.cnczone.com/forums/okuma...are-posts.html

    kindly
    No floppy to emulate on a 5000 early 5000 were still tape to load osp software and a little later they were huge 8" floppies.

    Sent from my SM-T813 using Tapatalk



  18. #18
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    107
    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
    No floppy to emulate on a 5000 early 5000 were still tape to load osp software and a little later they were huge 8" floppies.

    Sent from my SM-T813 using Tapatalk
    Yup mine has tape and huge floppy disk

    Sendt fra min EML-L29 med Tapatalk



  19. #19
    Member oldjudge's Avatar
    Join Date
    Jan 2012
    Location
    United States
    Posts
    12
    Downloads
    0
    Uploads
    0

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

    Have you tried adjusting the baud rate? I've seen where some of the 5000 controls will pick up wierd glitches at certain baud rates. Bumping the rate up or down a bit might clear this up.



  20. #20
    Member
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    107
    Downloads
    0
    Uploads
    0

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

    Quote Originally Posted by oldjudge View Post
    Have you tried adjusting the baud rate? I've seen where some of the 5000 controls will pick up wierd glitches at certain baud rates. Bumping the rate up or down a bit might clear this up.
    Like I sayd I tried but it not sending at all with any other rates. Just get an error

    Sendt fra min EML-L29 med Tapatalk



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.