S7 TIA PROFINET driver

Observe these guidelines when working with the S7 TIA PROFINET driver.

Supported controllers

S7 TIA PROFINET driver supports these controller families:
  • Siemens® S7-1200 Series
  • Siemens® S7-1500 Series

Controller tags import

With the S7 TIA PROFINET driver, you can import tags in these modes:
Online mode
Use the online mode to import tags directly from the controller at design time or runtime.
IMPORTANT:
Before importing tags from a controller:
  • Set
    Access level
    to a
    Full access
    option.
  • If applicable, disable the
    Only allow secure PG/PC and HMI communication
    option.
For more information, refer to the product documentation.
Offline mode
Use the offline mode to import tags from these project files:
ap13
,
ap14
,
ap15
,
ap16
,
ap17
,
ap18
.
IMPORTANT:
Before importing tags from a project file:
  • Ensure that the project file is compiled with the
    Optimized block access
    property enabled.
  • If your project has multiple programs, choose the program from which you want to import the tags.
For more information, refer to the product documentation.

Data types

S7 TIA PROFINET driver supports these data types:
Controller data type
FactoryTalk Optix
data type
Length
Notes
BOOL
BOOL
1 BIT
BYTE
BYTE
1 BYTE
WORD
UINT16
2 BYTES
DWORD
UINT32
4 BYTES
LWORD
UINT64
8 BYTES
SINT
SBYTE
1 BYTES
INT
INT16
2 BYTES
DINT
INT32
2 BYTES
USINT
BYTE
1 BYTE
UINT
UINT16
2 BYTES
UDINT
UINT32
4 BYTES
LINT
INT64
4 BYTES
ULINT
UINT64
8 BYTES
REAL
FLOAT
4 BYTES
LREAL
DOUBLE
8 BYTES
S5TIME
UINT32
2 BYTES
For more information about the time base, refer to the product documentation.
TIME
DURATION
4 BYTES
Rockwell Automation
recommends using the Duration object, which allows you to set and view the duration of a tag.
LTIME
DURATION
8 BYTES
DATE
DATE
2 BYTES
Rockwell Automation
recommends using the Date and time object, which allows you to set and view date and time data.
TIME_OF_DAY(TOD)
UTC TIME
4 BYTES
LTIME_OF_DAY(LTOD)
UTC TIME
8 BYTES
DATE_AND_TIME(DT)
DATE TIME
8 BYTES
LDT
DATE TIME
8 BYTES
DTL
Struct
12 BYTES
CHAR
SByte
1 BYTES
WCHAR
UINT16
2 BYTES
STRING
STRING-MAX254
LENGTH +2 BYTES
An operand of the STRING data type occupies two bytes more than the specified maximum length in the memory. For more information, refer to the product documentation.
WSTRING
STRING-MAX 254
LENGTH+2 WORDS
An operand of the WSTRING data type occupies two WORDs more in the memory than the specified maximum length. For more information, refer to the product documentation.
STRUCT
STRUCT
Timer
UINT32
4 BYTES
COUNTER
UINT16
2 BYTES
IEC_Timer
Struct
16 BYTES
IEC_LTimer
Struct
32 BYTES
IEC_SCounter
Struct
3 BYTES
IEC_USCounter
Struct
3 BYTES
IEC_Counter
Struct
6 BYTES
IEC_UCounter
Struct
6 BYTES
IEC_DCounter
Struct
12 BYTES
IEC_UDCounter
Struct
12 BYTES
IEC_LCounter
Struct
24 BYTES
IEC_ULCounter
Struct
24 BYTES
ARRAY
Type[Lenght]
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.