C# - Interfacing .NET With Siemens PLC S7 200
Jul 25, 2011
I'm trying to interface .NET (C# or VB doesn't matter) with a Siemens PLC S7 200. I can't however get a connection set up. I'm working on a Win7 64bit machine but can't seem to get it working on 32bit either. I got two files:
Interop.OPCSiemensDAAutomation.dll
Siemens_s7-200.dll
From another project which I'm trying to migrate to a newer system. However I get a com exception all the time.
Retrieving the COM class factory for component with CLSID {01704EBD- 4B5-11D3-9C09-00105A3DD3AC} failed due to the following error: 80040154.
I've already tried libnodave and can't seem to get that working either.
I couldn't get Siemens PC-Access to install on this machine, will try on a WinXP 32bit later. I read something about I need an OPC server or something on the machine?
View 3 Replies
ADVERTISEMENT
Mar 23, 2011
I have a small windows app in vb.net, which reads the file header from the database of table header,I need help to allow it to compare the header of any given file to be read using BinaryReader and then compare the value with the table containing the header's of all filetype's now, i am stuck as how do i create the link between the table to be compared against the selected file. i have two tables currently username, and password only which is for validation?
View 2 Replies
Apr 8, 2011
I have a 64-bit project(which has to be 64-bit as it is an Outlook 2010/64 bit addin) that needs to interface with another Dll of mine, whose job it is to scrape file metadata out of files using the windows Shell32 dll. Now, as you may of guessed, this is posing compatibility problems as I am crossing that 64/32 bit boundary.
I read an article (ok skimmed it, whatever) and from what I understand, it suggested that I use COM as an intermediary and to bridge this gap. So, My question is, can I build a shim DLL in say VB6 (i know, i know) that would act as my com reference and pass the calls on to my 32-bit dll from my 64-bit addin?
Do I create a VB6 COM Dll, reference my .NET assembly and pass all Public functions out via a similar interface, then reference the VB6 dll in my 64-bit addin? is it just that easy?
View 1 Replies
Apr 7, 2011
I am working on a project I need to connect a USB camera but there is no com port No. on Device Manager the problem i know how to use camera on a serial port but USB ....i don't?
View 3 Replies
Jan 21, 2009
I am trying to interface with a Sylvac Gage over the Serial Port, but I can not get read any information sent by the gage.I am using the IO.Ports.SerialPort Object (called serialPort), and I can successfully write to the device. I can tell it to turn off by: serialPort.Write("off" & vbCrLf)But I can't seem to get any information back from the Gauge when I ask it to send information serialPort.Write("?" & vbCrLf)
[Code]...
View 2 Replies
Jun 13, 2010
Is it possible to make a virtual interface represents the value of an input? For example, if we have a program shows the level of a liquid in a tank and we want to represent the level virtually: as the calculated value of the level increases, the level (and color) filled in the tank shown, increases as well. Example: If the value is 100, the tank ( a rectangular ) will be shown full and green. If it is 0, will be shown empty and red.
View 1 Replies
Oct 17, 2011
im doing a school project, which is to create an interfacing software for the micromouse. one of the task is to list all the calibrated values in the mouse from hyperterminal to the "textbox"s in my vb program. In the hyperterminal, normally when i pressed "3" and "enter", it will wonderfully display all the values that are calibrated in the mouse. But when i try to list values from a button i programmed in VB, only 1 or 2 values are shown.... why? this are the codes for the button to list value
[Code]...
View 3 Replies
Aug 16, 2009
i'm developing a vb application and am intending to offer the functionality of that application on the internet as a service , how do i do that?
View 5 Replies
Jun 22, 2010
I am trying to set up visual basic to work with the wireless usb device below:
[url]
The link contains drivers and support docs. Could someone help steer me in the right direction on how to go about performing something like this?
View 2 Replies
Jun 10, 2012
I'm doing this project with Visual Basic , where in I have an external prototype that needs to transmit data , We will be using a serial to USB cable. I need to build a PC based program in VB that will get the data being thrown by the microcontroller(the project is chess tracking, and we need to get the data tracked.) How will I start the program?
View 10 Replies
Aug 29, 2009
Introduction: Probably a year or more ago I asked if was possible to use the Mathematical functions in Windows Calculator or use any DLL file it may use without a satisfactory answer. As I require the greater accuracy of Windows Calculator in String format. Would it be easy to keep switching between a Vb.Net Form windows based application and Windows Calculator and, using SendKeys, get results back to a Vb.Net application using Copy & Paste via the clipboard but to do this in an automatic fashion at all please?
What I am particularly interested in is getting Log10 or LogN results and also doing ARC or INVerse LOG10 or INVerse LogN calculations. But I require the greater accuracy of windows Calculator. Additionally, would it be possible to assign a keyboard keymap to each key in Windows Calculator so that, for example, the L key would be assigned to clicking the LOG10 button, ALT for the Hyp checkbox, SHIFT for the INV checkbox and so on?So imagine sending key sequences to Windows Calculator to completely automate it. And Windows Calculator has been updated too in WINDOWS 7, would that make it any easier to work with?
View 6 Replies
Jan 14, 2010
i m working on a project which involves webcam interfacing .i need it interface a webcam using visual basic express edition 2008, collect the images and use it for further processing..
View 6 Replies