ads-client 1.12.1 → 1.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/ads-client-ads.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.12.2] - 12.02.2022
|
|
8
|
+
### Changed
|
|
9
|
+
- Bug fix: `TOD` data type was not regonized on TwinCAT 2 and TwinCAT 3 (TC3 builds <= 4020)
|
|
10
|
+
- [See issue #83](https://github.com/jisotalo/ads-client/issues/83)
|
|
11
|
+
|
|
7
12
|
## [1.12.1] - 17.01.2022
|
|
8
13
|
### Changed
|
|
9
14
|
- Updated dependecies to latest versions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ads-client",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"description": "Beckhoff TwinCAT ADS client library for Node.js (unofficial). Connects to Beckhoff TwinCAT automation systems using ADS protocol.",
|
|
5
5
|
"main": "./src/ads-client.js",
|
|
6
6
|
"scripts": {
|
package/src/ads-client-ads.js
CHANGED
|
@@ -1011,7 +1011,7 @@ const BASE_DATA_TYPES = {
|
|
|
1011
1011
|
fromBuffer: buffer => buffer.readInt32LE(0)
|
|
1012
1012
|
},
|
|
1013
1013
|
{
|
|
1014
|
-
name: ['UDINT', 'DWORD', 'TIME', 'TIME_OF_DAY', 'BITARR32', 'UINT32'],
|
|
1014
|
+
name: ['UDINT', 'DWORD', 'TIME', 'TIME_OF_DAY', 'TOD', 'BITARR32', 'UINT32'],
|
|
1015
1015
|
adsDataType: ADS_DATA_TYPES.ADST_UINT32,
|
|
1016
1016
|
size: 4,
|
|
1017
1017
|
toBuffer: (value, buffer) => buffer.writeUInt32LE(value),
|