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 VB with 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 serial COM port by using VB. How to write the VB program in order to get the data from PLC by some scanning interval time.
 
Replies continue below

Recommended for you

What manufacturer's PLC are you using? What is your level of competence with VB. If you are using an allen bradley SLC 500 PLC, then you can use an activex control from comsolitech corporation. This free Activex control will allow you to communicate with the plc and read from or write to any registers. You can do some amazing things with VB including automating, excel, Word, Access, and Outlook Express to name a few. You must have a good knowledge of Visual Basic, before attempting such a project.

best of luck, plcsavvy
 
thanks PLCSAVVY,
The PLC i use to link with VB is OMRON. Actually i done the VB program to communicate with the omron PLC already. The only problem i faced is i can't catch the data by some timing. ( I means may be 2 second to read the data one time). I only can send and receive the data by the manually button which create myself.
 
Why not use a timer to cause an event to triger your read funtion?
 
Actually I want to do a very simple SCADA to monitoring the PLC data. Any VB source code as example??? I m not very good in VB programming.
 
Macbeth has it right. You need a timer to trigger a serial port read function.

best regards, plcsavvy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor