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

Thread: Fanuc OM-A "LSK" file transfer.

  1. #1
    Registered
    Join Date
    Dec 2010
    Location
    USA
    Posts
    8
    Downloads
    0
    Uploads
    0

    Fanuc OM-A "LSK" file transfer.

    This is my first post. I have done quite a bit of searching and have been unable to find my specific issue.

    I have an old Leadwell machine with a Fanuc OM-A control. I am trying to get the 232 port to transmit to/from a laptop. I have found many forum threads on the parameters setting and the software (using Easy DNC now) which I have tried a few different variance.

    I can Transmit a program fine from the CNC to the laptop in ISO (and I can save it)

    When I try and send a file from the laptop to the machine, I enter O 5555 "Input" and the file starts to upload (DNC software will show progress and complete) as the "LSK" flashes on the screen and keeps going indefinitely. No file will upload. As it is flashing "LSK" for a while and I unplug they cable it will Error out (086 communication error) which makes me think that the connection it there...

    I have:
    1. Checked continuity on all pins on cable.
    2. Made sure baud rates match on CNC and Software (in my case "10" for 4800")
    3. Iso is set to 1 on CNC
    4. Stop bits set to 2 (matching in Parameter 002 and software)
    5. Flow control on software set to XonXoff (wait on any)
    6. Pins 6-8-20 jumped on 25 pin cable
    7. Pins 4-5 jumped on 9 pin cable
    8. Software set to "LF" (tried both "LF and "CRLF")

    It seems that the "LSK" is waiting to see an EOB character. I have tried to add ";" to each line. The file begins and ends with "%". Not sure what else to check. The fact it is sending fine makes me think there may be a formatting issue.

    Any further assistance/insight would be helpful

    Thank you,
    Jeff


  2. #2
    Registered chucker's Avatar
    Join Date
    Nov 2007
    Location
    USA
    Posts
    173
    Downloads
    0
    Uploads
    0

    upload program

    Do you have % at the end of your program? if not try adding one to see if that fixes your problem


  3. #3
    Registered
    Join Date
    Dec 2010
    Location
    USA
    Posts
    8
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by chucker View Post
    Do you have % at the end of your program? if not try adding one to see if that fixes your problem
    Yes, I do. The format of the file I am sending looks like this:

    %
    :5555
    N10 G01 .....
    N20
    N30
    %


    I have also tried it as (minus the ":" in front of the program name):

    %
    5555
    N10 G01 .....
    N20
    N30
    %

    and:
    %
    O5555
    N10 G01 .....
    N20
    N30
    %

    Still no luck.


  4. #4
    Registered fordav11's Avatar
    Join Date
    Aug 2011
    Location
    Fordaville
    Posts
    1,672
    Downloads
    0
    Uploads
    0
    you may have a hardware problem. I had a similar fault on one machine where it would send but not receive and it ended up being a faulty board. you can check that. switch the wires for transfer and receive (TX/RX pins 2 and 3). if you can now receive but not transmit you have a board fault.


  • #5
    Registered
    Join Date
    Dec 2010
    Location
    USA
    Posts
    8
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by fordav11 View Post
    you may have a hardware problem. I had a similar fault on one machine where it would send but not receive and it ended up being a faulty board. you can check that. switch the wires for transfer and receive (TX/RX pins 2 and 3). if you can now receive but not transmit you have a board fault.
    I was afraid of that...I'll try swapping the pins and see what happens

    We did have the board out at one time to inspect before we realized that some of the parameters were incorrect... so it went back in. Are there any jumpers etc. on the board that may need to be checked?


  • #6
    Registered fordav11's Avatar
    Join Date
    Aug 2011
    Location
    Fordaville
    Posts
    1,672
    Downloads
    0
    Uploads
    0
    no jumpers that I know of


  • #7
    Registered
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    988
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by 1offNSX View Post
    This is my first post. I have done quite a bit of searching and have been unable to find my specific issue.

    I have an old Leadwell machine with a Fanuc OM-A control. I am trying to get the 232 port to transmit to/from a laptop. I have found many forum threads on the parameters setting and the software (using Easy DNC now) which I have tried a few different variance.

    I can Transmit a program fine from the CNC to the laptop in ISO (and I can save it)

    When I try and send a file from the laptop to the machine, I enter O 5555 "Input" and the file starts to upload (DNC software will show progress and complete) as the "LSK" flashes on the screen and keeps going indefinitely. No file will upload. As it is flashing "LSK" for a while and I unplug they cable it will Error out (086 communication error) which makes me think that the connection it there...

    I have:
    1. Checked continuity on all pins on cable.
    2. Made sure baud rates match on CNC and Software (in my case "10" for 4800")
    3. Iso is set to 1 on CNC
    4. Stop bits set to 2 (matching in Parameter 002 and software)
    5. Flow control on software set to XonXoff (wait on any)
    6. Pins 6-8-20 jumped on 25 pin cable
    7. Pins 4-5 jumped on 9 pin cable
    8. Software set to "LF" (tried both "LF and "CRLF")

    It seems that the "LSK" is waiting to see an EOB character. I have tried to add ";" to each line. The file begins and ends with "%". Not sure what else to check. The fact it is sending fine makes me think there may be a formatting issue.

    Any further assistance/insight would be helpful

    Thank you,
    Jeff
    Hi Jeff,
    For starters, your cable configuration is wrong for Loop Back handshaking. Bridging 4 and 5 on the DB9 connector is a nonsense. What you've done is connected the DTR (4) to Signal Ground (5). Although its not necessary to do so, some will have you jump pins 1,4, and 6, as well as 7 and 8 on the DB9 connector. This is the same as 6,8, and 20, bridged and 4 and 5 bridged on a DB25. The cable configuration for Xon Xoff handshaking is as follows:


    Regards,

    Bill

    Machine Side ------------------- PC Side
    DB25 Male -------------------DB25 Female ------ DB9 Female
    1 -- Cable Shield ----------Not Connected ---- Not Connected
    2 -------------------------------- 3 -------------------- 2
    3 -------------------------------- 2 -------------------- 3
    4
    | Bridged
    5

    6
    |
    8 All bridged
    |
    20

    7 ------------------------------- 7 -------------------- 5


  • #8
    Registered
    Join Date
    Dec 2010
    Location
    USA
    Posts
    8
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by fordav11 View Post
    no jumpers that I know of
    Thank you for the quick response.

    So if I swap the pins on the cable the machine would be able to receive data on the (regularly) output line?


  • #9
    Registered
    Join Date
    Dec 2010
    Location
    USA
    Posts
    8
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by angelw View Post
    Hi Jeff,
    For starters, your cable configuration is wrong for Loop Back handshaking. Bridging 4 and 5 on the DB9 connector is a nonsense. What you've done is connected the DTR (4) to Signal Ground (5). Although its not necessary to do so, some will have you jump pins 1,4, and 6, as well as 7 and 8 on the DB9 connector. This is the same as 6,8, and 20, bridged and 4 and 5 bridged on a DB25. The cable configuration for Xon Xoff handshaking is as follows:


    Regards,

    Bill

    Machine Side ------------------- PC Side
    DB25 Male -------------------DB25 Female ------ DB9 Female
    1 -- Cable Shield ----------Not Connected ---- Not Connected
    2 -------------------------------- 3 -------------------- 2
    3 -------------------------------- 2 -------------------- 3
    4
    | Bridged
    5

    6
    |
    8 All bridged
    |
    20

    7 ------------------------------- 7 -------------------- 5
    Thank you Bill.


  • #10
    Registered
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    988
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by 1offNSX View Post
    Thank you for the quick response.

    So if I swap the pins on the cable the machine would be able to receive data on the (regularly) output line?
    Swapping pins 2 and 3 will achieve nothing. Pin 3 on the machine Uart will always remain the Receive Line. By swapping pin 2 and 3, all you achieve is to connect Transmit to Transmit and Receive to Receive, and that certainly won't work in either direction. If Ford means to swap the pins of the cable between the DB25 Female at the control and the I/O card, this would only test if there is a problem with that length of cable. But if you did that, you would have to swap pin 2 and 3 of your cable between the PC and Machine so as to maintain a TD to RD and not TD to TD, RD to RD connection. As far as the cable between the I/O board and the connector, its viability can be checked with a multimeter.

    Regards,

    Bill
    Last edited by angelw; 03-13-2012 at 06:32 PM.


  • #11
    Registered
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    163
    Downloads
    0
    Uploads
    0

    RS232

    Check cable config on chart. DB25 and DB9 at the computer end (25 pin on old serial and 9 on newer) do not use the same pins for output, so make sure which part of chart to use. I have found that the fanuc does need the jumpers on each end of the plug (as per attached chart)
    Attached Files Attached Files


  • #12
    Registered
    Join Date
    Dec 2010
    Location
    USA
    Posts
    8
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by John Bennett View Post
    Check cable config on chart. DB25 and DB9 at the computer end (25 pin on old serial and 9 on newer) do not use the same pins for output, so make sure which part of chart to use. I have found that the fanuc does need the jumpers on each end of the plug (as per attached chart)
    Okay, I will try that... Thank you.


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Need Help!- Partner Lathe "Parameter File Corrupted"
      By Joe Miranda in forum Milltronics
      Replies: 9
      Last Post: 09-02-2011, 10:25 PM
    2. Mazak Data Transfer on Windows 7 "XP" mode?
      By pontiacg5 in forum Mazak, Mitsubishi, Mazatrol
      Replies: 3
      Last Post: 08-14-2010, 09:44 PM
    3. Problem- Glitch with "Material Only" Roughing... file attached...
      By Driftwood in forum GibbsCAM
      Replies: 1
      Last Post: 06-30-2009, 09:18 AM
    4. Heat Transfer Prop. of Pratley "Steel Quickset"
      By Bryan GD in forum General Material Machining Solutions
      Replies: 0
      Last Post: 04-07-2009, 08:32 AM
    5. Problem- "wrong program data" when file transfer????
      By spock in forum Bridgeport and Hardinge Mills
      Replies: 2
      Last Post: 07-28-2008, 06:59 PM

    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.