Dawid Pągowski
0d2817661e
Add S7 Time type (C# TimeSpan)
...
Adds the S7 TIME (IEC) type (32 bits long)
It is deserialized to C# TimeSpan and serialized as S7 DInt.
2023-07-19 20:30:32 +02:00
Michael Croes
e869d19587
Merge pull request #487 from mycroes/ci
...
Update ci workflow
2023-06-27 17:08:34 +02:00
Michael Croes
e7194bc470
Update OS, SDK and target versions
2023-06-27 17:00:25 +02:00
Michael Croes
5bc2c6c5e7
Add create_nuget and deploy jobs
2023-06-27 16:49:19 +02:00
Michael Croes
77dcb1778b
Merge pull request #485 from dylandrush/484_Public_PLCExceptions
...
Made all exceptions public
v0.19.0
2023-06-19 14:52:02 +02:00
DRUSH12
14053e342a
Made all exceptions public
2023-06-19 06:14:14 -04:00
Michael Croes
ab3bd87701
chore: Delete GitVersion configuration
...
Rely on builtin defaults from now on.
2023-05-30 22:21:12 +02:00
Michael Croes
bc7c27e1d4
Release S7NetPlus 0.18.0
...
Release highlights:
- Add Memory/Span support from 0.17.0 to < net5 targets
v0.18.0
2023-05-30 21:47:40 +02:00
Michael Croes
f0256fd0cb
Merge pull request #483 from gfoidl/span-memory
...
Use System.Memory for < .NET 5 and avoid (some) unnecessary allocations
2023-05-30 21:44:33 +02:00
Günther Foidl
209148ab02
Use System.Memory for < .NET 5 and avoid (some) unnecessary allocations
2023-05-30 17:25:25 +02:00
Michael Croes
2fc9eaade3
Release S7NetPlus 0.17.0
...
Release highlights:
- Add Read-/WriteBytes overloads for Span<byte> and Memory<byte>
v0.17.0
2023-05-30 12:19:39 +02:00
Michael Croes
ab70bfb041
Merge pull request #482 from ArgusMagnus/add_span_overloads
...
add Read/WriteBytes(Async) overloads accepting Span<byte>/Memory<byte> for .NET5 or greater
2023-05-30 12:14:19 +02:00
ArgusMagnus
e277cf6e6c
add Read/WriteBytes(Async) overloads accepting Span<byte>/Memory<byte> for .NET5 or greater
2023-05-30 10:47:38 +02:00
Michael Croes
43b29825a4
Release S7NetPlus 0.16.0
...
Release highlights:
- Fix UInt32 reads in classes
- Add string support for classes
v0.16.0
0.16.0
2022-12-10 21:22:16 +01:00
Michael Croes
6aa0133081
Merge pull request #415 from scamille/fb-fixClassUint32
...
Fix ReadClass for UInt32
2022-12-10 21:12:28 +01:00
Michael Croes
868e719b78
Merge remote-tracking branch 's7netplus/develop' into fb-fixClassUint32
...
# Conflicts:
# S7.Net/Types/Class.cs
2022-12-10 21:09:29 +01:00
Michael Croes
3833d29c0e
Merge pull request #459 from mycroes/test-workflow
...
ci: Run test on ubuntu-20.04 due to lack of snap7 on newer ubuntu
2022-12-10 21:01:21 +01:00
Michael Croes
144f814794
Merge branch 'develop' into test-workflow
2022-12-10 20:58:29 +01:00
Michael Croes
82aaf7e2cb
Merge pull request #458 from MCPC10/StringSupportForClass
...
Added support for string/wstring in a class
2022-12-10 20:58:10 +01:00
Michael Croes
f47918946d
ci: Run test on ubuntu-20.04 due to lack of snap7 on newer ubuntu
2022-12-10 20:51:44 +01:00
Mike Cremer
142f1ba90e
Added support string/wstring for class type
2022-12-10 18:59:25 +01:00
Michael Croes
d99d0d0e6f
Release S7NetPlus 0.15.0
...
Release highlights:
- Add flowed cancellation to ConnectAsync
v0.15.0
2022-11-08 11:22:47 +01:00
Michael Croes
ce9f9f9e08
Merge pull request #423 from gfoidl/openasync_cancellation
...
Flowed cancellation token to TcpClient.ConnectAsync in .NET 5.0 target
2022-11-08 11:19:37 +01:00
Michael Croes
ea1140314b
Merge branch 'develop' into openasync_cancellation
2022-11-08 11:13:25 +01:00
Michael Croes
e3fad0b94f
Release S7NetPlus 0.14.0
...
Release highlights:
- Support setting the Encoding for S7String
v0.14.0
2022-06-17 23:14:48 +02:00
Michael Croes
7f76d4fc5a
Merge pull request #435 from ismdiego/develop
...
Allow changing the default Encoding used in S7String
2022-06-17 23:12:43 +02:00
diego
ec554ddb59
Better stringEncoding initialization, as per code review comments
2022-06-17 11:23:58 +02:00
diego
2ecd2c6b49
Changes following code review
2022-06-17 11:08:09 +02:00
diego
d808ea5eb6
Give the option of changing the Encoding used to serialize and deserialize S7String, instead of always using Encoding.ASCII
2022-06-16 17:21:23 +02:00
Günther Foidl
5d3f01e59e
Updated AppVeyor image to VS 2022 to allow better conditional compilation
2021-12-26 19:26:44 +01:00
Günther Foidl
9c3f95ce73
Flowed cancellation token to TcpClient.ConnectAsync in .NET 5.0 target
2021-12-26 19:26:04 +01:00
Serge Camille
12281ec802
Fix ReadClass for Uint32
...
Use consistent DWord conversion for both Int32 and UInt32. Unfortunately there is no Span or even a FromByteArray function accepting a offset, so just use the same Array.Copy falls used for double.
2021-10-04 18:59:05 +02:00
Serge Camille
8df1a9c8cb
Add unit test for ReadClass uint32 bug.
...
https://github.com/S7NetPlus/s7netplus/issues/414
2021-10-04 18:53:13 +02:00
Michael Croes
946536c2d6
Release S7NetPlus 0.13.0
...
Release highlights:
- Change default TSAP for S7 200
- Add S7 200 Smart support
- Add support for custom TSAP's
- Align data to even bytes when parsing responses from class and struct
reads
- Close connection on IOException
- Add cancellation for Read/Write
- Set default Read-/WriteTimeout to 10 seconds
- Cleanup of sync helper methods
v0.13.0
2021-06-21 21:52:25 +02:00
Michael Croes
b475aee2e7
Merge pull request #401 from scamille/test-ConnectionClose
...
Add unit test to ensure a connection has been properly closed
2021-06-10 17:04:42 +02:00
Serge Camille
82a745c972
Merge branch 'develop' into test-ConnectionClose
2021-06-08 22:53:30 +02:00
Serge Camille
74fecad48d
Remove cancel timeouts.
2021-06-08 22:47:12 +02:00
Michael Croes
37c63cea8e
Merge pull request #402 from mycroes/default-timeout
...
Default ReadTimeout and WriteTimeout to 10 seconds
2021-06-07 22:23:57 +02:00
Michael Croes
36c4564f5e
Default ReadTimeout and WriteTimeout to 10 seconds
2021-06-07 22:19:23 +02:00
Michael Croes
0c0200d12d
Merge pull request #400 from scamille/tests-taskCanceled
...
Fix Cancellation test.
2021-06-07 22:03:02 +02:00
Michael Croes
6e861d2f00
Merge branch 'develop' into tests-taskCanceled
2021-06-07 22:00:52 +02:00
Michael Croes
372f4a5dcb
Merge pull request #398 from mycroes/cleanup-sync
...
Cleanup sync
2021-06-07 21:26:41 +02:00
Serge Camille
0d87dbf3c6
Add unit test to ensure a connection has been properly closed
...
If cancelled during data transmission, #349 adds code to ensure that the connection automatically gets cancelled.
Add inerted test to ensure that cancellation before sending data does not result in a cancellation.
2021-06-07 14:49:06 +02:00
Serge Camille
15f94cd7bf
Fix Cancellation test.
2021-06-07 14:13:04 +02:00
Michael Croes
36b59a2926
Cleanup whitespace, usings
2021-06-06 23:20:19 +02:00
Michael Croes
8d081859da
Remove unused sync methods
2021-06-06 23:19:56 +02:00
Michael Croes
2302819650
Merge pull request #349 from scamille/closeConnectionIOException
...
Close connection on IOExceptions.
2021-06-06 22:58:27 +02:00
Michael Croes
d65b83660f
Merge branch 'develop' into closeConnectionIOException
2021-06-06 22:56:17 +02:00
Michael Croes
77b2ecfd45
Merge pull request #397 from scamille/multipleVarsAlignment
...
Fix ReadMultipleVars alignment bug
2021-06-06 22:51:03 +02:00
Michael Croes
b0a6a2375f
Merge branch 'develop' into multipleVarsAlignment
2021-06-06 22:49:33 +02:00