-
-
Notifications
You must be signed in to change notification settings - Fork 258
Description
Hi.
I had a chat with the actor of Snap7 and the function WriteArea()
When he was looking at the source code of the function for python-snap7 he couldn't understand why the WordLen was not handled in correct way.
In other words WordLen.Byte is not the only way to use WriteArea().
If you like to do
byte_index*8+bit_index with size of 1, that is not possible if word_len is not WordLen.Bit
For a better understanding what I'm talking about is to compare the orginal source code of Snap7 with the implementation of the same function in python-snap7
Or
Get the library Settimino for Arduino and check the source code.
If I was a good programmer I maybe will do it myself. But I like to hear from the people who made python-snap7 why the WriteArea() is different ??