603,344 active members*
3,658 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > Problem with Data flow between Fanuc 6M and DNC software
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    2

    Question Problem with Data flow between Fanuc 6M and DNC software

    I'm having a problem loading a particular program into a Fanuc 6M control. We just recently upgraded to DNC Precision software for communication. The computer and control use 4800/7E1, Xon/Xoff control. For most programs, we have no problems.

    That being said, there's obviously a problem =). One particular program has multiple subprograms, some of which are only one line long. Whenever the control tries to read the short subprograms from the file, I get an error 87, RS232C -- which, according to the manual, says that there is not enough time for the control to process the program. A small snippet of the program is below. How can I keep the machine from erroring out whenever it tries to read the bottom lines? Also, is there a way to get the Fanuc control to output multiple programs in sequence so that the DNC software will store them all into one file?

    Thanks for your input!

    -saluce

    Code:
    (!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
    ...
    (!!!!!!!!!!!!!!!!!!!!!!!!!)
    N50 G91G28G40G80X0Y0Z0M38
    M98P3
    G90X3.0Y-8.50S1230T2M3
    G0G46Z1.0H1M8
    ...
    G80G0Z1.0M9
    G91G28G40G80X0Y0Z0M5
    M1
    T22M6
    M30
    
    :01
    N1G90G0G92X17.963Y2.004Z18.370B0
    M99
    
    :02
    N1G90G0G92X17.963Y2.004Z18.370B90
    M99
    
    :04
    N1G90G0G92X17.963Y2.004Z18.370B270
    M99
    
    :05
    N1G90G0G92X17.963Y2.004Z18.370B135
    M99
    
    :06
    N1G90G0G92X17.963Y2.004Z18.370B225
    M99
    
    :07
    N1G90G0G92X17.963Y2.004Z18.370B315
    M99
    
    :08
    N1G90G0G92X17.963Y2.004Z18.370B45
    M99
    
    :09
    N1G90G0G92X17.963Y2.004Z18.370B304
    M99
    
    :03
    N1G90G0G92X17.963Y2.004Z18.370B180
    M99

  2. #2
    Join Date
    Sep 2005
    Posts
    767
    The 6M will punch all the the programs in memory (in no particular order), by putting the CNC into EDIT mode, turning off the memory protect key switch, and pressing the letter "O" followed by the minus sign (-), followed by "9999", then pressing PUNCH.

    That will dump all the programs from the Fanuc memory into the DNC system in one shot. If the DNC system is set up to receive until data stops coming in, then all that data should be saved in one file.

    If a file has multiple O-numbers (or colon-numbers) in it, you can read them all back into the Fanuc by getting the file ready on the DNC system, then pressing "O-9999" then READ on the CNC.

    Are you sure of the stop-bits setting on the Fanuc? Most Fanucs come factory set for 4800 baud and 2 stop-bits (not 1). These are set with parameter 311. Here are the correct settings for 4800 baud and 1 stop bit:

    Parameter 340: 2
    Parameter 341: 2
    Parameter 311: 1 1 0 0 1 0 0 1

    On the SETTING screen, you need to have the INPUT DEVICE 1 bit set to "0" and the INPUT DEVICE 2 bit set to "1".

    Let us know how it goes ...

Similar Threads

  1. Replies: 17
    Last Post: 07-23-2020, 10:30 AM
  2. problem in receiving data
    By paulstrife88 in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 0
    Last Post: 03-10-2008, 09:28 PM
  3. Software work flow
    By Darroll in forum DIY CNC Router Table Machines
    Replies: 11
    Last Post: 01-17-2008, 01:44 PM
  4. Replies: 7
    Last Post: 12-21-2007, 01:16 AM
  5. Fanuc 9M data transfer problem
    By YOO in forum Fanuc
    Replies: 1
    Last Post: 01-18-2007, 03:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •