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

Thread: Interact with Heidenhain TNC155B RS232 Interface

  1. #1
    Registered rrbmachining's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Posts
    103
    Downloads
    0
    Uploads
    0

    Interact with Heidenhain TNC155B RS232 Interface

    I am having trouble getting the link set up between my PC running TNCremoNT and my TNC155B controller. Im certain the pc end is ok but am unsure what lead to use, the pc has a 9 pin din and the TNC is a 25 pin. Should i be using a lead for software or hardware handshake ?

    Also i am not sure if the controller is set up correctly to see the peripheral device

    Any help would be much appreciated

    richard
    rrbmachining@yahoo.co.uk


  2. #2
    gus
    gus is offline
    Registered
    Join Date
    Jan 2005
    Location
    us
    Posts
    974
    Downloads
    0
    Uploads
    0

    re

    first you have to tell us what error you are getting

    to convert to the 9 pin you need to jump two pins and I don't hve that in front of me. The tnc wants to see the handshaking, so is it cts and rts, I think lookin a the diagram on the other thread, pins 4 and 5 on the 25 pin are jumped together, then 2 and 3 are crossed. My old 145 wanted 7 bits, 1 stop bit even parity but I think that is changeable on other controls


  3. #3
    Registered
    Join Date
    May 2004
    Location
    United Kingdom
    Posts
    359
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by rrbmachining View Post
    I am having trouble getting the link set up between my PC running TNCremoNT and my TNC155B controller. Im certain the pc end is ok but am unsure what lead to use, the pc has a 9 pin din and the TNC is a 25 pin. Should i be using a lead for software or hardware handshake ?

    Also i am not sure if the controller is set up correctly to see the peripheral device

    Any help would be much appreciated

    richard
    rrbmachining@yahoo.co.uk
    If you go back there is a recent thread where I put in the specific cable wiring for this.

    AWEM
    Andrew Mawson
    East Sussex, UK


  4. #4
    Registered
    Join Date
    May 2004
    Location
    United Kingdom
    Posts
    359
    Downloads
    0
    Uploads
    0
    Here you go::::::

    Download TNC REMO from Heidenhain's site - set it up and run TNCSERVER

    Make up a cable from 25way TNC151B to 9 way PC as follows:


    (25way TNC) <9 way PC>
    (2) - <2>
    (3) - <3>
    (4) - <8>
    (5) - <7>
    (6) - <4>
    (7) - <5>
    (20) - <6>

    The TNC RS232 interface can exist in three modes - "EXT", "ME", and "FE" selected via the 'MOD' key - it should be in "FE"

    File names & extensions ARE important in block mode transmission. 123.H = program 123 in Heidenhain conversational code and 123.I is program 123 in ISO-Gcode

    When set up like the above it will work - it took me ages to sort it but now all is reliable.
    Andrew Mawson
    East Sussex, UK


  • #5
    Registered rrbmachining's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Posts
    103
    Downloads
    0
    Uploads
    0
    Thanks for all the replies, I will give it another try today

    With regard to the last reply from awemawson, shouldn't pins 2 and 3 get transposed in the cable ?. I found that diagram after a lot of searching on page 3-5 of the Heidenhain data interface manual, however there appears to be a discrepency between the two drawings

    richard
    rrbmachining@yahoo.co.uk


  • #6
    Registered
    Join Date
    May 2004
    Location
    United Kingdom
    Posts
    359
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by rrbmachining View Post
    Thanks for all the replies, I will give it another try today

    With regard to the last reply from awemawson, shouldn't pins 2 and 3 get transposed in the cable ?. I found that diagram after a lot of searching on page 3-5 of the Heidenhain data interface manual, however there appears to be a discrepency between the two drawings

    richard
    rrbmachining@yahoo.co.uk
    No that's the way 9 and 25 way do it !

    Pin 2 is transmit data on 25 pin and received data on a 9 pin
    Pin 3 is received data on a 25 pin and transmit data on a 9 pin

    Look at Pin Assignments here :

    http://www.camiresearch.com/Data_Com...#anchor1155222

    AWEM
    Andrew Mawson
    East Sussex, UK


  • #7
    Registered rrbmachining's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Posts
    103
    Downloads
    0
    Uploads
    0
    thanks for that andrew, that could explain alot, i will give it a try later for sure

    richard


  • #8
    Registered rrbmachining's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Posts
    103
    Downloads
    0
    Uploads
    0
    Well im making some proress thanks to all the help i have had, the TNC now seems to talk to the pc running tncserver as the link goes active when i try to transfer a file, however the file does not appear on the pc so i guess the transfer is not complete or corrupt, from what i can see the settings match at the tnc and the pc, anymore thoughts anyone ?

    richard
    rrbmachining@yahoo.co.uk


  • #9
    Registered
    Join Date
    May 2004
    Location
    United Kingdom
    Posts
    359
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by rrbmachining View Post
    Well im making some proress thanks to all the help i have had, the TNC now seems to talk to the pc running tncserver as the link goes active when i try to transfer a file, however the file does not appear on the pc so i guess the transfer is not complete or corrupt, from what i can see the settings match at the tnc and the pc, anymore thoughts anyone ?

    richard
    rrbmachining@yahoo.co.uk

    TNC server should say 'awaiting request' when it has seen a valid RS232 connection, otherwise it will say 'no connection' Does TNC server start counting up blocks as the transfer starts? Have you set up the folder option on TNCserver to tell it where to put the file?

    AWEM
    Andrew Mawson
    East Sussex, UK


  • #10
    Registered rrbmachining's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Posts
    103
    Downloads
    0
    Uploads
    0
    TNC server does say awiting request, the server does have a folder defined but when i try to transfer a file the status goes active for about 5 seconds and nothing happens in the bottom 4 fields of the server window. Maybe its something to do with the file name or extension but as yet i have not worked out how to check this

    richard
    rrbmachining@yahoo.co.uk


  • #11
    Registered
    Join Date
    May 2004
    Location
    United Kingdom
    Posts
    359
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by rrbmachining View Post
    TNC server does say awiting request, the server does have a folder defined but when i try to transfer a file the status goes active for about 5 seconds and nothing happens in the bottom 4 fields of the server window. Maybe its something to do with the file name or extension but as yet i have not worked out how to check this

    richard
    rrbmachining@yahoo.co.uk
    You do have the TNC155 in 'FE' mode and the TNCserver in FE/ME mode don't you? What happens if you try to upload a file? (if in conversational mode the file must be a number with an .H extension and if in Iso mode a number with a .I extension ie 300.H or 300.I - I don't think you can use anything other than numbers for file names, but the number doesn't have to correspond with the program number embeded in the code iirc

    AWEM
    Andrew Mawson
    East Sussex, UK


  • #12
    Registered rrbmachining's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Posts
    103
    Downloads
    0
    Uploads
    0
    The TNC155 is in FE mode and the server software set to send/recieve FE. I cant try to upload as i have no files on the server

    richard
    rrbmachining@yahoo.co.uk


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Heidenhain tnc 2500 on Interact 308
      By GarageShop in forum Bridgeport and Hardinge Mills
      Replies: 16
      Last Post: 12-15-2010, 05:57 PM
    2. RS232 for Heidenhain TNC 151/Mastercam 8.1
      By Huntersyv in forum Machine Problems, Solutions , Wireless DNC, serial port
      Replies: 8
      Last Post: 12-12-2007, 12:07 AM
    3. Interact 1 Mk2 with Heidenhain TNC155B
      By rrbmachining in forum Bridgeport and Hardinge Mills
      Replies: 6
      Last Post: 03-22-2007, 02:18 PM
    4. BobCad to Heidenhain TNC155b problem
      By bherr in forum Bridgeport and Hardinge Mills
      Replies: 0
      Last Post: 01-13-2007, 10:19 AM
    5. Heidenhain TNC310 RS232
      By Al_The_Man in forum Mazak, Mitsubishi, Mazatrol
      Replies: 5
      Last Post: 04-27-2005, 10:18 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.