Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Siemens s7-200 PLC & Visual Basic

Status
Not open for further replies.

ChickenEngineer

Mechanical
Feb 17, 2005
10
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
 
Replies continue below

Recommended for you

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?
 
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?
 
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 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
Regards

Marc Sinclair
 
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!
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor