Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Remoting parallel data over LAN

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> EASY TCP/IP
View previous topic :: View next topic  
Author Message
syndetic1

Bascom Member



Joined: 02 Jan 2007
Posts: 42

blank.gif
PostPosted: Thu Jan 03, 2008 10:42 am    Post subject: Remoting parallel data over LAN Reply with quote

I have an application where I want to take 8 data bits into a microcontroller at one location and send them over a LAN to another location and present them as 8 relay outputs at a second location.

Can the Easy TCP/IP board do this?

Any examples of software that would help me along the way?

Thanks in Advance
Back to top
View user's profile
Arera

Bascom Member



Joined: 23 Sep 2007
Posts: 375
Location: Wuppertal, Germany

germany.gif
PostPosted: Sat Jan 05, 2008 1:21 pm    Post subject: Reply with quote

Hi,
yes, Easy TCP/IP can do that. But you will need some knowledge and experience in the world of bits and bytes to get it working. May I ask you how much experience you have? Your question about the "parallel" transmission of 8 bits seems a little "unexperienced" to me.
I can give you an example Proggi, but itīs of no use for you, when you donīt know the basics, Iīm afraid.
I suggest you to start your project by building an 8-Bit remote control, using the serial transmission (UART). The next step will be to replace serial transmission by TCP/IP.

Develop your system step by step and ask a lot of detailed questions here in the forum!
Have fun!
Back to top
View user's profile
syndetic1

Bascom Member



Joined: 02 Jan 2007
Posts: 42

blank.gif
PostPosted: Tue Jan 08, 2008 2:21 am    Post subject: Reply with quote

Hi Arera,

I think I have the basics in hand. I can do this function over RS485. RS485, as you no doubt know is a 2 wire half duplex serial interface.

The advantage of doing it across the LAN is that most buildings have LAN everywhere whereas with RS485, I would have to run dedicated wiring.

I used the word parallel because I was going to read a port (8 bits) and send them across the LAN. Of course they get sent serially but they are read in in one go - ie in parallel.

Any help with the Easy TCP/IP would be appreciated as I have very limited experience with TCPIP. For a start, which protocol would Easy TCPIP use to send these messages?

Thanks
Back to top
View user's profile
Arera

Bascom Member



Joined: 23 Sep 2007
Posts: 375
Location: Wuppertal, Germany

germany.gif
PostPosted: Tue Jan 08, 2008 12:29 pm    Post subject: Reply with quote

Evil or Very Mad I spend over an hour to almost write a book how to use TCP/IP.
When I submitted, I was forced to log in again (timeout?), and alll my text was gone Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad

What you need to buy: MCS 7010A whith addon: assembled an tested.
Easy TCP IP mainboard.

Donīcare about the TCP/IP protocol, all you need to know is how to use the SOCKETS.

Once a connetion is established, you can sen and receive ASCII strings, thats easy!

Most important is to care about the status of the socket!

To see how that works try this progie (read all the dokumentation carefully!)
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> EASY TCP/IP All times are GMT + 1 Hour
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
You cannot attach files in this forum
You cannot download files in this forum