![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Machine Problems, Solutions , Wireless DNC, serial port Need help with your Machine or need a Machining solutions for , Serial Port, Cable problems between PC and all others DNC problems disucss them here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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
| ||||
| ||||
| 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.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#4
| ||||
| ||||
| Send me a PM with an email address I can mail attachments to. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#5
| |||
| |||
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 |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |