×
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

Siemens s7-200 PLC & Visual Basic

Siemens s7-200 PLC & Visual Basic

Siemens s7-200 PLC & Visual Basic

(OP)
I'm new to all this so bare with me...

I have a Siemens S7-200 series with a network module up and running and doing what I need it to do.  Now I'm trying to write a Visual Basic program to access some of the memory locations so that I can do some DHTML programming...

I know there is an Alan Bradley plug in for VB that you can purchase to communicate with their PLC's.  I've called Siemens and the only response I get out of them is they don't support Visual Basic.  Does anyone know if there is a way to make Visual Basic talk to a Siemens PLC?

Thanks!

OR

A way to publish some data stored in the memory locations of a Siemens PLC into an HTML file.  I know you can get an internet module, but I'm trying to gather a bunch of information from many PLC's.  I would perfer to stick with VB...

Travis

RE: Siemens s7-200 PLC & Visual Basic

If you're running VB, you're probably running on one of the Windows OSs.  These do not allow direct access to memory as such so I don't know how you're going to access the card via memory.  Are there any I/O ports you can hit?

RE: Siemens s7-200 PLC & Visual Basic

I'm as much of a newbie as the next guy (meaning completely) but I thought you could make S7 write to an excel file....no?

RE: Siemens s7-200 PLC & Visual Basic

Hi,
Of course Siemens don't support VB, it is obsolete!
You don't say which network module you are using, The CP243-IT module already has a webserver onboard, so you can use HTML directly, embedding java applets allows direct access to all the memory and IO images. there is an online demo at http://s7-200.germainesystems.co.uk.
If you are using the CP243 then consider Libnodave, this will also work with the serial ports on the CPU. - I believe that it supports legacy VB too :) it's open source and free at http://libnodave.sourceforge.net/

Regards

Marc Sinclair

RE: Siemens s7-200 PLC & Visual Basic

i HAVE  A PROJECT IN PROTOOL/PRO AND I WISH TO CONFIGURE SOME ALARMS BUT I DON'T KNOW HOW TO MAKE.
CAN SOMEBODY HELP ME?
THANK YOU!

RE: Siemens s7-200 PLC & Visual Basic

My machines run on a pure VB front end using primarily Siemens components from their 840Di, 611U Drives and their servo motors.  I am responsible for all the programming changes.  I am no expert at this point, however, if you tell me what date you are trying to read I can probably get you pretty close to the code you need.

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