Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Simulator for S7
Simulator for S7 [message #1777779] Mon, 04 December 2017 15:39 Go to next message
ermanno porporato is currently offline ermanno porporatoFriend
Messages: 26
Registered: November 2017
Junior Member
Hi

I'm looking for a simulator for the protocol S7 and devices, to use with Kura, thanks a lot for any suggestion..
Re: Simulator for S7 [message #1777860 is a reply to message #1777779] Tue, 05 December 2017 12:45 Go to previous messageGo to next message
Nicola Timeus is currently offline Nicola TimeusFriend
Messages: 17
Registered: May 2017
Junior Member
Hi,
Unfortunately I'm not aware of any open source PLC simulators that support the S7 comm protocol.
If you are familiar with C++ you can use the Snap7 library, which also implements the server part of the protocol. This library allows you to create a simple server application that can be used with the Kura S7 driver.
There is also an example for this use case in the source package.
Or, as an alternative, you can use a commercial PLC simulator.

Regards,
Nicola
Re: Simulator for S7 [message #1777883 is a reply to message #1777860] Tue, 05 December 2017 15:15 Go to previous messageGo to next message
ermanno porporato is currently offline ermanno porporatoFriend
Messages: 26
Registered: November 2017
Junior Member
thanks

in the source package I have found the following:

org.eclipse.kura.drivers.s7plc
org.eclipse.kura.drivers.s7plc.localization
org.eclipse.kura.drivers.s7plc.provider

is right ?

[Updated on: Tue, 05 December 2017 15:16]

Report message to a moderator

Re: Simulator for S7 [message #1777900 is a reply to message #1777883] Tue, 05 December 2017 19:10 Go to previous message
Nicola Timeus is currently offline Nicola TimeusFriend
Messages: 17
Registered: May 2017
Junior Member
I was referring to the Snap7 source package, obtainable from here:
https://sourceforge.net/projects/snap7/files/1.4.2/
You can have a look at snap7-full-1.4.2/examples/cpp/server.cpp.
The library documentation is available at snap7-full-1.4.2/doc/Snap7-refman.pdf
Under snap7-full-1.4.2/examples you can also find examples covering the server part written in other languages.

Regards,
Nicola
Previous Topic:Raspberry pi B, kura, mqtt
Next Topic:MQTT configure application /CONF-V1/PUT
Goto Forum:
  


Current Time: Fri Apr 19 23:26:29 GMT 2024

Powered by FUDForum. Page generated in 0.03372 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top