How-To Guides
...
DeviceHub Guides
Use the Siemens S7 Browse Agen...

Tag Data Type Conversions

3min
tag data type conversion are converted as follows tia portal tag table data types tia portal program block data types notes arrays are automatically expanded for each array, a tag is created for the entire array as well as each index in the array tags cannot be created for user data types or strings placed in the inout section of a function block user defined types in tag tables cannot be expanded the address of the start of the udt will be provided as a tag tia portal tag table data types tia portal tag table data types are converted to server data types as follows tia portal data type server data type bool boolean byte byte char char counter word date string dint long dword dword int short real float s5time long time string timer long time of day string word word aom ident dword conn any word conn ouc word conn prg word conn r id dword db any word db dyn word db www word event any dword event att dword event hwint dword hw any word hw device word hw dpmaster word hw dpslave word hw hsc word hw interface word hw ieport word hw io word hw iosystem word hw module word hw pto word hw pwm word hw submodule word lreal double ob any short ob att short ob cyclic short ob delay short ob diag short ob hwint short ob pcycle short ob startup short ob timeerror short ob tod short pip word port word rtm word sint char udint dword uint word usint byte wchar short tia portal program block data types tia portal program block data types are converted to server data types as follows tia portal data type server data type bool boolean byte byte char char counter char date string dint long dword dword int short real float s5time long time string timer string time of day string word word date and time string aom ident dword conn any word conn ouc word conn prg word conn r id dword db any word db dyn word db www word event any dword event att dword event hwint dword hw any word hw device word hw dpmaster word hw dpslave word hw hsc word hw interface word hw ieport word hw io word hw iosystem word hw module word hw pto word hw pwm word hw submodule word lreal double ob any short ob att short ob cyclic short ob delay short ob diag short ob hwint short ob pcycle short ob startup short ob timeerror short ob tod short pip word port word rtm word sint char udint dword uint word usint byte wchar short