Skip to content
  • There are no suggestions because the search field is empty.

Accessing wrong bit with Siemens S7-200 PPI driver

When writing to discrete output Q0.0 it changes the value in Q1.0. The same thing happens if I write to a bit in discrete inputs or any of the memory addresses. This happens if I define the bit as boolean.

When we read any Input, Output, or Memory area in the TOP Server S7-200 PPI driver that is not a "byte" data type, then we swap bytes; this is why writing to Q0.0 in TOP Server changes the value on Q1.0 at the PLC. If you change the data type of your tags in TOP Server to Byte, then you will see that the correct bit is written in the PLC.