Computer Engineers

 
Home | Computer engineering other top | Fiber / Wireless / Copper Tran | Semiconductor engineering
  Position:HOME>Programming language engineeri>Article Content
Siemens s7-200 PLC & Visual Basic
Source:Internet Author:Unknow Pubdate:2008-04-14  
ChickenEngineer (Mechanical) 8 Mar 06 16: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

字串4



xwb (Computer) 9 Mar 06 11:09
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?

FrieditAgain (Electrical) 6 Jun 06 14:47
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?

MarcSinclair (Industrial) 10 Jun 06 21:39
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.
字串2

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

IONESCU (Industrial) 1 Nov 06 8:37
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!

EEMama (Electrical) 15 Dec 06 22:23
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. 字串8


(Click:

Previous:Can BACKUP to CD under DOS 6.22 ?   Next:3D Graphics
[Add TO Favorites] [TOP] [PRINT] [CLOCE WINDOWS]  
  Hot Article
·PIC code for triac light dimme
·Connecting a Footswitch to an
·TETRIS source code is availabl
·XML Files and Terramodel
·controlling GPIB from VBA
·LINKING MSC PATRAN WITH INTRAN
·How to interface RS-485 / Modb
·VBA WITH AB PLC
·SIEMENS: I/O, NCDDE AND DCTL
·getch() function
·Visual Basic Serial Comms To S
·Symax PLC
  Related Articles
·3D Graphics
·visual basic 6 MSComm receive
·Why is Ada not gaining ground
·Serial Comms
·Kalman filter
·Is the programming important t
·programming language functiona
·OGL 32 bit textures?
·3by3 Newton-Raphson Method
·Matlab Linux shell commands
·problem with matlab
·Control chart with multiple sa
Power by DedeCms