Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I want to access each IP address as comport and how to send the data to rs 485 through ether-net and also receive data from rs485 to ether-net.

What I have tried:

i didn't have any idea about it.
Posted
Updated 13-Apr-16 22:05pm

1 solution

"i didn't have any idea about it."

That's probably because it isn't possible.
IP addresses aren't com ports, and you can't communicate directly with an RS485 device via the internet without a hardware device which acts as an internet device and passes info bidirectionally to the 485 comms link. The two aren't even slightly compatible as far as hardware and signal types are concerned.
And to use a hardware device to do it, you would need to look at the specific device manual (or talk to the manufacturer's technical support people).

If you have a 485 card in you PC, you can connect that to the internet, and write C# code to transfer data between the two, but IP addresses have nothing to do with com ports!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900