home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.amiga.misc:18782 comp.sys.amiga.programmer:17546
- Newsgroups: comp.sys.amiga.misc,comp.sys.amiga.programmer
- Path: sparky!uunet!spool.mu.edu!caen!batcomputer!cornell!rochester!rit!isc-newsserver!dcr3567
- From: dcr3567@ultb.isc.rit.edu (D.C. Richardson)
- Subject: Programming PC/Amiga serial ports
- Message-ID: <1992Dec18.211744.27669@ultb.isc.rit.edu>
- Originator: dcr3567@ultb
- Sender: news@ultb.isc.rit.edu (USENET News System)
- Nntp-Posting-Host: ultb-gw.isc.rit.edu
- Reply-To: dcr3567@ultb.rit.edu ()
- Organization: Rochester Institute of Technology
- Date: Fri, 18 Dec 1992 21:17:44 GMT
- Lines: 38
-
-
- Howdy Net_Folk,
-
- I'm currently working on a project that will connect an IBM PS/2 mod 80
- to a Unimate PUMA robot controller. This project consists of replacing
- the controllers' aging floppy disk drive with the mass storage of the PC.
-
- For it to work, the controller sends out data at 2400,n,8,1 to the disk
- drive. I.E: To write, the controller sends an 01 W 04, the floppy responds
- with a Ctrl-p, the controller sends a 01 <filename> 04, floppy sends ctrl-p,
- then the controller sends data, in 256 byte blocks, with a checksum, to the
- floppy.
-
- Easy, eh? It's all quite well documnted, too.
-
- The problem comes in here: I can't seem to find a reference for the PC that
- will explain in more than 6 lines how to access the COM1: port. I have
- only been successful in opening the port, trapping I/O, and telling
- the user at the PC that data is incoming. I have not been able to
- read or print that data.
-
- I think what is happening is that the PC is expecting a CR/LF, which the
- controller isn't sending (never does).
-
- I'm currently working in QBasic (it's easiest), but have at my disposal
- Micorsoft C 6.0, QuickC for Windows, ProComm For windows & UltraCom[?]
- (For their inherent Serial & scripting abilities), as well as my own
- Amiga 4000 (for Arexx and/or VLT use).
-
- This is for an independent study robotics course I'm taking. Let it be
- known that its been a few years since I've delved into Turbo Pascal,
- know miniscule C, and hate PC's I/O functions...
-
- - - - - H E L P ! ! ! - - - -
- Thanks,
- Daniel Richardson
- RIT - Robotics/Mechanical Engineering
-
-