Commit Graph

98 Commits

Author SHA1 Message Date
Senen Fernandez
955a775dcd Sign the assembly. Issue #54 2016-06-08 20:54:00 -05:00
Michele Cattafesta
a74579b196 readme.md: appveyor build.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-20 23:06:15 +02:00
Michele Cattafesta
d7b8a3e039 Merge pull request #57 from Johnnyxy/master
VS2013 - C# 6 auto-property initializers - issue
2016-05-17 15:02:20 +02:00
Johnnyxy
821d470e4b x fixed VS2013 - C# 6 auto-property initializers - issue 2016-05-17 14:19:42 +02:00
Michele Cattafesta
5c04125d55 Added method ClearLastErrorCode (Issue #44).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-11 22:20:00 +02:00
Michele Cattafesta
77cd5a34d7 readme.md: added link for documentation and removed example that was not compiling.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-08 20:06:30 +02:00
Michele Cattafesta
021d8b2983 Documentation
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-08 20:00:52 +02:00
Michele Cattafesta
68ba3d4791 Merge pull request #55 from watashimeandeu/master
Sync classic version with universal version.
2016-05-03 10:11:23 +02:00
Marcos Pereira
c50e98110d Sync classic version with universal version. 2016-05-03 08:37:55 +01:00
Michele Cattafesta
9108dbde51 documentation, cleanup and unit tests.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 21:58:09 +02:00
Michele Cattafesta
28c71c444d Merge pull request #54 from watashimeandeu/master
Sync classic version with universal version.
2016-05-02 11:17:26 +02:00
Marcos Pereira
34a512d8b6 Sync classic version with universal version. 2016-05-02 10:00:08 +01:00
Michele Cattafesta
0a450ec769 Added IDisposable to Plc class.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 07:40:12 +02:00
Michele Cattafesta
730f2f7da1 S7.Net.Core: fixed compilation error because of the removal of IPlc.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:42:00 +02:00
Michele Cattafesta
f5303cb3a7 ReadMultipleVars: removed returned List, that was of no use, and added documentation.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:38:51 +02:00
Michele Cattafesta
0beb9a91db Removed Name and Tag, that were of no use in this library.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:31:46 +02:00
Michele Cattafesta
63bd361e76 cleanup and documentation.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:31:17 +02:00
Michele Cattafesta
e59ff7d34c Removed IPlc interface, because it was of no use.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-02 00:22:54 +02:00
Michele Cattafesta
3fe7ee23eb Revert "signed assembly with Strong Name key (issue #52)."
This reverts commit bb6f9097ee.
2016-05-02 00:00:44 +02:00
Michele Cattafesta
1d8ca309d7 Merge pull request #53 from DJWassink/feature/read-multiple-vars
New feature: read multiple vars
2016-05-01 23:46:28 +02:00
Dirk-Jan
1f0534abc4 Fixed reading of vars bigger than 2 bytes, see killnine/s7netplus#49 2016-05-01 20:37:58 +02:00
Dirk-Jan
6ddcc37294 Added basic reading of multiple vars
Could use some enhancement in splitting a read in multiple requests if it
exceeds the limit
2016-05-01 20:37:58 +02:00
Dirk-Jan Wassink
d4b0f4965e Merge pull request #1 from killnine/master
Update from upstream
2016-05-01 20:32:04 +02:00
Michele Cattafesta
847dddfb3f documentation.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-01 19:39:14 +02:00
Michele Cattafesta
bb6f9097ee signed assembly with Strong Name key (issue #52).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-05-01 18:33:54 +02:00
Michele Cattafesta
7d36ec38f0 NuGet 0.1.2
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-04-30 23:55:14 +02:00
Michele Cattafesta
0e62b3707b Merge pull request #51 from watashimeandeu/master
Fixes "System.InvalidCastException" on boolean type variable.
2016-04-28 16:55:23 +02:00
Marcos Pereira
12d7574c66 "System.InvalidCastException" on boolean type variable. 2016-04-28 15:28:04 +01:00
Michele Cattafesta
bad0282827 Merge pull request #48 from watashimeandeu/master
[S7.Net.Core] Avoid unhandled exception 'System.Net.Sockets.SocketException'.
2016-04-14 10:24:34 +02:00
Marcos Pereira
1f79a07eba Avoid unhandled exception 'System.Net.Sockets.SocketException'. 2016-04-12 08:38:41 +01:00
Michele Cattafesta
bdaab09014 Merge pull request #46 from watashimeandeu/master
Read classes recursively.
2016-03-14 13:38:18 +01:00
Marcos
2f7025ede6 Read and write class from a specific start bytes address. 2016-03-13 11:54:24 +00:00
Marcos
60ab7b586d Rounding issue on GetClassSize fixed.
Read classes recursively.
2016-03-13 11:53:10 +00:00
Michele Cattafesta
c5dca71560 Merge pull request #45 from watashimeandeu/master
Read structs recursively
2016-03-09 23:39:52 +01:00
Marcos Pereira
5dcd52e9d2 Write struct and multiple bytes from a specific start bytes address. 2016-03-09 14:32:19 +00:00
Marcos Pereira
3e877cad7c Read structs recursively on get struct size and build struct from bytes. 2016-03-09 14:30:20 +00:00
Marcos Pereira
d3f5a8d099 Write struct and multiple bytes from a specific start bytes address. 2016-03-09 14:26:54 +00:00
Michele Cattafesta
ba56e31747 Merge pull request #43 from watashimeandeu/master
Read struct and multiple bytes from a specific start bytes address.
2016-02-23 23:55:00 +01:00
Marcos Pereira
6cff54514f Read struct and multiple bytes from a specific start bytes address. 2016-02-23 09:09:12 +00:00
Michele Cattafesta
849b94d401 Merge pull request #42 from watashimeandeu/master
[.Net Core] fix unhandled exception when timeout reached, by unsubscribing correctly from socketEventArg.Completed event.
2016-02-18 21:11:46 +01:00
Marcos Pereira
ddbdec8473 Handlers removed to avoid:
An exception of type 'System.Net.Sockets.SocketException' occurred in S7.Net.Core.dll but was not handled in user code.
Additional information: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2016-02-18 19:02:16 +00:00
Marcos Pereira
e51599cca6 "fix Issue #38: now read and write bytes handles address overflow correctly.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>"
2016-02-18 17:22:29 +00:00
Michele Cattafesta
9a790376ff fix Issue #38: now read and write bytes handles address overflow correctly.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-02-13 12:26:50 +01:00
Michele Cattafesta
246f5a75dd readme.md: updated with Universal Windows Application support.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-02-09 00:20:12 +01:00
Michele Cattafesta
287fd667ea unit tests: bug fix that prevented test to run after installation of VS 2015.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-02-09 00:14:40 +01:00
Michele Cattafesta
8a756d3e6b solutions: created a solution for UniversalWindowsApp.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2016-02-08 23:50:28 +01:00
Michele Cattafesta
f10fe512c3 Merge pull request #41 from watashimeandeu/master
VS2015 .Net Core compatible solution added.
2016-02-08 23:29:30 +01:00
Marcos
4fd09e7db1 VS2015 .Net Core compatible solution added. 2016-02-08 22:09:18 +00:00
Michele Cattafesta
9aa01a4aad Read/Write class and structs now handle more than 200 bytes with multiple requests (Issue #30 and Issue #27).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2015-10-05 23:44:49 +02:00
Michele Cattafesta
a6307baa8c Added rack and slot for S7-1500 (Issue #1). These are needed if you are connecting from an external ethernet card (es. CP 1543-1).
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2015-10-03 11:40:07 +02:00