Hi all,

as I’m going forward refactoring the S7 Driver I have one question about the 
„code“ field in the TransportSize enum.
For me it seems as this code is type related, i.e., is unique for each “S7Type”.
Furthermore, the number of bytes should be redundant to the bitWIdth ( / 8), 
except for “edge case” like Timers.

As I’m implementing especially “unsigned” types I would like to know wheter 
they share the “code” with their signed versions or if we have to extract them 
separately.

Could someone who implemented this (chris?) give me some infos about that?

Thanks!
Julian

Reply via email to