Skip to content
DE EN

Protocols and Field Devices

  • Absolute addressing
  • TIA, symbolic addressing
  • S7 300/400 and 1200 & 1500

The supported data types depend on the addressing mode (absolute or symbolic). You can find them in the following table.

Data typeIn Edge (read only)Supported by PLC
Edge VarTypeEdge InfluxTypeBitsSymbolicAbsoluteS7-300/400S7-1200S7-1500
Binary numbers
S7_BoolFLOAT1
S7_ByteFLOAT8
S7_WordFLOAT16
S7_DWordFLOAT32
S7_LWordFLOAT64
Integers
S7_SIntFLOAT8
S7_IntFLOAT16
S7_DIntFLOAT32
S7_USIntFLOAT8
S7_UIntFLOAT16
S7_UDIntFLOAT32
S7_LIntFLOAT64
S7_ULIntFLOAT64
Floating-point numbers
S7_RealFLOAT32
S7_LRealFLOAT64
Times
S7_S5TimeSTRING16
S7_TimeSTRING32
FLOAT
(millisec.)
S7_LTimeSTRING64
FLOAT
(nanosec.)
Date and time
S7_DateSTRING16
FLOAT
(days)
S7_Time_Of_DaySTRING32
FLOAT
(millisec.)
S7_LTODSTRING64
FLOAT
(ticks)
S7_Date_And_TimeSTRING64
S7_LDTSTRING64
S7_DTLSTRING96
Characters
S7_CharSTRING8
S7_WCharSTRING16
S7_StringSTRINGn+2 Bytes
S7_WStringSTRINGn+2 Words
Array
S7_Array
Individual access to each element via its specific address

Max. dimensions: 6
Max. number of bytes: 32,767
Max. dimensions: 6
Max. number of bytes: 65,535
Max. dimensions: 6
Max. number of bytes: 16,777,216
Pointers
Pointer48
Any80
Variant0

If measured variables are entered manually via the UI or imported via a CSV file, the following points must be observed when specifying addresses.

For absolute-addressed data access, the address schema must follow the common, fully qualified schema consisting of data block number, operand, and byte/bit offset.

Structure: DB<Nr>.DB<B|W|D|X><ByteOffset>.<BitOffset>; noting:

  • The operand type described by DBB, DBD, DBX, or DBW can currently be used arbitrarily; it could be set to DBB for all data types as well (it merely serves the familiar readability for the PLC programmer)
  • The bit offset is optional and may be omitted (including the separating period) as needed
  • Spaces must be removed

Examples:

  • DB9.DBX200.2 Addresses the second bit of byte 200 in data block no. 9
  • DB30.DBW558 Addresses byte 558 of data block no. 30

Symbolic addressing

For symbolic-addressed data access, the address is composed hierarchically from the program structure and groups, separated by a period. It always begins with the two group elements PLC (not the device name such as PLC_1!) and Blocks. Note the following:

  • If group elements or variables contain a period, that address part must be enclosed in double quotation marks (ASCII code 0x22)
  • If group elements or variables contain a double quotation mark, that address part must be enclosed in double quotation marks and the contained quotation mark must additionally be doubled
  • Case sensitivity must be observed
  • Certain special characters also require escaping with double quotation marks (e.g.: <>[ ] . { } )

Examples:

  • PLC.Blocks.TestDB.MyFunkyVariable Addresses a variable named MyFunkyVariable in the data block named TestDB (directly subordinate to the main structure)
  • PLC.Blocks.TestDB."My.Funky.Struktur".MyFunkyVariable Addresses a variable named MyFunkyVariable in a UDT instance My.Funky.Struktur in the data block named TestDB (directly subordinate to the main structure)
  • PLC.Blocks.TestDB."My""Funky""Struktur"."My""Funky""Variable" Addresses a variable named My"Funky"Variable in a UDT instance My"Funky"Struktur in the data block named TestDB (directly subordinate to the main structure)
  • PLC.Blocks.TestDB.TestArray.MyFunkyElement[28] Addresses the 28th element of the one-dimensional array TestArray in the data block named TestDB (directly subordinate to the main structure)
  • PLC.Blocks.TestDB.TestArray.MyFunkyElement[2,1,28] Addresses element no. [2,1,28] of the multi-dimensional array TestArray in the data block named TestDB (directly subordinate to the main structure)
FunctionComment
Supported access methodsREAD_COIL, READ_DISCRETE_INPUT, READ_INPUT_REGISTER, READ_HOLDING_REGISTER
Supported data typesBOOLEAN*, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, STRING**
*Boolean is only supported for bit-level access methods (read coils, read discrete input).
** The STRING data type is set to 8 characters by default. If a different number of characters is required, please contact support.
Slave ID
(Modbus RTU)For Modbus RTU, the “Slave ID” can be specified. Default = 1
Byte order
(endianness)Big-endian*, little-endian* (default)
* For data types larger than 16 bits (INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, STRING). Defines which REGISTER (not bytes) contains the most significant bit.
Byte order is an optional configuration parameter that cannot currently be configured in the UI. If a deviation from the default is required, please contact support.