![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
|
S7.Net
Hi guys!
Has anybody tried the S7.Net library available at http://s7net.codeplex.com/? Any experience, issues, reviews, anything is welcomed… ![]() Best Regards // Edmund |
![]() |
![]() |
#2 |
Member
![]() ![]() Join Date: Oct 2010
Location: Milton keynes
Posts: 9
|
Not sure about that.
had a quick look. But will have to have a further look into it later, as I am stuck at work. Looks interesting and worth a second look ![]() |
![]() |
![]() |
#3 | |
Member
|
Quote:
It would be great not having to implement a OPC server when just having to read/write some values to/from a pc application (smaller apps, like some data exchange with a ERP or something)… |
|
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: May 2002
Location: Orangeburg, SC
Posts: 1,941
|
libnodave includes a .NET wrapper for reading/writing to the S7 series
__________________
Expectations lead to disappointment. Appreciation leads to satisfaction. AdvancedHMI - HMI Software without the license key hassles |
![]() |
![]() |
#5 |
Member
|
|
![]() |
![]() |
#6 |
Member
![]() ![]() Join Date: Feb 2005
Location: Manchester
Posts: 1,720
|
Probably won't matter to you, but when I was researching Siemens drivers for Advanced HMI I couldn't see that S7.net would work with the S7-200 range.
Post here if you have any simple questions about libnodave on a .Net system. |
![]() |
![]() |
#7 |
Member
![]() ![]() Join Date: Apr 2009
Location: Ger
Posts: 485
|
You really can't compare libnodave and S7net.
S7net has only functions to read and write PLC variables over ethernet. With libnodave you could also do other things like plc time system, down- and uploading of program blocks, support of many different interfaces like MPI/Profibus with S7online, different programming adapters etc. Then S7net has some special things you need to know: - It uses only the lowest possible PDU size (number of bytes you can read in one telegram). Normally this is negotiated when connecting to an S7 - Doesn't support reading/writing more than one data area in one telegram And for me the main reason not to use it: - It has no real bit-write function. If you write a bitaddress with s7net, it reads the complete byte out of the PLC, sets or resets the relevant bit and writes the whole byte back to the PLC. If during this the PLC programm sets another bit in this byte, this will be overwritten by S7net. The S7 has real bit-write functions, and libnodave uses them. |
![]() |
![]() |
#8 | |
Member
|
Quote:
Best Regards Edmund |
|
![]() |
![]() |
#9 | |
Member
![]() ![]() Join Date: Feb 2005
Location: Manchester
Posts: 1,720
|
Quote:
|
|
![]() |
![]() |
#10 | |
Member
|
Quote:
|
|
![]() |
![]() |
#11 |
Member
![]() ![]() Join Date: Feb 2005
Location: Manchester
Posts: 1,720
|
Have you looked at using your system to provide drivers for Archies AdvancedHMI.
http://www.plctalk.net/qanda/showthread.php?t=42656 At the moment we have Archie developing software that is of limited use without drivers, and you developing drivers that are of limited use unless they have something to drive. It ends up with a Muppet like me who has never programmed in .Net trying to join two ends together. |
![]() |
![]() |
#12 | |
Member
|
Quote:
The reason I want to use the S7.Net is that I´m about to develop a iOS (iPhone / iPad) project in C# (ported with the MonoTouch Project to native Object-C code) for a custumer... I have seen some demonstration with the AdvancedHMI, but I have never tried it... But I´ll will give it a try some day... |
|
![]() |
![]() |
#13 |
Member
![]() ![]() Join Date: Apr 2013
Location: singapore
Posts: 1
|
S7.net
Hi ,
Any one can help me on this query. I want to read the DBX value which return bit. case"DBX": mByte = dbIndex; mBit = int.Parse(strings[2]); if (mBit > 7) thrownewException(); objBoolArray = (bool[])Read(DataType.DataBlock, mDB, mByte, VarType.Bit, 1); return objBoolArray[mBit]; i can not find VarType.Bit in the Read method.Because of this it always returns null to me Please help me , how o read this value. |
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|