Commit Graph

36 Commits

Author SHA1 Message Date
Michele Cattafesta
051247feb3 Added original license file and updated Readme.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2015-02-02 22:44:39 +01:00
Michele Cattafesta
145842e49e Added exception message on general communication exception.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2015-02-02 22:44:19 +01:00
Michele Cattafesta
34f304179f Fixes a problem that prevented to run unit tests on a pc without Step7 installed.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2015-02-02 22:44:05 +01:00
Derek Heiser
d7bea9cfda Merge pull request #18 from mesta1/master
Bug fix, unit tests and new feature addition.
2014-12-28 17:02:36 -06:00
Michele Cattafesta
70c6dbbd9c Update readme.md.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:47:49 +01:00
Michele Cattafesta
968639aea9 Added a new feature: Read and Write class.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:43:52 +01:00
Michele Cattafesta
8d5d8d8709 Removed warning for exception not in use.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:42:53 +01:00
Michele Cattafesta
5c8f6de667 Fixes a bug that couldn't write correctly negative values when writing short or int.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:42:29 +01:00
Michele Cattafesta
424a01bf07 [Breaking change]: DBW and DBD now returns unsigned short and unsigned int. This because the conversion that was used previously was loosing both negative values and values over maximum of int.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:40:06 +01:00
Michele Cattafesta
d1162480a7 Fixes a bug that couldn't read a single bit, for example M0.0.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:38:01 +01:00
Michele Cattafesta
31b38754e2 Fix an error that made impossible to read negative values when reading a struct.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:35:54 +01:00
Michele Cattafesta
c94971584a Added new converters to convert from Siemens types to C# types.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:35:12 +01:00
Michele Cattafesta
db13fc2f10 Updated .gitignore.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:33:07 +01:00
Michele Cattafesta
73437f9ea3 Added Unit Tests.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:31:52 +01:00
Michele Cattafesta
fc5429b703 Removed empty project.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:31:36 +01:00
Derek Heiser
a470073d4c Merge pull request #14 from abenedykt/master
Fixed bug in IPlc.Read as well as reset IsConnected on socketconnection.
2014-08-29 13:03:45 -05:00
abenedykt
8df88f86b3 Merge branch 'master' of github.com:abenedykt/s7netplus
Conflicts:
	S7.Net/PLC.cs
2014-08-11 16:51:47 +02:00
abenedykt
e9f87869d5 fixing bug that added IPlc.Read - it should be just Read like before 2014-08-11 16:50:01 +02:00
abenedykt
72891aae5f fixing bug that added IPlc.Read - it should be just Read like before 2014-08-11 16:44:00 +02:00
abenedykt
9e370959f1 fixed reseting IsConnected on socket exception that indicated that
something went wrong with the network
2014-08-11 10:16:19 +02:00
Derek Heiser
dbcbfb6cdc Merge pull request #12 from abenedykt/master
Fixing reading bools. Various namespacing issues resolved.
2014-08-09 11:08:40 -05:00
abenedykt
f5f31716c8 fixing reading negative int (DBW)
fixed reading negative dint (DBD)
2014-08-08 22:24:01 +02:00
abenedykt
eb2d900292 fixed reading bool flags 2014-08-08 22:02:10 +02:00
abenedykt
be610d1251 added ncrunch files to gitignore 2014-08-08 21:00:18 +02:00
abenedykt
452cb40bd3 fixing namespaces to c# style of coding 2014-08-08 20:56:26 +02:00
abenedykt
084ee2fd4e added StatusCode and ErrorCode to IPlc interface 2014-08-08 20:56:00 +02:00
Derek
3d0f4b649d Made some code beautification changes and translations from German 2013-03-07 09:14:20 -06:00
Derek
009a690759 Minor beautification tweaks and additional README info. 2013-03-04 11:26:35 -06:00
killnine
c7aafdf06a Update README.md 2013-03-04 08:27:18 -06:00
Derek Heiser
abcbff259c Removed some helper extensions.
Some of the helpers I added already existed under the Type namespaces.
2013-02-10 21:49:53 -06:00
Derek Heiser
d6b96788ca Updated README typo 2013-02-09 10:22:25 -06:00
Derek Heiser
e65c0eed25 S7.NET Testability Updates
Removed the Controls project and existing Test projects. Added new Test
project and references to NUnit and Should projects for testing.
Extracted IPlc interface to help test projects that reference this
library. Also implemented the IDisposable interface on the Plc object so
that references to mSocket would be cleaned up appropriately when the
object is blown away.
2013-02-09 10:17:47 -06:00
Derek Heiser
03e3c8abc3 Updated .gitignore
Got rid of .user and .suo extensions within the project.
2013-02-09 10:12:35 -06:00
Derek Heiser
41779ea399 Added .gitignore file
Gotta get rid of all these extra directories!
2013-02-09 10:10:38 -06:00
Derek Heiser
d87948ec33 Updated README
Added project description and links to project originator on CodePlex.
2013-02-09 10:04:27 -06:00
killnine
041a7785ca Initial commit 2013-02-08 13:00:56 -08:00