CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

RS232 communication

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ivan_ult



Joined: 29 Oct 2008
Posts: 7

View user's profile Send private message

RS232 communication
PostPosted: Fri Oct 31, 2008 4:06 pm     Reply with quote

Hi everyone, I've done a simple circuit and program for communicate 3 serial devices (successfully) I've tested with 3 terminal connections sessions and works, however I can't communicate this circuit with a specific machine (I don't know if you guy are familiarized with UIC Radials Inserters Machines, actually 14 years old).

My doubt is that when I communicate with hyperterminal, if I type a character in one of the ports the PIC writes to the other 2, and in the hyperterminal window I don't see the character in the sender window just in the receptors, so when I connect my PC directly with this machine (radial) I can see the characters I'm writing, in fact the machine session show me a prompt.

I don't know if those are different types of communication and its necessary to do something different.

Part of the code:
Code:

   if (kbhit(INSERTER))
      {
      INS_DATA=fgetc(INSERTER);
      fputc(INS_DATA,PC);
      fputc(INS_DATA,ETHERNET_SERIAL);
      fputc(INS_DATA,NEW);
      }

Thanks

Ivan.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group