Page 1 of 1

How do I change which COM ports my DOS machine software uses

Posted: Wed 01 Mar , 2006 11:21 am
by Mr Magoo
How do I change which COM ports my DOS machine software uses?

My software is currently configured to run with the Desk Top Tutor connected to COM1 and the Machine connected to COM2 but I want to swap them arround

Take a look in the .GO file...

Posted: Wed 01 Mar , 2006 11:38 am
by Mr Magoo
DOS based machine software uses it's ".GO" file to specify which COM port to use. This is a text file and can be edited using windows Notepad or similar

(The actual filename will depend on the model of your machine - eg Novaturn uses filename FLSTEP.GO, TriacPC uses FANUCMD.GO etc)

Here is an example TriacPC ".GO" file (called FANUCMD.GO)...

IBM.RS2 1
$2F8 3 MACHINE
DENFORD1.KBD 1
18.2 $3F8 4
VGA.CRT 0
FANUCMD.APP

The line reading "$2F8 3 MACHINE" specifies the COM port the machine uses
The line reading "18.2 $3F8 4" specifies the COM port the Tutor keypad uses

Infact the 2 values following the $ sign represent the address and interupt (or IRQ) of the COM port.

On an IBM compatible PC these values are...

COM1= $3F8 4
COM2= $2F8 3
COM3= $3E8 4
COM4= $2E8 3

So to change the example GO file shown above so the machine works on COM 1 and the tutor works on COM2, we change it to read...


IBM.RS2 1
$3F8 4 MACHINE
DENFORD1.KBD 1
18.2 $2F8 3
VGA.CRT 0
FANUCMD.APP