WORD - 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 WORD is a bit string of 16 bits.

The following table shows the properties of data type WORD:

Length (bits) Format Value range Examples of value input
Constants Absolute and symbolic addresses
32 Integers (decimal system) Signed integers: -32_768 to +32_767
Unsigned integers: 0 to 65_535
  • 61_680
  • WORD#61_680
  • WORD#10#61_6 80
  • W#61_680
  • MW10
  • DB1.DBW2
  • Tag_Name
32 Binary numbers 2#0 to 2#1111_1111_1111_111 1
  • 2#1111_0000_1111_0000
  • WORD#2#1111_ 0000_1111_0000
  • W#2#1111_0000_1111_0000
  • MW10
  • DB1.DBW2
  • Tag_Name
32 Octal numbers 8#0 to 8#177_777
  • 8#170_360
  • WORD#8#170_360
  • W#8#170_360
  • MW10
  • DB1.DBW2
  • Tag_Name
32 Hexadecimal numbers 16#0 to 16#FFFF
  • 16#F0F0
  • WORD#16#F0F0
  • W#16#F0F0
  • MW10
  • DB1.DBW2
  • Tag_Name
32 BCD C#0 to C#999 C#55
  • MW10
  • DB1.DBW2
  • Tag_Name
32 Decimal sequence B#(0, 0) to B#(255, 255) B#(127, 200)
  • MW10
  • DB1.DBW2
  • Tag_Name

NOTE

The WORD 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 INT and UINT data types.