5-4
Serial ports
6000 Series user’s manual
Method 3
1. Run SETUP to enable the “COM1 as console” option.
2. Use the PRINTS, PRINTSL, KEYHIT$, INKEY2$ commands as found
in the DEMO.BAS and DSQBTEST.BAS programs (included on the PC
Microcontroller utility disk). Unformatted string output and string
input must be done manually.
Note
Programs written in this manner will also work with a video card
present and therefore systems can be “debugged” on your PC.
Method 4
1. Use an off-the-shelf communications library.
2. This may require restoring the COM1 parameters similar to Method 2,
if the console video is expected after the QuickBASIC program termi-
nates.
Method 5
1. Use COM2 instead of COM1. This is similar to Method 1, but you will
still get the system displays over COM1.
Using Turbo C
If you need to restore the serial parameters after executing a C pro-
gram, refer to the file COMTEST.CPP. This file can be downloaded
from the Octagon Bulletin Board at (303) 427-5368 using 14400 baud, 8
data bits, no parity, and 1 stop bit.
≡
COM2
Operation
There are two modes of operations for COM2:
n
PC mode
n
Network mode
The “N” position at W1 distinguishes the COM2 mode on powerup. PC
mode (“N” position at W1 jumpered, default) configures COM2 as a
standard RS-232 port. Network mode (“N” position at W1 not
jumpered) configures COM2 to communicate at 38.4 KB, respond to
Optomux type commands, respond to Octagon commands, and
automatically perform network housekeeping functions.
Summary of Contents for 6000 Series
Page 7: ...Notice to user PC 500 user s manual ...
Page 9: ...About this manual 6000 Series user s manual ...
Page 37: ...2 20 Quick start 6000 Series user s manual ...
Page 65: ...5 16 Serial ports 6000 Series user s manual ...
Page 87: ...6 22 EZ I O 6000 Series user s manual ...
Page 103: ...8 8 Analog I O 6000 Series user s manual ...
Page 119: ...14 2 PC 104 expansion 6000 Series user s manual ...
Page 133: ...16 4 Watchdog timer reset and remote reset 6000 Series user s manual ...
Page 139: ...17 6 Serial EEPROM 6000 Series user s manual ...
Page 157: ...21 2 Software utilities 6000 Series user s manual ...
Page 161: ...22 4 Troubleshooting 6000 Series user s manual ...
Page 177: ...A 16 6010 technical data 6000 Series user s manual ...
Page 215: ...D 16 6040 technical data 6000 Series user s manual ...
Page 229: ...F 2 Miscellaneous 6000 Series user s manual ...