Skip to content

v.2.1.0

Latest
Compare
Choose a tag to compare
@jisotalo jisotalo released this 27 Jan 18:54
06fb33d

[2.1.0] - 27.01.2025

Added

  • New method readTcSystemExtendedState()
  • Improved detection of TwinCAT system service restart
    • Available if remote system supports readTcSystemExtendedState()
    • Tested with TwinCAT 3.1.4022, 3.1.4024 and 3.1.4026
    • Client detects a restart of TwinCAT system and reconnects to re-establish subscriptions
    • See issue issue #159
  • Added tests for subscription persistence during TwinCAT system restart

Changed

  • Changed activeSubscriptions property visibility from private to public
  • disconnect event is no longer emitted continuously each reconnect attempt (only during the initial disconnect / connection lost event)
  • disconnect event parameter isReconnecting changed to connectionLost
  • TwinCAT system state type (metaData.tcSystemState) changed from AdsState to AdsTcSystemState
    • Not a breaking change - the new type extends AdsState