LWORD - 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 LWORD is a bit string of 64 bits.

The following table shows the properties of data type LWORD:

Length (bits) Format Value range Examples of value input
64 Integers (decimal system) Signed integers: -9_223_372_036_854_775_808 to +9_223_372_036_854_775_807
Unsigned integers: 0 to 18_446_744_073_709_551_615
  • +26_123_590_360_715
  • LWORD#+26_123_590_360_715
  • LWORD#10# +26_123_590_360_715
  • LW#+26_123_590_360_715
64 Binary numbers 2#0 to 2#1111_1111_1111_1111_1111_111 1_1111_1111_1111_1111_1111_111 1_1111_1111_1111_1111
  • 2#0000_0000_0000_0000_0000_1011_1110_0001_0010_1111_01 01_0010_1101_1110_1000_1011
  • LWORD#2#0000_0000_0000_00 00_0000_1011_1110_0001_0010 1111_0101_0010_1101_1110_1 000_1011
  • LW#2#0000_0000_0000_0000_0 000_1011_1110_0001_0010_111 1_0101_0010_1101_1110_1000 1011
64 Octal numbers 8#0 to 8#1_777_777_777_777_777_777_777
  • 8#13_724_557_213
  • LWORD#8#13_724_557_213
  • LW#8#13_724_557_213
64 Hexadecimal numbers 16#0000_0000 to 16#FFFF_FFFF_FFFF_FFFF
  • 16#0000_0000_5F52_DE8B
  • LWORD#16#0000_0000_5F52_D E8B
  • LW#16#0000_0000_5F52_DE8B
64 Decimal sequence B#(0, 0, 0, 0, 0, 0, 0, 0) to B#(255, 255, 255, 255, 255, 255, 255, 255) B#(127, 200, 127, 200, 127, 200, 127, 200)

NOTE

The LWORD data type cannot be compared for more than or less than. It can only be supplied with the same decimal data that can be processed by the LINT and ULINT data types.