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

Thread: Need some guidence with 6t on a Miyano Lathe

  1. #1
    Registered
    Join Date
    Jan 2009
    Location
    United States
    Posts
    224
    Downloads
    0
    Uploads
    0

    Need some guidence with 6t on a Miyano Lathe

    Ok, I have run Matsuura Mills with yasnac controlls. When you wanna go to MDI mode, you simply turn the dial to MDI, then you can type a line then it insert, and when you are done with the line you hit EOB, or end of line to go to the next line when writing a simple program like homing the machine.

    Now with this 6t fanuc controll, when I go to MDI, and I try to type something and then insert, it never inserts it and just stays on the bottom of the screen. Is there a paramater that is not set right? The machine lock is not on as far as I know.

    Also, when interfacing with the RS232 port on my matsuura. When I am ready to send a program from my PC to the CNC, I simply go to EDIT mode, then Program Page, then hit IN, and it waits for me to send it from my PC, then I hit send on my PC.

    With the fanuc does it work the same way or?

    Thanks for your help guys!


  2. #2
    hrh
    hrh is offline
    Registered
    Join Date
    Jan 2009
    Location
    South Africa
    Posts
    99
    Downloads
    0
    Uploads
    0
    MDI Commands:
    1.MDI mode
    2. Press COMMAND
    3. Type M03
    4. Press INPUT
    5. Type S300
    6. Press INPUT
    7. Press CYCLE Start or OUTPUT START

    RS-232
    PC to NC
    1. EDIT Mode (program protect must be off to enable editing of programs)
    2. Press PROGRAM
    3. Press READ (you can type the program number; example O0001; before you press READ
    4. EDIT flashes if comms is working

    Press PUNCH if you need to send the program.

    RS-232 will not work if parameter 2 bit 5 = 0 or if Reader Puncher card is not mounted on the master PCB.


  3. #3
    Registered
    Join Date
    Jan 2009
    Location
    United States
    Posts
    224
    Downloads
    0
    Uploads
    0
    Ok, THANKS!

    Ok, I tried to send the program from mastercam, I have the jumpers and send, recive lines correct I belive. When I go to edit, then read, and send the program it errors out and says RS232C code 085. Could it be that the BAUD rate is not set correctly in the paramater page? Does anyone have a list of the baud rates and what parameter line they are on so I can verrify?


  4. #4
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,936
    Downloads
    0
    Uploads
    0
    Buffer overrun, do you have the S/W set up for XON/XOFF?
    Also check the hardware handshake lines, are you using a 3 wire cable?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #5
    Registered
    Join Date
    Jan 2009
    Location
    United States
    Posts
    224
    Downloads
    0
    Uploads
    0
    Ok, it looks like my parameter 311=00101000

    Parm340=2
    parm341=2

    on my setting page TVcheck=0
    Punch Code=1
    Imput device 1=1
    imput device2=1

    Does this help figure out our probelm?

    Searching I found I have a 6tb controll, and for a 4800 baud I need 311 parm to be 11001001?

    if so I cannot seem to edit param 311 how do I scroll over to the right to change it?


  • #6
    Registered
    Join Date
    Jan 2009
    Location
    United States
    Posts
    224
    Downloads
    0
    Uploads
    0
    Also my cable is made like this:

    Pins
    1= sig ground
    2=send
    3=recive
    4, 5 jumpered

    6, 8, 20 jumpered

    7=frame ground.

    Is this correct?


  • #7
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    755
    Downloads
    0
    Uploads
    0
    Yep. Set parameter 311 to 11001001 Set your DNC software to send at 4800 baud, 1 stop-bit, 7 data bits, Even parity, and Xon/Xoff handshaking.

    To change a parameter on the system 6, find the toggle switch labeled "Parameter Write/Enable" on the main circuit board. Turn that switch on, and you'll get an alarm #100 (this is normal). Press the PARAM key and page or cursor to parameter 311. Select MDI mode, press the letter "P", then the entire 8 bits, then press INPUT. Turn off the Parameter write/enable switch, then press RESET to clear the alarm.

    Your cable looks OK. There are several configurations that will work with the system 6. You'll definitely need that jumper from pin 6 to pin 8 to pin 20. I like to connect pin 5 from the Fanuc to pin 7 on the PC (the 9-pin plug). This prevents the Fanuc from sending data if the PC isn't ready to receive.


  • #8
    hrh
    hrh is offline
    Registered
    Join Date
    Jan 2009
    Location
    South Africa
    Posts
    99
    Downloads
    0
    Uploads
    0
    Carefull with your cable:
    1 = Frame ground (Connect the shield of the cable here or on the metal housing of the connector body)
    7 = Signal ground (The 0V reference around which the signal "swings")

    Remeber that:
    25pin(PC) 25pin(CNC)
    2 < ---------> 3
    3 < ---------> 2

    9pin (PC) 25pin(CNC)
    2 < ----------> 2
    3 < ----------> 3


    You can also change the Baud rate to 1200 (DC1 to DC4 not required) if you are OK with waiting a little bit longer for the program to transfer.
    Handshaking becomes effective for 2400 and higher Baud rates.

    For alarm 085 it is important that the parity, character and stop bits also match the host device.


  • #9
    Registered
    Join Date
    Jan 2009
    Location
    United States
    Posts
    224
    Downloads
    0
    Uploads
    0
    Does anyone have a list of the different baud rates, on what to set the parameter 311 to?

    I belive my matsuura is setup for 2400 and I would rather keep both machines the same so I dont have to switch mastercam each time I send to a different machine. Plus it is on a 100 foot cable, and I dont know if I can go any faster than 2400 as I might start loosing data during transfers.


  • #10
    Registered
    Join Date
    Sep 2005
    Location
    finland
    Posts
    37
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by blakemachine View Post
    Does anyone have a list of the different baud rates, on what to set the parameter 311 to?
    Does this help?

    http://picasaweb.google.com/salmve/Nakamura#

    Vekku


  • #11
    Registered
    Join Date
    Jan 2009
    Location
    United States
    Posts
    224
    Downloads
    0
    Uploads
    0
    Ok, I checked my mastercam sending configurations. Looks like I am at 1200 baud rate, data bits=7 stop bits=2 with a even parity. So what settings on the fanuc controll do I set to to match up with these mastercam settings?


  • #12
    Registered
    Join Date
    Jan 2009
    Location
    United States
    Posts
    224
    Downloads
    0
    Uploads
    0
    Ok, great news!

    Got the PC to talk to the CNC. Set parameter 311 to 00100111 for a 1200 baud rate, and works good.

    Thanks guys so much!

    Ok, now for the newbie Lathe operator help!

    Ok, in MDI mode I still cannot input a simple program. HRH says to switch to MDI mode, then press command. That brings me to a whole different page on it. But it still does not let me imput any codes in it.


    When I go to start the program that I sent from the PC it errors out after I push cycle start with an alarm 048 "ref rtrn" Any help here?


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Just bougt at Miyano Lathe but have problems
      By blakemachine in forum Fanuc
      Replies: 12
      Last Post: 07-28-2009, 02:05 PM
    2. Need Help!- Miyano JNC-35 Lathe Parameters
      By MildBill in forum General Metal Working Machines
      Replies: 1
      Last Post: 12-18-2008, 10:22 AM
    3. Help with macro Fanuc T18 Miyano Lathe
      By jorgehrr in forum G-Code Programing
      Replies: 3
      Last Post: 05-24-2008, 01:15 AM
    4. Miyano lathe with Fanuc 3T Controller
      By engineerbill in forum General Metal Working Machines
      Replies: 0
      Last Post: 04-10-2007, 09:22 AM
    5. Problem with BNC Miyano Barfeeder lathe.
      By Tonenc in forum Machine Problems, Solutions , Wireless DNC, serial port
      Replies: 3
      Last Post: 11-08-2005, 08:46 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.