586,283 active members*
4,141 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Posts
    2

    looking for send program to cnc;

    I am looking for a simple program that works in Dos.

    I want to start the program using stanandard bath (*.bat) file .

    for example if i want to send file named 'test.txt' to the cnc ,all I need to do
    Is to write in the Dos prompt cammand line : send test.txt.

    The reason I am looking for such program is ,I have another g-code program
    That was Writen specially for our machine and I want to combine both
    programs in one bath file so I can make the file and send it using one dos
    command.

    I am thankfull for any one that can help out.

  2. #2
    Join Date
    Dec 2003
    Posts
    24221
    I am not sure how you intend 'merging'? two files to send?
    You may be able to do in in one of the modem programs that run under DOS using a Script file.
    I have used both Qmodem and Telix for general communication, they are still both available in shareware, if not I have a copy if you need.
    I have not used script files really, but there is a copy of the Qmodem program Manual.
    You may be able to work it out.
    The PDF screwed up the formatting a bit.
    The file was to big to upload so I just show the scripts detail, remember the program was originally intended for phone modem so there is alot you can ignore.
    It works fine in direct RS232 mode.
    Depending on what you actually want to achieve there also may be a way to just use simple DOS commands in a BAT file and use 'TYPE' directed to the COM1: port instead of the screen.
    You would have to use a program that sets up the right conditions on the com port, however.
    Al.
    Attached Files Attached Files
    CNC, Mechatronics Integration and Custom Machine Design

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

  3. #3
    Join Date
    Aug 2006
    Posts
    2
    First I would like to thank you for your help.

    I would appresiate I you could send me the files you mentioned.

    thanks

  4. #4
    Join Date
    Dec 2003
    Posts
    24221
    Send me a PM with an email address I can mail attachments to.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  5. #5
    Join Date
    May 2003
    Posts
    75

    You may need nothing

    Depending on your version of DOS, you may be able to use the MODE and PRINT commands to do this. For example -

    mode lpt1:=com1 (re-direct printer port to com1 port)
    mode com1:9600, n, 8, 1 (set com1 parameters)
    print test.txt (send file out com1)
    Paul Sevin - Ovation Engineering, Inc.
    http://www.ovationengineering.com

Posting Permissions

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