DWORD - 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 DWORD is a bit string of 32 bits.

The following table shows the properties of data type DWORD:

Length (bits) Format Value range Examples of value input
Constants Absolute and symbolic addresses
32 Integers (decimal system) Signed integers: -2_147_483_647 to +2_147_483_647
Unsigned integers: 0 to 4_294_967_295
  • +15_793_935
  • DWORD# +15_793_935
  • DWORD#10# +15_793_935
  • DW#+15_793_935
  • MD10
  • DB1.DBD8
  • Tag_Name
32 Binary numbers 2#0 to 2#1111_1111_1111_1 111_1111_1111_1111_ 1111
  • 2#0000_0000_1111 0000_1111_1111 0000_1111
  • DWORD#2#0000_0 000_1111_0000_11 11_1111_0000_111 1
  • DW#2#0000_0000_ 1111_0000_1111_1 111_0000_1111
  • MD10
  • DB1.DBD8
  • Tag_Name
32 Octal numbers 8#0 to 8#37_777_777_777
  • 8#74_177_417
  • DWORD#8#74_177_417
  • DW#8#74_177_417
  • MD10
  • DB1.DBD8
  • Tag_Name
32 Hexadecimal numbers 16#0000_0000 to 16#FFFF_FFFF
  • 16#00F0_FF0F
  • DWORD#16#00F0_ FF0F
  • DW#16#00F0_FF0F
  • MD10
  • DB1.DBD8
  • Tag_Name
32 Decimal sequence B#(0, 0, 0, 0) to B#(255, 255, 255, 255) B#(127, 200, 127, 200)
  • MD10
  • DB1.DBD8
  • Tag_Name

NOTE

The DWORD 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 DINT and UDINT data types.