UINT (16-bit integers) - Manual - SIMATIC S7 Connector - Industrial Edge - Industrial Edge App

SIMATIC S7 Connector

Product
SIMATIC S7 Connector
Product Version
v2.2.1
Edition
08/2024
Language
en-US (original)

An operand of data type UINT (Unsigned INT) has a length of 16 bits and contains unsigned numerical values.

An operand of data type UINT occupies two BYTE in the memory.

The following table shows the properties of data type UINT:

Length (bits) Format Value range Examples of value input
16 Unsigned integers (decimal system) 0 to 65_535
  • 65_295
  • UINT#65_295
  • UINT#10#65_295
16 Binary numbers 2#0 to 2#1111_1111_1111_1111
  • 2#1111_1111_0000_1111
  • UINT#2#1111_1111_0000_1 111
  • UINT#2#10
16 Octal numbers 8#0 to 8#17_7777
  • 8#17_7417
  • UINT#8#17_7417
16 Hexadecimal numbers 16#0 to 16#FFFF
  • 16#FF0F
  • UINT#16#FF0F