Commit Graph

18 Commits

Author SHA1 Message Date
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
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
abenedykt
e9f87869d5 fixing bug that added IPlc.Read - it should be just Read like before 2014-08-11 16:50:01 +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
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
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
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
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