Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to communicate with RS485 via Windows?

Status
Not open for further replies.

hrhgroup

Full Member level 3
Joined
Jun 27, 2005
Messages
158
Helped
17
Reputation
34
Reaction score
7
Trophy points
1,298
Activity points
2,139
Dear

I am working on a panel pc(axiomtech panel 2003), it has one rs485 port, I want to know how can I communicate with it through windows? somthing like communication with rs232.

Thanks
 

Re: RS485 and PC

Hi,
If it is appearing as a COM port under Windows, you will be able to communicate through it as a COM port. But you will need a matching RS485 device connected to the port. Also RS485 ports come as 4-wire full duplex or two wire half duplex. What does the user manual of the system say about this port usage? Does it provide any application support for the port?

Regards,
Laktronics
 

    hrhgroup

    Points: 2
    Helpful Answer Positive Rating
Re: RS485 and PC

Dear laktronics

Do you mean that there is a convertor in mainboard that convert rs485 to rs232, and I can handle it as a serial(com) port using function like createfile and so on?

Thanks
 

Re: RS485 and PC

Hi,
RS485 is basically a single ended to differential line driver and is commonly used with RS232. So what I told is one of the possibilities. Strictly speaking I suppose any other serial protocol based hardware can also be terminated on 485 driver, so you need to check up with the user manual of the PC to confirm how it is used in this specific case.

Regards,
Laktronics
 

    hrhgroup

    Points: 2
    Helpful Answer Positive Rating
Re: RS485 and PC

I can handle it as a serial(com) port using function like createfile and so on?

Yes, and all the software that uses COM ports call API functions such as CreateFile, WriteFile etc. I have an unit to communicate with RS232 but it is written in Pascal for Delphi.
 

MAX232 & MAX485

First convert ur data into TTL by using MAX485...Then convert that TTL to RS232 level by using MAX232. Then u can easily interface it with pc.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top