Description
It turns out when writing data to a S7 device using the datatypes INT and DINT the write operation fails.
It turns out that the data-transport-size had to be INTEGER for these datatypes and not BYTE/WORD/DWORD. Also there was a bug that sent the length value as "number of bytes" and not "number of bits" which it should have been.