Closed veliadiguzel closed 4 months ago
I can access the data in the form of data[0], but when I ran the first code, I was getting the normal direct data.
ReadArea() always returns a buffer object (For S7WLBit either 0x00 or 0x01). Issue with your code is that you force a type change in your console.log('Read data: ' + data);
by concatenating the buffer object with a string and 0x00 or 0x01 are no printable utf8 characters.
Try console.log('Read data: ', data);
instead.
I apologize for keeping you busy for something so simple. I'm sorry for switching from Delphi programming language to new internet technologies.
Greetings first of all thanks for such a library i try to read just 1 bit but return object
if i use DBRead and 1 byte get %