home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / misc / 18782 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.1 KB

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