Solved

RS-485 communication with delphi 5

Posted on 2001-06-18
4
874 Views
Last Modified: 2010-04-06
My project is to print to 3 ink jet printers, which are connected to RS-485 network. Do you know any suitable components to use with delphi 5. I would also be grateful for any example code.
0
Comment
Question by:sahkofinne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 5

Expert Comment

by:TheNeil
ID: 6205435
Are the printers installed in Windows (sorry but networks aren't my thing)? If they are then you should be able to simply send the document to each of the printers installed by using the PrinterIndex property of TPrinter

FOR iCount := 0 TO (Printers.Count -1)
DO
BEGIN
  PrinterIndex := iCount;
  //Print the document
END;

The Neil =:)
0
 

Author Comment

by:sahkofinne
ID: 6205526
The printers are not istalled in windows.
They are special ink jet printers which prints article number to products, which are made in production line.
Each printer prints different article id.
I shoud send new data to all printers about every second.

I have done this before with RS-232 (one printer) interface but I don't know how to use RS-485 interface?

0
 
LVL 8

Accepted Solution

by:
TOndrej earned 100 total points
ID: 6207348
Go to http://www.rs-485.com/software.htm and download RS-485 driver and source code example in C. You can also find RS-485 specs on that site.
HTH,
TOndrej
0
 
LVL 3

Expert Comment

by:sburck
ID: 6223687
I find the easiest thing to do with RS-485 to PC connections is to buy a cheap 485/232 adapter, and access them via RS232.  This is an easy way to go, especially if you don't need multipoint or long distances.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question