Author Topic: Siemens S7 driver  (Read 2595 times)

aqwsderf

  • Newbie
  • *
  • Posts: 1
    • View Profile
Siemens S7 driver
« 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!

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: Siemens S7 driver
« Reply #1 on: June 23, 2020, 04:04:23 PM »

ScottM

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Siemens S7 driver
« Reply #2 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.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Siemens S7 driver
« Reply #3 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

lpou

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Siemens S7 driver
« Reply #4 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?.

bachphi

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Siemens S7 driver
« Reply #5 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.
« Last Edit: April 07, 2023, 10:14:30 PM by bachphi »
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================