Thomas Jäger
8a3db22629
Read TPKT/COTP packets / Read MaxPDU size from PLC
...
Read responses from the PLS using classes for TPKT and COPT. This
makes the communication more robust. It will now handle empty COTP
packets that SoftPLS and WinAC based PLCs send out. I use RFC names for
functions and classes.
Change logic to use COTP and S7Comm reponse codes instead of
relying on packet sizes.
Read Max PDU size from connection setup. Ref #21
Change logic to use MaxPDU from cpu limit instead of hardcoded limit.
Remove var count limit.
2018-04-10 15:26:04 +02:00
Thomas Jäger
6470f8d076
Document bSend1 data packet
2018-04-10 15:25:20 +02:00
Thomas Jäger
723b0ffd42
Fix writing double to PLC
2018-04-10 15:23:46 +02:00
Michele Cattafesta
bfeacee08f
Merge pull request #102 from mbalous/master
...
Non breaking changes. Code styling, comments, etc...
2018-04-08 21:12:22 +01:00
Michele Cattafesta
b6b53078f9
Merge pull request #101 from tomsoftware/master
...
fix data type converting for num-types
2018-04-08 21:08:27 +01:00
mbalous
a99ea469ce
Correct exceptions. Constructor parameter checking.
2018-03-21 22:40:25 +01:00
mbalous
dd71e1bf0b
Checking constructor parameters.
2018-03-21 22:32:23 +01:00
mbalous
530072b70f
Improved XML function comments.
2018-03-21 22:18:37 +01:00
Thomas Ze
117ad5cd1b
fix variable length bug for StringEx
2018-03-20 22:37:44 +01:00
Thomas Ze
7cedec5909
- fix data type converting
...
- add new string string data type
2018-03-18 21:26:22 +01:00
Michele Cattafesta
f6a2e11045
0.1.8
v0.1.8
2018-02-05 20:07:11 +00:00
Michele Cattafesta
8005304827
Merge pull request #97 from GS770/master
...
Added Bit to Types
2017-12-14 23:00:19 +00:00
shen.jz
ef5e060948
Added Bit to Types
...
get bool or BitArray from byte array
2017-12-14 10:38:10 +08:00
Michele Cattafesta
3178d2aa09
Merge pull request #96 from GS770/master
...
Get bit of read bytes
2017-12-13 08:57:52 +00:00
shen.jz
6a2bc708a9
Get bit of read bytes
2017-12-12 15:56:18 +08:00
Michele Cattafesta
ea84cd414f
Fix UWP build
v0.1.7
2017-09-14 18:26:49 +01:00
Michele Cattafesta
ad98783888
Added one more test
2017-09-14 18:20:06 +01:00
Michele Cattafesta
cddb826053
Fix V0.1.6 bit write to DB don't work #91
2017-09-14 18:16:35 +01:00
Michele Cattafesta
61ebfca0c2
Nuget 0.1.6
v0.1.6
2017-09-05 20:25:26 +01:00
Michele Cattafesta
9a9231d6d3
Update README.md
2017-08-31 21:17:31 +01:00
Michele Cattafesta
9f3de01911
Update README.md
2017-08-31 21:17:17 +01:00
Michele Cattafesta
e0ba394bf7
Png for wiki
2017-08-31 20:59:39 +01:00
Michele Cattafesta
03ff8bda8e
Merge pull request #89 from uknickwilliams/atomic-bit-writing
...
Support atomic bit writing protocol, instead of read-modify-write
2017-08-31 20:43:55 +01:00
nick.williams
75e8017744
Support atomic bit writing protocol, instead of read-modify-write
2017-08-23 11:07:29 +01:00
Thomas.Bargetz
ac19f913af
fixed #87
...
IsAvailable is not using the Ping class anymore.
2017-08-11 11:09:35 +02:00
Thomas Bargetz
6d7edc9f86
Types.Class.ToBytes doesn't need a type information, because the object is passed as parameter anyway
2017-08-07 12:06:03 +02:00
Thomas Bargetz
07fe703b3d
Classes with arrays can now be read/written from/to the plc
2017-08-07 11:51:58 +02:00
Michele Cattafesta
db229de529
Fix .Net core build
2017-07-11 22:33:39 +01:00
Michele Cattafesta
947450a181
Merge pull request #83 from thomasbargetz/generic-class-and-struct-reading
...
Generic class and struct reading
2017-07-11 22:17:13 +01:00
Michele Cattafesta
89415e79b5
Merge branch 'master' into generic-class-and-struct-reading
2017-07-11 22:15:39 +01:00
Michele Cattafesta
3090d03b97
Merge pull request #82 from thomasbargetz/ignore-non-public-setter-properties
...
Ignoring properties without a public setter or no setter at all
2017-07-11 21:37:02 +01:00
Thomas Bargetz
6328efbc5b
Ignoring properties without a public setter or no setter at all
2017-07-07 10:57:12 +02:00
Thomas Bargetz
4130504a94
Added generic methods for ReadStruct and ReadClass. ReadClass returns the number of read bytes to check if something was read from the plc.
2017-07-07 10:25:12 +02:00
Michele Cattafesta
8c65632d7a
Added unit tests to consolidate boolean read/write.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2017-05-23 22:29:43 +01:00
Michele Cattafesta
06bee240e5
documentation and cleanup.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-09-12 23:11:28 +02:00
Michele Cattafesta
8b8b96797f
Removed redundant WriteMultipleBytes method.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-09-12 23:11:16 +02:00
Michele Cattafesta
d9d2c19dcd
WriteBytesWithASingleRequest private.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-09-12 23:10:16 +02:00
Michele Cattafesta
ac66173f8a
Merge pull request #66 from maurodx/patch-1
...
Changed WriteBytes to allow byte[] longer than 200 bytes
2016-09-12 22:58:36 +02:00
Mauro Destro
a2c68600cc
Missing localIndex offset on startIndex
...
Missing localIndex to offset start write position
2016-09-12 12:08:50 +02:00
Mauro Destro
07f3513f20
Changed WriteBytes to allow byte[] longer than 200 bytes
...
Similar to ReadBytes that allow arrays longer than 200 bytes.
2016-09-12 10:52:05 +02:00
Michele Cattafesta
7e7b867789
nuget: support for .Net 3.5, .Net 4.0, .Net 4.5 and included xml documentation (Issue #65 ).
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-08-26 13:27:49 +02:00
Michele Cattafesta
8f4dd2eb7b
removed files not used.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-08-26 13:08:13 +02:00
Michele Cattafesta
7012205c3e
documentation, cleanup and formatting + output xml documentation.
2016-08-26 13:06:34 +02:00
Michele Cattafesta
b4d99010fb
argument check for conversions.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-08-26 12:56:42 +02:00
Michele Cattafesta
9d56d33087
VarTypeToByteLength and ParseBytes are now private.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-08-26 12:53:11 +02:00
Michele Cattafesta
78bb5ea1fa
plc: implemented shutdown of the socket correctly (Issue #29 ).
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-08-26 12:29:23 +02:00
Michele Cattafesta
83e45e3be8
ReadBytes handles more than 200 bytes and is public.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-08-26 10:54:24 +02:00
Michele Cattafesta
142804f506
.NetCore: renamed socket class to minimize the #if NETFX_CORE in the sources.
2016-07-10 11:18:06 +02:00
Michele Cattafesta
5262b0fd59
cleaned tabs.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-07-09 00:08:48 +02:00
Michele Cattafesta
aff5df1b33
S7.Net and S7.Net.Core unification (issue #56 ): moved files, updated csproj, minor modification for compatibility in SocketClient class.
...
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com >
2016-07-09 00:08:32 +02:00