Skip to content

Releases: libplctag/libplctag.NET

libplctag-v1.2.0-alpha.1

28 Oct 19:59
692d339
Compare
Choose a tag to compare
Pre-release

What's Changed

  • libplctag.NET internally uses ConfigureAwait(false) throughout to prevent deadlocks in calling code. Changes by @swirlycurly in #351

New Contributors

  • @swirlycurly made their first contribution in #351

Full Changelog: libplctag-v1.2.0-alpha.0...libplctag-v1.2.0-alpha.1

libplctag v1.2.0-alpha.0

04 Jul 21:26
62ea105
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: libplctag-v1.1.1...libplctag-v1.2.0-alpha.0

libplctag-v1.1.1

14 Dec 20:30
0463146
Compare
Choose a tag to compare

Package changes

The changes in the libplctag-v1.1.1 nuget package since v1.1.0.

  • Adds AllowPacking attribute to Tag and NativeTagWrapper
  • Exposes Tag.GetBuffer(byte[] buffer) to allow recycling of the buffer.
  • Fix for #304 - use plc_tag_create_ex for Initialization which allows capturing of early events.

Repository changes

Full Changelog: libplctag-v1.1.0...libplctag-v1.1.1

libplctag.NativeImport v1.0.37

01 Dec 09:48
0da20d6
Compare
Choose a tag to compare

This release just includes the native binaries from libplctag core, the changes for which can be seen at https://github.com/libplctag/libplctag/releases/tag/v2.5.5

libplctag-v1.1.1-beta.0

01 Dec 09:55
8cff126
Compare
Choose a tag to compare
Pre-release

What's changed?

Since libplctag.v1.1.1-alpha.0

  • Updated libplctag.NativeImport to v1.0.37.
  • Minor bugfixes.

libplctag-v.1.1.1-alpha.0

24 Nov 22:55
9594341
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Added example from #286 by @timyhac in #306
  • Adds AllowPacking attribute to Tag and NativeTagWrapper by @timyhac in #292
  • Exposes GetBuffer(byte[] buffer) by @timyhac in #300
  • Fix for #304 - use plc_tag_create_ex for Initialization by @timyhac in #307
  • Use libplctag.NativeImport-v1.0.36

libplctag.NativeImport-v1.0.36

19 Nov 02:33
2f8311d
Compare
Choose a tag to compare

This release just includes the native binaries from libplctag core, the changes for which can be seen at https://github.com/libplctag/libplctag/releases/tag/v2.5.4

libplctag.NativeImport-v1.0.35

04 Nov 20:27
637c931
Compare
Choose a tag to compare

This release just includes the native binaries from libplctag core, the changes for which can be seen at https://github.com/libplctag/libplctag/releases/tag/v2.5.3

libplctag-v1.1.0

09 Oct 11:42
6edd0b9
Compare
Choose a tag to compare

This document represents a summary of the changes between libplctag-v1.0.13 and libplctag-v1.1.0

Miscellaneous

  • Updated libplctag.NativeImport reference from v1.0.17 to v1.0.34
    The primary changes this includes for libplctag dependents are:
    • Added libplctag core binary for the osx64 target
    • Use AppContext.BaseDirectory instead of Assembly.GetExecutingAssembly().Location
  • Added definitions for Simple DataTypes @jkoplo
    This provides definitions where only one pairing of PlcMapper with a datatype is likely (e.g. DINT <-> int)
    See https://github.com/libplctag/libplctag.NET/blob/master/src/libplctag/DataTypes/Simple/Definitions.cs
  • Added debug logging events on the libplctag static class @timyhac
    See this for an example of using the event API, and this for an example of how to add libplctag debug events to the Microsoft Dependency Injection logger sink.
  • Fixed bug where PlcType was no longer being passed to IPlcMapper for Tag<T> @jfontsaballs

Tag<T>

  • New value return for Read/ReadAsync and additional overloads for Write/WriteAsync to pass in the value to be written. @jkoplo

    // Allows you to write this
    var result = myTag.Read();
    myTag.Write(1234);
    
    // instead of this
    myTag.Read();
    var result = myTag.Value;
    myTag.Value = 1234;
    myTag.Write();
  • Additional core attributes supported @timyhac

    • AutoSyncReadInterval / AutoSyncWriteInterval
    • DebugLevel
  • Tag lifecycle events propagated @timyhac
    ReadStarted / ReadCompleted / WriteStarted / WriteCompleted / Aborted / Destroyed

Tag

  • Additional methods exposed
  • Additional core attributes supported @timyhac
    • AutoSyncReadInterval / AutoSyncWriteInterval (thanks to @vernturbine in #222 and @PWSys in #275 for finding implementation issues)
    • DebugLevel
    • Int16ByteOrder / Int32ByteOrder / Int64ByteOrder / Float32ByteOrder / Float64ByteOrder
    • StringCountWordBytes / StringIsByteSwapped / StringIsCounted / StringIsFixedLength / StringIsZeroTerminated / StringMaxCapacity / StringPadBytes / StringTotalLength
  • Tag lifecycle events propagated @timyhac
    ReadStarted / ReadCompleted / WriteStarted / WriteCompleted / Aborted / Destroyed