Results 1 to 6 of 6

Thread: RS232 link problem on CL200 with M64 Controller

  1. #1
    Registered
    Join Date
    Nov 2010
    Location
    USA
    Posts
    10
    Downloads
    0
    Uploads
    0

    RS232 link problem on CL200 with M64 Controller

    I'm having a problem getting programs into my Mitsubishi M64 controller with RS232. I am able to send programs from the CNC to the PC fine, but when I try to send programs from the PC to the CNC I get an error E60 IOP ERROR -20. The Mitsubishi manual says this is a (framing and H/W error).

    I tried this with my original cable which is around 50' long and the transfer from CNC to PC works fine. I made a new cable about 3' long and the same thing happens.

    The base parameters let you input a "port number". I can choose any number as long as that number is '2'.

    Any ideas? There are a lot of parameters that can be set. I set the parameters the same for both the DATA OUT and DATA IN. I would assume that if one direction works the parameters should be correct.

    I am using a USB to serial converter. I am using OneCNC link for the communication.

    Is there some kind of a board where the rs232 input meets the NC unit that can go bad. Looking at the diagram shows only a serial cable connecting to the board that the NC unit plugs into. There does not appea to be any easily replaceable components.
    Edit/Delete Message


  2. #2
    Registered Perfect Circle's Avatar
    Join Date
    Jul 2010
    Location
    USA
    Posts
    267
    Downloads
    0
    Uploads
    0
    Make sure that your baud rates are set to the correct values.
    Then if it still happens we can dig a little deeper.


  3. #3
    Registered
    Join Date
    Nov 2010
    Location
    USA
    Posts
    10
    Downloads
    0
    Uploads
    0
    Yes the baud rates are set correctly. I have tried all the rates from 9600 down to 300 and get the same result. Every time I press Data(1) -> Input, 3-4 lines will get sent from the PC (you can see it scroll on the PC screen) and then the ERR occurs. If I press Data(1) -> Input again another 3-4 lines will scroll out and the ERR will occur again. I can repeat this until the PC indicates that the program has finished sending. Of course nothing will show up in the NC. This tells me that the handshaking is working correctly, but the NC unit is having trouble with the incoming stream. The controller has the ability to auto discriminate EIA from ISO, so none of those parameters need to be changed.

    On OneCNC link there is the ability to add a line delay. I tried this with anything from 1msec to 50msec and the same thing occurs.


  4. #4
    Registered Perfect Circle's Avatar
    Join Date
    Jul 2010
    Location
    USA
    Posts
    267
    Downloads
    0
    Uploads
    0
    Hmmm it sounds like something is not set right at the machine to receive data. I had this same problem once and was there was a program that did not delete all the way for some reason out of the control's mem. Try just to see and make sure the program is totally gone from the Machine's mem.


  • #5
    Registered Perfect Circle's Avatar
    Join Date
    Jul 2010
    Location
    USA
    Posts
    267
    Downloads
    0
    Uploads
    0
    Here are the param. settings for your RS232

    Machinery RS232 communications settings for CNC controls including fanuc and mitsubishi
    Hope you get it figured out


  • #6
    Registered
    Join Date
    Nov 2010
    Location
    USA
    Posts
    10
    Downloads
    0
    Uploads
    0
    Problem sorted. Hopefully this can serve as a document for anyone else in this situation. It is a little non-intuitive because the setting on the PC side are not the same as the controller side!

    Here are the M64 Controller settings. On the right is the paramter name,next to it is the value I put in the controller. Download a copy of the Mitsubishi M64 manual for an explanation of what each value represents. The inportant ones are shown in parentheses

    Device Name A
    Baud Rate 2 (4800)
    Stop Bit 3 (2 stop bits)
    Parity Check 0 (Parity bit NOT added)
    Even Parity 0 (odd parity)
    Chr Length 3 (8 bit)
    Terminator Type 3 (EOR)
    Hand Shake 3 (DC Code Method)
    DC Code Parity 1
    DC2/DC4 Output 3
    CR Output 1
    EIA Output 0
    Feed Chr 100
    Parity V 0
    Time Out Sec 10
    DR Off 0
    Data ASCII 0
    EIA Code 00

    The terminal program settings: (I use OneCNC Link)

    7 data, even parity, 1 stop bit, start at machine, software handshake

    The output settings on the NC unit are not so critical.


  • Similar Threads

    1. Need Help!- Looking for cl200 manuals
      By Gerry1955 in forum Mori lathes
      Replies: 0
      Last Post: 04-17-2009, 04:37 PM
    2. Need Help!- User Analisis & documentation of Link Motion Virtual Controller
      By mexico.redsail in forum General Laser Engraving & Cutting Machine Discussion
      Replies: 5
      Last Post: 09-24-2008, 08:09 PM
    3. cad link problem
      By helix77 in forum EdgeCam
      Replies: 0
      Last Post: 07-10-2008, 02:38 PM
    4. Link to photos of Controller I am building...
      By Chris D in forum Mach Software (ArtSoft software)
      Replies: 19
      Last Post: 12-02-2005, 11:56 PM
    5. How to drip link from pc to RS232 port
      By jamie in forum General Electronics Discussion
      Replies: 1
      Last Post: 02-11-2005, 11:54 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.