AdvancedHMI Software

General Category => Open Discussion => Topic started by: aqwsderf on June 21, 2020, 06:06:03 PM

Title: Siemens S7 driver
Post by: aqwsderf on June 21, 2020, 06:06:03 PM
Hi All
I'm looking for Siemens S7 driver for communication with 1200/1500 CPU in a similar way as for AB CLX. I've found many old topics related to such kind of driver (https://www.advancedhmi.com/forum/index.php?topic=2605.0 for example), but I've not found binaries or sources here.

Could anyone help me sort out with it issue?

Thanks in advance!
Title: Re: Siemens S7 driver
Post by: Godra on June 23, 2020, 04:04:23 PM
Maybe check reply #9 in this topic:

https://www.advancedhmi.com/forum/index.php?topic=2489.0

Title: Re: Siemens S7 driver
Post by: ScottM on January 31, 2023, 09:49:45 AM
I use the attached driver with great success in my plant with over 50 S7-300 PLCs, So far only for machine interface and data acquisition but it seems very stable. I have not tested with a 1200 yet but I will be soon and post my findings.

(Not My Driver, I found it in the forums) If this is not allowed please feel free to delete.
Title: Re: Siemens S7 driver
Post by: Archie on March 23, 2023, 02:15:49 PM
I use the attached driver with great success in my plant with over 50 S7-300 PLCs, So far only for machine interface and data acquisition but it seems very stable. I have not tested with a 1200 yet but I will be soon and post my findings.

(Not My Driver, I found it in the forums) If this is not allowed please feel free to delete.
I see this driver is a wrapper for the Snap7 driver. Looks like a good job was done on the wrapper code. For anyone wanting to try this Siemens driver, here are the steps:

- Download and extract the 3 files
- Open the AdvancedHMI solution in VS
- In Solution Explorer expand down the AdvancedHMDrivers project
- Right click the Support folder and select Add Existing Items
- Browse to the 3 extracted files
- Change the file type filter to All Files
- Select the 2 DLL files
- With the 2 DLL files now in the Support folder, select each one by clicking once on it, then in the Properties set "Copy if Newer"

- Right click the AdvancedHMIDrivers project and Select Add Existing Item
- Browse to and select the SiemensCom.vb file

- Right click the AdvancedHMIDrivers project and Select Add References
- Browse to and select Snap7.net.dll
Title: Re: Siemens S7 driver
Post by: lpou on April 07, 2023, 05:02:00 PM
I have to work with siemens s7-1500, what is the best easy and reliable way to do it with adhmi, and if possible?.
Title: Re: Siemens S7 driver
Post by: bachphi on April 07, 2023, 10:12:03 PM
I have to work with siemens s7-1500, what is the best easy and reliable way to do it with adhmi, and if possible?.
I think following Archie's steps is the easiest way. Any chance you can show us your way if that is possible.