Plc Data Types in Tia Portal.

Plc Data Types previously named as UDTs. Are named structure definitions that can be globally used in our Tia Portal Project.

The question in whether this can be useful of if its use can lead to bad programming practices.

Advantages are:

  • Good code structure reusing in the project most common structures.
  • The programs looks well and seem to be easy to program, reducing the effort of variable definition.

Drawbacks are:

  • Data Types are global structures this means that Function Blocks depend of this global structures.
  • This makes difficult to modify their definitions as they affect to undetermined number of blocks.
  • In a word in witch global variables are reduced to a minimum, global types are not the best solution.

This is why we do not recommend to use Plc Data Types in Tia Portal projects.

Definitively Plc Data Types are excluded of Elimar.com recommended program practices.

Leave a Reply

Your email address will not be published. Required fields are marked *