View previous topic :: View next topic |
Author |
Message |
syndetic1
Joined: 02 Jan 2007 Posts: 76
|
Posted: Thu Jan 03, 2008 10:42 am Post subject: Remoting parallel data over LAN |
|
|
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 |
|
|
Arera
Joined: 23 Sep 2007 Posts: 386 Location: Wuppertal, Germany
|
Posted: Sat Jan 05, 2008 1:21 pm Post subject: |
|
|
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 |
|
|
syndetic1
Joined: 02 Jan 2007 Posts: 76
|
Posted: Tue Jan 08, 2008 2:21 am Post subject: |
|
|
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 |
|
|
Arera
Joined: 23 Sep 2007 Posts: 386 Location: Wuppertal, Germany
|
Posted: Tue Jan 08, 2008 12:29 pm Post subject: |
|
|
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
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 |
|
|
|