Tim Verwaal
8dc89867e9
Extended PLCAddress.Parse method
2019-12-19 10:55:51 +01:00
Michael Croes
2fbf659136
Merge pull request #167 from mycroes/bit-arrays
...
Fix incorrect length when reading BitArray
2019-07-17 21:50:12 +02:00
Michael Croes
6a84b6f124
Use ToBitArray overload with length in ParseBytes
2019-07-17 21:46:18 +02:00
Michael Croes
b3cb45de37
Add ToBitArray overload with length
2019-07-17 21:46:17 +02:00
Michael Croes
4fcab9a167
Fix VarTypeToByteLength for bit arrays
2019-07-17 21:46:17 +02:00
Michael Croes
94a178478b
Merge pull request #227 from mycroes/calculate-pdu-constraint
...
Calculate PDU size constraints
2019-07-17 21:43:38 +02:00
Michael Croes
2a4485941f
Calculate PDU size constraints
2019-07-17 21:39:41 +02:00
Michael Croes
47cce5887d
Merge pull request #223 from thoj/develop
...
Fix padding of last dataitem in WriteMulitple fixes #222
2019-07-17 21:39:19 +02:00
Michael Croes
0e5651b37f
Merge branch 'develop' into develop
2019-07-17 21:22:45 +02:00
Michael Croes
1d1f1e76a9
Merge pull request #189 from mycroes/add-datetime-support
...
Add DateTime support
2019-07-17 21:10:12 +02:00
Michael Croes
555d1e8956
Add unit test for Types.DateTime
2019-07-17 21:07:45 +02:00
Michael Croes
427d8124de
Add DateTime support for read/write methods
2019-07-17 21:07:45 +02:00
Michael Croes
735f1d4533
Add support for DateTime array conversion
2019-07-17 21:07:45 +02:00
Michael Croes
2aa4f08836
Add Types.DateTime
2019-07-17 21:07:44 +02:00
Michael Croes
8d8b2ec36e
Merge pull request #173 from mycroes/stringex-read-rubbish
...
Provide a clear message on Encoding.ASCII.GetString exceptions
2019-07-17 21:06:47 +02:00
Michael Croes
cf64c65c23
Provide a clear message on Encoding.ASCII.GetString exceptions
2019-07-17 21:04:26 +02:00
Michael Croes
93752a3485
Merge pull request #225 from tatzemax/develop
...
Add Property to selected Port from PLC
2019-07-11 20:10:29 +02:00
max
229df2dfcd
Merge branch 'develop' of https://github.com/tatzemax/s7netplus into develop
2019-07-11 18:11:14 +02:00
max
3b23ab76e7
correction of wrong changes
2019-07-11 18:10:14 +02:00
tatzemax
3872e638aa
Merge branch 'develop' into develop
2019-07-11 17:57:14 +02:00
Thomas Jager
e124c70fb1
Merge branch 'develop' into develop
2019-07-11 12:24:07 +02:00
Michael Croes
b8b4071e39
Merge pull request #226 from SevenMag/develop
...
Use PDU size in WriteBytes
2019-07-11 12:13:01 +02:00
Max
b2183dd760
rename PORT to Port
...
add a Space
2019-07-10 20:42:52 +02:00
max
f2d33855ca
add Port Setting for PLC.
...
is required for port forwarding
2019-07-10 18:44:04 +02:00
max
b1d2d11904
add Port Setting for PLC.
...
is required for port forwarding
2019-07-10 18:17:02 +02:00
Evgeniy
23796de8bf
Update PlcSynchronous.cs
...
MaxPDUSize for WriteBytes
2019-07-03 13:04:33 +05:00
Thomas Jäger
02b38326c8
Fix padding of last dataitem in WriteMulitple fixes #222
2019-06-19 13:02:53 +02:00
Michael Croes
ea96891a31
Merge pull request #218 from ChipsetSV/develop
...
feature: added ReadTimeout and WriteTimeout to PLC class for NetworkStream
2019-05-28 12:34:04 +02:00
Смирнов Виталий
2fbabd5517
style: updated code style.
2019-05-28 10:01:28 +03:00
Смирнов Виталий
800a790b89
feature: added changing ReadTimeout and WriteTimeout for connected tcpClient.
2019-05-28 08:56:06 +03:00
Смирнов Виталий
0dbe401ce9
feature: added ReadTimeout and WriteTimeout to PLC class for NetworkStream.
2019-05-27 13:52:38 +03:00
Michael Croes
e623b535ac
Merge pull request #196 from mycroes/invalid-data-on-open
...
Invalid data on open
2019-03-14 23:09:50 +01:00
Michael Croes
ce359789dc
Add explicit support for Logo0BA8
...
Unsure if the PLC actually requires the specfically provided TSAP's,
but these have been verified to work.
2019-03-14 23:04:26 +01:00
Michael Croes
4ae905ffd5
Set PDU size to 960
...
Allows communication with Siemens Logo 0BA8, currently no Siemens PLC
is known to support >960 PDU size.
2019-03-14 23:04:26 +01:00
Michael Croes
70506e7dba
Throw InvalidDataException in Open(Async)
2019-03-14 23:02:15 +01:00
Michael Croes
20458d4b46
Add InvalidDataException
2019-03-14 23:02:14 +01:00
Michael Croes
898b870221
Expose TPKT on TPDU
...
Temporary hack to allow access to the received TPKT data.
2019-03-14 23:02:14 +01:00
Michael Croes
0fd193e08f
Merge pull request #212 from mycroes/gitversion-v4
...
Update GitVersion.yml to V4
2019-03-14 22:56:36 +01:00
Michael Croes
98df02d7d4
Update GitVersion.yml to V4
2019-03-14 22:53:16 +01:00
Michael Croes
ae620f3c62
Merge pull request #191 from admo/issue190_nested_classes
...
Fix for Addresses are not aligned in case of custom type in class
2018-10-10 20:28:40 +02:00
Adam Oleksy
de084394a6
Fix writing nested classes
2018-10-04 18:14:44 +02:00
Adam Oleksy
370fd6b3d9
Fix reading nested classes
2018-09-26 14:43:49 +02:00
Derek Heiser
fba3ffd5db
Merge pull request #169 from mycroes/dataitem-from-string-write-fix
...
Dataitem from string write fix
2018-07-18 18:39:21 -05:00
Michael Croes
e44cb1571c
Validate BitAdr when writing a bit
2018-07-12 20:51:37 +02:00
Michael Croes
ab486e3d1f
Only set bitNumber in address for Write when a bit is written
2018-07-12 20:51:20 +02:00
Michael Croes
705743e5f1
Convert bitNumber '-1' to 0 in DataItem
2018-07-12 20:49:44 +02:00
Michael Croes
8dad14955e
Merge pull request #166 from mycroes/fix-string-to-byte-array
...
Fix string to byte array
2018-07-11 22:46:44 +02:00
Michael Croes
96efb9d56a
Add tests for String.ToByteArray(...)
2018-07-11 22:07:34 +02:00
Michael Croes
09d323925a
Add length to String.ToByteArray(...)
2018-07-11 22:07:08 +02:00
Michael Croes
bf4550655e
Add support for creating DataItem from string ( #149 )
...
* Refactor PLCAddress
- Change fields into properties
- Apply PascalCase naming to all properties
- Make Parse public static with out parameters
* Support creating DataItem from string
* Rename PlcAddress.Address to StartByte
2018-07-11 10:21:49 +02:00