USINT (8-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 USINT (Unsigned Short INT) has a length of 8 bits and contains unsigned numerical values:

An operand of data type USINT occupies one BYTE in the memory.

The following table shows the properties of data type USINT:

Length (bits) Format Value range Examples of value input
8 Unsigned integers (decimal system) 0 to 255
  • 78
  • USINT#78
  • USINT#10#78
8 Binary numbers 2#0 to 2#1111_1111
  • 2#0100_1110
  • USINT#2#0100_1110
  • USINT#2#10
8 Octal numbers 8#0 to 8#377
  • 8#116
  • USINT#8#116
8 Hexadecimal numbers 16#0 to 16#FF
  • 16#4E
  • USINT#16#4E