I found out that it's impossible to write negative value into DINT array, when writing whole array.
Current Behavior
Write fails on range check.
Possible Solution
Assuming that in function generateWriteMessageRequestForAtomic in /src/tag/index.ts on line 714 should be
valBuf.writeInt32LE(value[i], i * 4);
instead of
valBuf.writeUInt32LE(value[i], i * 4);
I found out that it's impossible to write negative value into DINT array, when writing whole array.
Current Behavior
Write fails on range check.
Possible Solution
Assuming that in function generateWriteMessageRequestForAtomic in /src/tag/index.ts on line 714 should be
valBuf.writeInt32LE(value[i], i * 4);
instead of
valBuf.writeUInt32LE(value[i], i * 4);