Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to link data from PLC???? 1

Status
Not open for further replies.

common

Mechanical
Nov 9, 2002
6
I want to do a small size SCADA to communicate with PLC tought COM port by using VB. How to write the program in order to get the data from PLC by some scanning interval time.
 
Replies continue below

Recommended for you

I don't know why anyone woulf use PLC for robotics. PLC was
designed to facilitate relay logic which is 40 years behind
robotics.

<nbucska@pcperipherals.com>
 
But it's simple and if you dont need very high speed and/or precision the job can be done with minimal mess and low cost also. By the way what tools You suggest for jobs like this?
 
You need a DDE/OLE server to provide data to application. These range from $99 to $300. I like DSDDE from automationdirect. Using VB, it's fairly straightforward to connect to server and communicate your information. VB has many data-aware controls that will draw info from server readily. Writing to the server is fairly easy as well. Get the DSDDE from for about $150 and you're in business.
 
What kind of a PLC?

I have done a sample example using VB and Allen Bradley if that is relevant. Let us know what kind of PLC.

Chris Elston
Automation & Controls Engineer
Download Sample PLC Ladder Logic Code
at MrPLC.com
 
You can find many good examples in the material that comes with automationDirect's DSDDE server!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor