robinson / gos7

Implementation of Siemens S7 protocol in golang
BSD 3-Clause "New" or "Revised" License
314 stars 121 forks source link

Adjust address start offset in multi #38

Closed d0pam1n closed 3 years ago

d0pam1n commented 3 years ago

In multi read and multi write, the offset of the start address depends on the WordLen.

We have to mutiply the start by 8, if it is not a bit, timer or counter.

Fixes #5

robinson commented 3 years ago

Vielen dank für die Behebung, VG