I don't have much experience with the S7-1200 but have you tried adding data suffixes to the addresses?
See: https://www.trihedral.com/help/Content/D_Tags/Dev_DataSuffixesForTagIO.htm
Suffix Meaning
/ABFloat Allen-Bradley PLC/3 Floating Point (4 bytes) (Used for Allen-Bradley exclusively)
/AB5Float Allen-Bradley PLC/5 Floating Point (4 bytes) (Used for Allen-Bradley exclusively)
/BCD2 2-digit (1 byte) Binary Coded Decimal
/BCD3 3-digit (2 bytes - lowest 12 bits) Binary Coded Decimal
/BCD4 4-digit (2 bytes) Binary Coded Decimal
/BCD8 8-digit (4 bytes) Binary Coded Decimal
*Note: while any driver may use this suffix to read data, only the Modbus Compatibly can use it to write data.
/Bit Attempts to convert the value to a single bit. The bit number used is always 0. (ex: 40001/Bit)
/Double IEEE Double Precision Floating Point (8 bytes)
/Float IEEE Single Precision Floating Point (4 bytes)
/SByte Signed Byte
/SDWord Signed 32-bit Integer
/SWord Signed 16-bit Integer
/UByte Unsigned Byte
/UDWord Unsigned 32-bit Integer
/UWord Unsigned 16-bit Integer
I don't have much experience with the S7-1200 but have you tried adding data suffixes to the addresses?
See: https://www.trihedral.com/help/Content/D_Tags/Dev_DataSuffixesForTagIO.htm
````
Suffix Meaning
/ABFloat Allen-Bradley PLC/3 Floating Point (4 bytes) (Used for Allen-Bradley exclusively)
/AB5Float Allen-Bradley PLC/5 Floating Point (4 bytes) (Used for Allen-Bradley exclusively)
/BCD2 2-digit (1 byte) Binary Coded Decimal
/BCD3 3-digit (2 bytes - lowest 12 bits) Binary Coded Decimal
/BCD4 4-digit (2 bytes) Binary Coded Decimal
/BCD8 8-digit (4 bytes) Binary Coded Decimal
*Note: while any driver may use this suffix to read data, only the Modbus Compatibly can use it to write data.
/Bit Attempts to convert the value to a single bit. The bit number used is always 0. (ex: 40001/Bit)
/Double IEEE Double Precision Floating Point (8 bytes)
/Float IEEE Single Precision Floating Point (4 bytes)
/SByte Signed Byte
/SDWord Signed 32-bit Integer
/SWord Signed 16-bit Integer
/UByte Unsigned Byte
/UDWord Unsigned 32-bit Integer
/UWord Unsigned 16-bit Integer
````
Trihedral Engineering Ltd.
edited Sep 19 '17 at 5:53 pm