×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to link VB with PLC????

How to link VB with PLC????

How to link VB with PLC????

(OP)
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.

RE: How to link VB with PLC????

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  

RE: How to link VB with PLC????

(OP)
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.

RE: How to link VB with PLC????

Why not use a timer to cause an event to triger your read funtion?

RE: How to link VB with PLC????

(OP)
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.

RE: How to link VB with PLC????

Macbeth has it right. You need a timer to trigger a serial port read function.

best regards, plcsavvy

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources