I received the following PM:
Thanks for the quick answer Steve. I brought home a few Fanuc manuals last weekend, but quite frankly, all of the part numbers began to blur. Do you know as a site to see examples of their basic language?
M Dooley
And my response:
For a 90-70, the part number is IC697PCM711. It supports a memory expansion card, but for a small program you probably won't need one. The manual for the module is GFK-0255*, for the MegaBasic language, its GFK-0256*, with the last character being the revision level. You can download them from the GE Fanuc website. I don't know of any examples of MegaBasic programs other than the manuals.
If it will help, I can send you a listing of a program I wrote to monitor activity on the serial port, retrieve any data that comes in, extract numeric information from the string, and write it to PLC registers.
BTW, I prefer to keep discussion on the forum so that as many people as possible can participate.