07-05-2006 07:31 AM
07-06-2006 10:51 AM
At my last employer, we did all sorts of network testing. We used Cisco RS-232 terminal servers to control a lot of hardware remotely and they worked quite well. Basically, the terminal server is a telnet server that you can connect to which passes the data traffic between the RS-232 device and your PC. The servers we used were 1U 19" rack-mount devices with 12 or 24 RS-232 ports. Each device port had it's own IP address associated with it so to connect to a given device, you simply opened a telnet session to the associated IP address.
So I think that your plan is pretty sound as long as you can connect to the RS-485 server device with the right protocol. Most of these things use telnet so you need access to a telnet library and an understanding of the device's commands and responses. If you are using a recent version of Labwindows/CVI or Labview, I believe you are covered on the telnet library. If you have another development environment, you may have to go find a library. I do recommend using a third party library if you don't already have one as the telnet protocol is pretty complicated and you would spend a lot of time implementing it.
07-06-2006 10:56 AM
07-07-2006
08:30 AM
- last edited on
06-03-2024
09:33 AM
by
Content Cleaner
Hello Terk,
National Instruments also offers a line of Ethernet connected RS-485 ports, which you can find at this link. This are a bit different that the solution previously described, in that they will appear as typical COM ports on your computers rather than a telnet server. The one caveat is that each RS485 port can only be used by one network user at a time, so the port may not be available when you try opening it. I am guessing that this would be the case with the terminal server solution previously mentioned as well.
If you need many computers to access the same sensors simultaneously, you will probably need to read the sensors from one computer, then use that computer to publich the information on the network. This takes care of the issue that a port can only be used by one computer at a time.
As far as connecting all of your sensors to one RS485 port, this is really dependant on the sensors themselves, and whether they implement some form of multidrop protocol to allow you to communicate with them on the same RS485 bus.
Good luck!
Jason S.
National Instruments
07-19-2006 10:30 AM
How do I find out the address on my umc800. I am having a lot of trouble getting anything to communicate with it and I have no idea how to find the address for it. Also, I have a 4-port rs485 to ethernet connection that I am trying to use and thus far I can't get any of my devices to respond back to the router. Any thoughts? All the terminator resistors are in there on both sides of the lines, even though some of the lines are only 5 feet long.
thanks,
Terk
07-20-2006 07:33 AM