586,060 active members*
4,226 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 39
  1. #1
    Join Date
    Jan 2007
    Posts
    161

    Fanuc 3M and RS232 communication

    Hello Friends

    I have a 1984 Kitamura, MyCenter1 and the only thing now to get it running is the ability to communicate with a PC. I have read and looked at many threads regarding RS232 cables. I need to make a cable now. I haven't seen any threads for the 3M controller and RS232 communication. It does have a RS232 port on the side and I know it works. I bought it from a shop that still used the machine.

    Do I need a null modem cable or a full handshakes?

    I know I have seen a 25 pin to 25 pin cable diagram too. But I can't seem to find it again. So I am asking for help..
    _____________
    teamjnz

  2. #2
    Join Date
    Aug 2008
    Posts
    151

    Standard Fanuc 25 to 25 cable

    The 3M uses the standard Fanuc config:

    CNC Side.................................Computer side
    2................................................3
    3................................................2
    4.........
    5.........|


    6.........
    8.........|
    20.......|

    7................................................. 7

    4 and 5 shorted together. 6,8,20 shorted together



    Warren
    www.uptimecorp.com

  3. #3
    Join Date
    Jan 2007
    Posts
    161
    Quote Originally Posted by WGoyer View Post
    The 3M uses the standard Fanuc config:

    CNC Side.................................Computer side
    2................................................3
    3................................................2
    4.........
    5.........|


    6.........
    8.........|
    20.......|

    7................................................. 7

    4 and 5 shorted together. 6,8,20 shorted together



    Warren
    www.uptimecorp.com
    Thanks Man...

    Shorted together?? Does this mean I hook the 4 and 5 pin on the same wire, jumper them? The same on both sides, CNC and PC? The same with 6,8,and 20 for both sides?

    What about grounding? I read that grounding is important and if it isn't done properly fuses can blow.

    Thanks
    _____________
    teamjnz

  4. #4
    Join Date
    Aug 2008
    Posts
    151

    RS232

    Solder a jumper between 4 and 5 only on the Fanuc side. Also do the same with 6,8, and 20 onlly on the Fanuc side. Pin 7 grounds the chassis of the computer with the chassis of the Fanuc.

    Very bad things happen if your machine is not grounded properly to the same ground that the computer is grounded to. If in doubt, take an AC voltmeter and measure pin 7 on the Fanuc to pin 7 on the computer BEFORE plugging in your cable. Anything over a few volts AC could signal trouble.

    Tens of thousands of connections are made to Fanuc controls without any problems every day. Chances of trouble here are slim.

    Warren

    www.uptimecorp.com

  5. #5
    Join Date
    Dec 2003
    Posts
    24221
    If you want the now common 9 pin RS232 on the PC side.
    The 3 wire cable is
    25pin ***********9 pin
    4-5 jumpered and 7-8 on the 9 pin end
    6-8-20 jumpered and 1-4-6 on 9 pin end
    2-----------------2
    3-----------------3
    7-----------------5
    No connection between 9pin & 25 pin jumpered out pins.
    Some PC communication programs will turn off the Hardware Handshake in which case the jumpers on the 9 end could be eliminated.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  6. #6
    Join Date
    Aug 2005
    Posts
    149
    I know most guys in here make their own communication , but save your self the trouble... go to radio shack and buy a null modem is already set. Just plug it in and go. that's what I did. never had a problem. seems to me to much of a pain in the butt...

  7. #7
    Join Date
    Dec 2003
    Posts
    24221
    The only problem I have come across there is you do not get a 3 wire cable with the Hardware HS jumpered out.
    When you power some PC's up and it seems prevalent in laptops, the UART chip does not always get initialized right away and the HS lines can be low instead of high untill you exercise the port.
    If you happen to transmit from the controller in this condition, you get an error.
    The 3 wire eliminates all these possibilities.
    Most controls use XON XOFF, so the H.H.S. is not needed.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  8. #8
    Join Date
    Jan 2007
    Posts
    161
    Quote Originally Posted by chuy View Post
    I know most guys in here make their own communication , but save your self the trouble... go to radio shack and buy a null modem is already set. Just plug it in and go. that's what I did. never had a problem. seems to me to much of a pain in the butt...
    I went to Radio Shack but they didn't have a 25 pin null modem, only a 9 pin. I would much rather do it the easy way, but i am going to try and build a cable. My computer only has a BD25 connector

    Thanks for the help thou.
    _____________
    teamjnz

  9. #9
    Join Date
    Jan 2007
    Posts
    161

    Quote Originally Posted by WGoyer View Post
    Solder a jumper between 4 and 5 only on the Fanuc side. Also do the same with 6,8, and 20 onlly on the Fanuc side. Pin 7 grounds the chassis of the computer with the chassis of the Fanuc.

    Very bad things happen if your machine is not grounded properly to the same ground that the computer is grounded to. If in doubt, take an AC voltmeter and measure pin 7 on the Fanuc to pin 7 on the computer BEFORE plugging in your cable. Anything over a few volts AC could signal trouble.

    Tens of thousands of connections are made to Fanuc controls without any problems every day. Chances of trouble here are slim.

    Warren

    www.uptimecorp.com



    Thanks to all for the input. Special thanks to Warren. I built my cable and will be connecting it tomorrow to see if it works.
    _____________
    teamjnz

  10. #10
    Join Date
    Jan 2007
    Posts
    161

    bummer it didn't work

    I would like some suggestions for trouble shooting this. The machine just waits for the input code with the blinking LSK.

    I know the machine is set at 4800 baud rate and so is the software. Oh I am using Cimco V5.

    How do I find out what the stop bits, parity and flow control are set in the machine. I played around with these setting but I couldn't get the code in the machine.

    Any suggestions?
    Thanks
    _____________
    teamjnz

  11. #11
    Join Date
    Dec 2003
    Posts
    24221
    P0014.0 0= 1 stop bit 1= 2 stop bits
    0068 baud rate for port 0
    0069 baud rate for port 1
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  12. #12
    Join Date
    Jan 2007
    Posts
    161
    Quote Originally Posted by Al_The_Man View Post
    P0014.0 0= 1 stop bit 1= 2 stop bits
    0068 baud rate for port 0
    0069 baud rate for port 1
    Al.

    Thanks Al, I will look at it tonight.

    This is for the 3M Fanuc?
    _____________
    teamjnz

  13. #13
    Join Date
    Dec 2003
    Posts
    24221
    Actually is a GN3 (General Numerics) AFAIK it is the same controller.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  14. #14
    Join Date
    Jan 2007
    Posts
    161
    Quote Originally Posted by Al_The_Man View Post
    P0014.0 0= 1 stop bit 1= 2 stop bits
    0068 baud rate for port 0
    0069 baud rate for port 1
    Al.
    Hi Al,

    P0012=10000000
    P0013=00000000
    P0014=01010000

    0068=4800
    0069=4800

    I knew the baud rate is 4800. Parameter 14, in my book, says "various settings" grouped along with P12 &P13. There is no parameter name.

    I haven't changed the parameters just the settings in the Cimco communication software.

    Any thoughts on P12-P14?
    _____________
    teamjnz

  15. #15
    Join Date
    Dec 2003
    Posts
    24221
    P0014 is the only one that refers to communication.
    The bits that you show as 1 are not listed in my book. Just # 7,2 & 0.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  16. #16
    Join Date
    Jan 2007
    Posts
    161
    I am thinking about the plug I have the cable plugged into on the computer. It is the printer port. Could this be my problem? It is the only available port on the back of the computer.

    I am double checking the wiring in the cable I made right now. Also I am using blue cat5 cable as well. Is this a problem too?

    A question about the 3M. I don't see an output button for outputting code back to the computer. Can this controller send programs?

    Thanks

    My cable is wired like this

    CNC side Computer side
    2--------------3
    3--------------2
    7--------------7
    4-5 (jumpered)
    6-8-20(jumpered)

    Looks like what wgoyer has posted, so i am assuming the cable is good.
    _____________
    teamjnz

  17. #17
    Join Date
    Jan 2007
    Posts
    161
    Quote Originally Posted by Al_The_Man View Post
    P0014 is the only one that refers to communication.
    The bits that you show as 1 are not listed in my book. Just # 7,2 & 0.
    Al.
    I have the Fanuc System 3M-Model C maintenance manual.
    2M-Model B
    _____________
    teamjnz

  18. #18
    Join Date
    Dec 2003
    Posts
    24221
    Quote Originally Posted by teamjnz View Post
    I am thinking about the plug I have the cable plugged into on the computer. It is the printer port. Could this be my problem? It is the only available port on the back of the computer.
    .
    The printer port is a parallel TTL port, you need a RS232 serial port, 9 pin on modern computers, if you have one at all, as most PC's now have gone to USB.
    The original PC serial port was a male 25 pin and the printer is 25 pin female.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  19. #19
    Join Date
    Jan 2007
    Posts
    161
    Quote Originally Posted by Al_The_Man View Post
    The printer port is a parallel TTL port, you need a RS232 serial port, 9 pin on modern computers, if you have one at all, as most PC's now have gone to USB.
    The original PC serial port was a male 25 pin and the printer is 25 pin female.
    Al.
    I now know what my problem is. I have a different older computer with a male 9 pin that has lOlOlO markings next to it. Would this be the correct port?

    Thanks again
    _____________
    teamjnz

  20. #20
    Join Date
    Dec 2003
    Posts
    24221
    Quote Originally Posted by teamjnz View Post
    I now know what my problem is. I have a different older computer with a male 9 pin that has lOlOlO markings next to it. Would this be the correct port?

    Thanks again
    Thats It
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

Page 1 of 2 12

Similar Threads

  1. What software is necessary for RS232 Communication?
    By 61SedanMan in forum Haas Mills
    Replies: 6
    Last Post: 08-31-2017, 11:22 AM
  2. USB to RS232 NO Communication?
    By frz400 in forum DNC Problems and Solutions
    Replies: 3
    Last Post: 10-23-2008, 11:16 PM
  3. RS232 communication on Fanuc 21i-TB control
    By dittrichw in forum Fanuc
    Replies: 3
    Last Post: 06-09-2008, 12:02 PM
  4. RS232 communication software
    By gar in forum Haas Mills
    Replies: 6
    Last Post: 08-14-2007, 02:56 AM
  5. Help! RS232 Communication to Fanuc 3T Control
    By m1_machine in forum Fanuc
    Replies: 5
    Last Post: 10-30-2006, 09:08 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
  •