Uploading/downloading Progs to Triac.
Moderators: Martin, Steve, Mr Magoo
- Roy
- CNC Expert
- Posts: 104
- Joined: Tue 30 Jan , 2007 20:20 pm
- Hardware/Software: 1986 Triac modified & running Mach 3
- Location: Bucks, UK
Uploading/downloading Progs to Triac.
Having now got the '86 Triac set up, I wish to use the RS232 link for uploading and downloading programmes.
I have made up the appropriate cable as described.
However both Triac 4.2 and Ind text editor only have options for Com 1 or Com 2, wheras my PC's serial port is on Com 5. Is there any way of changing the options in Triac 4.2 and/or Ind text editor.
Help would be gratley appreciated!
Thanks Roy.
Ps, Also some help on general settings would be helpful, the triac's baudrate is set to 4800
I have made up the appropriate cable as described.
However both Triac 4.2 and Ind text editor only have options for Com 1 or Com 2, wheras my PC's serial port is on Com 5. Is there any way of changing the options in Triac 4.2 and/or Ind text editor.
Help would be gratley appreciated!
Thanks Roy.
Ps, Also some help on general settings would be helpful, the triac's baudrate is set to 4800
The Ind. Text Editor is waiting for an 'ACK' character to come back from the machine before it sends the next line.
The prob could be a bad cable (PC Transmit line is OK but the Receive line is broken) Can you send a program from the machine to the PC OK?
Also take a look at this post about testing the RS232 link viewtopic.php?t=701
instead of shorting pins 7 and 8 at the Triac, leave serial the cable connected to the machine and short out pins 2 and 3 on the other (PC) end of the cable. This way you'll know the cable is good.
The prob could be a bad cable (PC Transmit line is OK but the Receive line is broken) Can you send a program from the machine to the PC OK?
Also take a look at this post about testing the RS232 link viewtopic.php?t=701
instead of shorting pins 7 and 8 at the Triac, leave serial the cable connected to the machine and short out pins 2 and 3 on the other (PC) end of the cable. This way you'll know the cable is good.
Mmmm...
Error 1010 = "Output Queue Full" - I guess it's saying that the PC is trying to respond to the first line sent by the machine but the response is failing to leave the serial port. Things to check...
- If there are any links shown in the cable diagram then make sure they are fitted!
- Make sure the Comms settiings in the Ind Text Editor software are set to either 'No Flow Control' or 'Software Flow Control'
BTW, have you loaded the PNC Settings in the Ind Text Editor software?
Error 1010 = "Output Queue Full" - I guess it's saying that the PC is trying to respond to the first line sent by the machine but the response is failing to leave the serial port. Things to check...
- If there are any links shown in the cable diagram then make sure they are fitted!
- Make sure the Comms settiings in the Ind Text Editor software are set to either 'No Flow Control' or 'Software Flow Control'
BTW, have you loaded the PNC Settings in the Ind Text Editor software?
- Denford Admin
- Site Admin
- Posts: 3649
- Joined: Fri 10 Feb , 2006 12:40 pm
- Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can - it makes it easier for everyone to know what you're talking about then. - Location: Sunny Brighouse
- Contact:
If you're running it under a windows OS, then try turning off the FIFO buffers in the COM ports Advanced settings in device manager.
Otherwise, if its a fast PC (ie better than a 386) then maybe something like CPU killer will get it to talk to the COMMS a bit slower.
However, the only luck I had with some old software running RS232 comms on a new PC, was to install VMWARE and install Windows 3.11 into the 'virtual' PC.
RS232 from a DOS app sort of works in XP, but its never reliable and will eventually trip up or time out
Otherwise, if its a fast PC (ie better than a 386) then maybe something like CPU killer will get it to talk to the COMMS a bit slower.
However, the only luck I had with some old software running RS232 comms on a new PC, was to install VMWARE and install Windows 3.11 into the 'virtual' PC.
RS232 from a DOS app sort of works in XP, but its never reliable and will eventually trip up or time out

- Denford Admin
- Site Admin
- Posts: 3649
- Joined: Fri 10 Feb , 2006 12:40 pm
- Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can - it makes it easier for everyone to know what you're talking about then. - Location: Sunny Brighouse
- Contact:
I only set up vmware the once and that pc is now in pakistan. the most difficult thing I remember was getting hold of dos 6.22 disks to install into it. the rest was fairly straightforward .
I remember magoo mentioning an open source dos project that was compatible with ms dos.
I suppose we haven't considered that the problem could be with the triac.
maybe the next step should be to try the software sending to another pc running teraterm / hyperterminal. just to get to the bottom of which part of the system isn't working.
mrmagoo?
I remember magoo mentioning an open source dos project that was compatible with ms dos.
I suppose we haven't considered that the problem could be with the triac.
maybe the next step should be to try the software sending to another pc running teraterm / hyperterminal. just to get to the bottom of which part of the system isn't working.
mrmagoo?
The original problem of the Ind Txt Edt only sending one block and then hanging indicates that it hasn't seen the ACK character come from the Triac (which is what it is waiting for before it will send the next block). I think you've checked the cable using the 'T' test on the Triac and shorting pins 2 & 3 at the computer end so I guess cable and machine are OK
If you select "Paper Tape" mode on the Triac then it uses normal X-ON / X-OFF protocol (instead of it's own proprietry ACK/NACK protocol) Maybe you could try this along with the default EDITOR settings (or with Hyperterminal or similar).
If you select "Paper Tape" mode on the Triac then it uses normal X-ON / X-OFF protocol (instead of it's own proprietry ACK/NACK protocol) Maybe you could try this along with the default EDITOR settings (or with Hyperterminal or similar).