All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- New new nodes
- Read Raw
- Write Raw
- Convert To Raw
- Convert From Raw
- Get Symbol Info
- Updated README
- Updated ADS connection to have new client setting
bareclient
- Minor fix to prevent problems if connection is not enabled (see [pull request #16(#16))
- Thank you Hopperpop for contribution!
- Updated ads-client to 1.11.3
- Minor fixes related to
ads-client-connection
to prevent connection loop and other problems during connection losses and special cases. - Hopefully fixing issue #12
- New setting for
ads-client-connection
:Debugging level
- Possible to set
ads-client
debugging level from Node-RED - Easier to debug connection problems & library bugs
- Possible to set
- Thank you Hopperpop for contribution, awesome work!
- Better support for nodes that operate at the same time
- No more errors when all nodes try to connect to the PLC (
Already connecting to the target
) - Other nodes will wait for the result of the connection that the first node is creating
- No more errors when all nodes try to connect to the PLC (
- If first connection to the PLC fails at startup, warning is shown instead of error
- Better support for nodes that operate at the same time
- Old
ads-client-connection
is always disconnected (if possible) in handled manner when (re)connecting
- New node
Connection Status
that reports ADS connection status changes- Automatically outputs latest connection status when changes detected
- Can also be read manually using input trigger
- Outputs true/false (ok/not ok) and connection info
- New node
Read Runtime State
that implements ads-client libraryreadPlcRuntimeState()
- Possible to read PLC status (run, stop) from Node-RED
- New node
Read System Manager State
that implements ads-client libraryreadSystemManagerState()
- Possible to read system manager status (run, config) from Node-RED
- Updated
ADS connection
node- Automatically tries to connect to the target PLC in the background
- Before the connection was retried only when reading/writing/subscribing
- Now automatically connects when possible -> supports the new
Connection Status
node
- Updated
Subscribe
node- Listens on connection state changes in a better way than before
- Improved error handling (see pull request #8)
- Thank you Hopperpop for contribution!
- Updated README
- Example how to configure and read value
- New node
Invoke RPC Method
that implements ads-client libraryinvokeRpcMethod()
- Possible to call function block methods from Node-RED
- Thank you Hopperpop for contribution!
Subscribe
node- If connection is lost, status is updated
- If no notifications received in configured time after reconnection, the node will try resubscribe (new setting
Resubscribe timeout [ms]
) ads-client
should automatically resubscribe everything, but this is just in case
- All nodes now have similar status shapes
- Name properties to all nodes (also connection config -> PLCs can be named)
Read Symbol
andWrite Symbol
nodes no longer clear the input message. Instead it's passed onwards.- Added better support for error catching (
Subscribe
is still probably not working 100% withCatch
nodes) - Node status messages are now shorter and more compact
- Minor fixes and corrections
Bug fix: Subscribe node failed to subscribe when using it without input. Thank you Hopperpop for contributing (See issue #2)
- Bug fix: Subscribe node failed to subscribe when using it without input. Thank you Hopperpop for contributing (See issue #2)
- package.json fix
- Accidentally started npm versioning from 1.0.0 so here we are...
- First release for testing
- Commands available
- Read Symbol
- Write Symbol
- Subscribe