Check this Thread as an example for PC to PIC and echoing back to PC.

http://www.picbasic.co.uk/forum/showthread.php?t=573