Results 1 to 3 of 3

Thread: programs from cnc to pc recieve different to sent

  1. #1
    Registered
    Join Date
    Apr 2012
    Location
    uk
    Posts
    7
    Downloads
    0
    Uploads
    0

    programs from cnc to pc recieve different to sent

    hi,

    i made a post about a week back about having trouble sending receiving programs, well i got that sorted but now have a different problem
    Ill try explain best i can:
    I use a fanuc 6m controller, a prog called Erfurt and my pc is xp.

    If i write a prog on the pc an send it to cnc, with a % sign at start and finish my settings are:
    Port 1
    Baud rate 9600
    Parity even
    Number of bits 7
    Stop bits 1
    Protocol xon/xoff
    In start string %
    In inter block <13> (ascii)
    In end string %
    Out start string %
    Out block string <13><10>
    Out end string %

    This sends fine, but when sending same prog back it reads on the pc without the % sign and has square blocks after every line with gaps in between every line.
    If i send that program back to cnc the same it reads with gaps as end of blocks after every line so i change the out block string to just <13> without the <10> and reads fine after sending that type of prog. But my programs are all written with just the % sign at start and end and would rather my programs stay like that.
    Anyone have any ideas how i can get the programs from the cnc to pc without all the spaces and square blocks after every line.

    Any advice much appreciated


  2. #2
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    On your PC software for DNC you will need to change the settings for carriage return/line feed and/or strip control code.
    http://www.kirkcon.com/


  3. #3
    Registered
    Join Date
    Apr 2012
    Location
    uk
    Posts
    7
    Downloads
    0
    Uploads
    0
    ive managed to receive the progs without the spaces after every line but the square blocks have moved to the start of every line rather than the end, so nearly their, just need to get rid of the blocks and get the % signs at start and end of prog.

    thanks for your advice is the ascii code for strip control?


Similar Threads

  1. Replies: 5
    Last Post: 12-12-2010, 11:25 PM
  2. Cimco Auto Recieve
    By RandyStarcher in forum Machine Problems, Solutions , Wireless DNC, serial port
    Replies: 4
    Last Post: 12-12-2007, 12:02 AM
  3. Fanuc OI-MC send/recieve deta problem
    By jalil in forum Fanuc
    Replies: 1
    Last Post: 12-01-2007, 05:43 PM
  4. Fanuc 0-M RS232 can recieve but not send
    By malaron in forum Fanuc
    Replies: 4
    Last Post: 10-01-2007, 11:02 AM
  5. PLC programs?
    By KC8QVO in forum General Electronics Discussion
    Replies: 1
    Last Post: 05-10-2007, 12:06 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.