S7 TIA PROFINET driver
    Observe these guidelines when working with the S7 TIA PROFINET driver.
Supported controllers
      The driver supports these controller families:
        
- Siemens® S7-1200 Series
- Siemens® S7-1500 Series
Controller tags import
      The driver supports only optimized structures.
You can import tags in these modes:
        
- Online mode
- Use online mode to import tags directly from the controller at design time or runtime.IMPORTANT:Before importing tags from a controller:- SetAccess levelto aFull accessoption.
- If applicable, disable theOnly allow secure PG/PC and HMI communicationoption.
 For more information, refer to the product documentation.
- Offline mode
- Use 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 theOptimized block accessproperty enabled.
- If your project has multiple programs, choose the program from which you want to import the tags.
- If the controller communication is authenticated with certificates:- From TIA Portal®, export theDERcertificate and then paste the certificate into theFTOptixApplication/ProjectFiles/PKI/Own/Certs/folder of theFactoryTalk Optixproject.
- InFactoryTalk Optix Studio, in theController certificate fileproperty of theS7TIAPROFINETStationobject, select the exported certificate.#
 
 For more information, refer to the product documentation.
Data types
      The driver supports these data types:
        
  
    
| Controller data type | FactoryTalk Optixdata 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 Automationrecommends 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 Automationrecommends 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 1 dimensional | Type [dimension] | ||
| ARRAY 2 dimensional | Type [1st dimension, 2nd dimension] | ||
| ARRAY 3 dimensional | Type [1st dimension ,2nd dimension, 3rd dimension] | 
Provide Feedback