LINT (64-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 LINT (Long INT) has a length of 64 bits and consists of two components: a sign and a numerical value in the two's complement. The signal states of bits 0 to 62 represent the number value. The signal state of bit 63 represents the sign. The sign may assume 0 for the positive, or 1 for the negative signal state.

An operand of data type LINT occupies eight BYTE in the memory.

The following table shows the properties of data type LINT:

Length (bits) Format Value range Examples of value input
64 Signed integers (decimal system) -9_223_372_036_854_775_808 to +9_223_372_036_854_775_807
  • +154_325_790_816_159
  • LINT#+154_325_790_816_159
  • LINT#10#+154_325_790_816_159
64 Binary numbers (only positive) 2#0 to 2#0111_1111_1111_1111_1111 _1111_1111_1111_1111_1111_1 111_1111_1111_1111_1111_11 11
  • 2#0000_0000_0000_0000_1000_1100 0101_1011_1100_0101_1111_0000 1111_0111_1001_1111
  • LINT#2#0000_0000_0000_0000_1000 1100_0101_1011_1100_0101_1111 0000_1111_0111_1001_1111
  • LINT#2#10
64 Octal numbers (only positive) 8#0 to 8#7_7777_7777_7777_7777_77 77
  • 8#4305_5705_7417_3637
  • LINT#8#4305_5705_7417_3637
64 Hexadecimal numbers (only positive) 16#0 to 16#7FFF_FFFF_FFFF_FFFF
  • 16#0000_8C5B_C5F0_F79F
  • LINT#16#0000_8C5B_C5F0_F79F