2/5/2012 5:13 PM | |
Posts: 311 Rating:
|
Hello all, I would like to communicate with my S7-1200 PLC with VBA. Are there any available driver for that ? Cheers Per Olof
|
2/6/2012 1:52 AM | |
Joined: 10/7/2005 Last visit: 3/20/2025 Posts: 3042 Rating:
|
Nothing to odd about this, but an easy source confusionnonetheless. To start with,a 1200 PLC certainly has an Ethernet port, but it supportsnumber of protocols on this port (e.g. Profinet I/O, S7 communications, HTTP, SNMPetc. etc.see HERE for more) Note thateven though Siemens calls this port the PN port this description issomewhat limiting and/ormisleadingand not the best marketing strategy in my opinion. Anyhow, Profinet I/O is one of the supported protocols (Note: As of only as of firmware 2 onwards) and a1200 supports I/O controller functionality (at this moment in time), so you could develop yourVBA application to be aProfinet I/O device. Profinet I/O is also an open standard,device certification is mandatory to ensure compliance with the standard and it is governed by PIwhocan provide you with all the documents and assistance conerning the development (I suggest you'd become a member of PI if you are interested in going down this path). So called "S7 communications" are another protocol that is supported and used for example by Siemens HMI'sto echange data with a 1200 (usage of GET/PUT is for example also based on S7 communication). What happens in the aplication Layer (Layer 7 of OSI/ISO model)inS7 communications ishowever indeed Siemens propietary knowledge. Perhaps worthwhilefor Per Olofto considerdeveloping his VBA application based on OPC and then addSiemens Softnet OPC Server to the mix(it "talks" S7 communication to the 1200 andthen exposes the OPC tags to the VBA application). Food for thought anyhow and I hope this helps |
Last edited by: fritz at: 2/6/2012 7:01 AMfixed incorrect reference to a 1200 being useable as an I(/O)-Device, thanks Ganes10 Cheers |
|
This contribution was helpful to
1 thankful Users |
2/6/2012 6:58 AM | |
Joined: 10/7/2005 Last visit: 3/20/2025 Posts: 3042 Rating:
|
Thanks Ganes10 well spotted and I fearit must have been wishful thinking on my behalf that a 1200 supportsI(/O)-device functionality. I updated my previous entry and I/O Controller functionality seems tobe as good as its gets as far as Profinet functionality is concerned on a1200 (I'm very confident though that I-device functionality as well as Shared device functionality will be added one day soon). |
Cheers |
|
This contribution was helpful to
1 thankful Users |
2/6/2012 7:15 AM | |
Joined: 8/31/2010 Last visit: 2/8/2025 Posts: 1524 Rating:
|
Hello fritz, If you see in the micro automation segment (as for as product portfolio is concerned) it may be a tough decission for Siemens to make S7-1200 as i-Device, i fear in that way. It will be nice if the functionalities which you have cited are availble (even with restrictions / limitations). |
Like it? Rate it! |
|
2/12/2012 8:47 AM | |
Joined: 8/31/2010 Last visit: 2/8/2025 Posts: 1524 Rating:
|
Hello Per Olof, Not sure if this helps u -S7-1200 HyperTerminal TCP Connection
|
Like it? Rate it! |
|
Follow us on