Results 1 to 5 of 5

Thread: Computer to Control Comunication problem

  1. #1
    Registered
    Join Date
    Apr 2009
    Location
    Australia
    Posts
    2
    Downloads
    0
    Uploads
    0

    Computer to Control Comunication problem

    Hey everyone,

    This is my first post on this site so please bear with me.

    I am trying to send programs from the computer to our CNC lathe. The lathe is an Okuma LS30-N with an OSP5000L-G control and is connected to the computer by a RS-232 serial link. I am using CIMCO Edit v5 to transfer. I can send a file from the control to the computer, but am unable to send one back to the control.

    Has anyone else had a similar problem? Does anyone have any ideas?

    Thanks.


  2. #2
    Registered Superman's Avatar
    Join Date
    Dec 2008
    Location
    Krypton
    Posts
    1,769
    Downloads
    0
    Uploads
    0
    Welcome.

    check this thread OSP5020

    Note!
    <READ> and <PUNCH> use different transfer settings in the Okuma

    double check that the "read" parameters are the same as "punch",
    also do the same for Cimco

    Steve


  3. #3
    Registered Algirdas's Avatar
    Join Date
    Mar 2009
    Location
    Lithuania
    Posts
    1,042
    Downloads
    0
    Uploads
    0
    important settings:
    serial speed - equal on CIMCO and OSP (it's satisfied, if You can transfer to one direction)
    number of data bits:
    OSP parameter #12 bit4 (=0 means 7bit ISO {equal to 7 bit JIS + parity bit} =1 means 8bit JIS)
    that's enough for transfer.
    Check these parameters also:
    parameter #12:
    bit 0 =0 means 2 stop bit (reccomended); =1 means 1 stop bit;
    bit 1 =0 "ready" signal for RS232 available =1 not available;
    bit 2 =0 no parity check =1 parity check carried out;
    bit 3 =0 odd parity =1 even parity (reccomended);
    bit 4 =0 means 8bit JIS;
    bit 5 and bit 6 defines flow control, if You use three wires (two signal) cable. =00 for "iron" flow control, that means, CTS, RTS are used.
    bit 7 =0 file name not read. helps if receiving (PIP>R file name) file name is different from that included into transmission.

    NC optional parameter word:
    #44 =0 output port CN0: (setting for lathe. For MC it is #45)
    #54 =1 input port CN0: (setting for lathe. For MC it is #57)
    this is actually a difference between read and punch. Ports could be controled separatelly.
    good luck.
    next time please post error message.
    Last edited by Algirdas; 05-21-2009 at 02:57 PM.


  4. #4
    Registered
    Join Date
    Apr 2009
    Location
    Australia
    Posts
    2
    Downloads
    0
    Uploads
    0
    Thank you both for getting back to me so quickly.

    You have given me a few ideas on things i can try. I read over those other threads you recomended which has helped alot too.

    There is no error message when i try and send to the control. Both the PC and Control just time out.

    Our machine is very busy at the moment so i wont be able to play with it again untill the weekend. I'll post again when i have had another go and let you know how i went.


  • #5
    Registered Algirdas's Avatar
    Join Date
    Mar 2009
    Location
    Lithuania
    Posts
    1,042
    Downloads
    0
    Uploads
    0
    There is no error message when i try and send to the control. Both the PC and Control just time out
    do You have time out error message or You just cancel communication because of timeout? waiting time is set into parameters:
    NC optional parameter (word) parameter #23 "file read waiting timeout for channel 0 in DNC-B mode"
    and
    NC optional parameter (word) parameter #34 "ready completion waiting time for channel 0"
    if You have these parameters around minute and You don't have any error message, must be port used is wrong.
    Check selected port:
    NC optional parameter (word) parameters #43, 44, 45 =0 [CN0: is selected port for output by default]
    NC optional parameter (word) parameters #57 =1 [CN0: is selected port for input by default]
    (this is for machining center, 54 instead of 57 is for lathe)


  • Similar Threads

    1. Comunication problem
      By Alex S.A in forum Machine Problems, Solutions , Wireless DNC, serial port
      Replies: 4
      Last Post: 03-31-2011, 04:25 PM
    2. Need Help!- Bridgeport comunication problem
      By joanpim in forum Bridgeport and Hardinge Mills
      Replies: 3
      Last Post: 03-22-2009, 05:52 PM
    3. Need Help!- Comunication problem VTC-41
      By Jcip in forum Mazak, Mitsubishi, Mazatrol
      Replies: 1
      Last Post: 03-20-2009, 05:49 PM
    4. Fanuc 18 serial comunication problem
      By profe06 in forum Fanuc
      Replies: 2
      Last Post: 08-10-2007, 11:32 PM
    5. VF-4 Control computer repeating characters
      By Drkk in forum Haas Mills
      Replies: 5
      Last Post: 11-02-2005, 11:32 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.