User-defined datatypes (simple datatypes) |
Manual -> Variables -> Data types -> Types of data types -> User-defined datatypes (simple datatypes) |
Show all Hide all |
These data types can be created by the user. On creating an existing data type is used. All properties of this basic data type are copied to the new data type and can be changed later on. There is no reference to the basic data type, i.e. all data types can be configured independently.
For the user-defined data types all properties including name and IEC data type can be changed.
It has to be cared, that all variables based on a data type, for which the IEC data type was changed, have to be re-configured by hand under circumstances.
Example |
An IEC data type INT is changed to an IEC data type BOOL. All set value limits of all variables and at all positions, wher the variable is used (pictures), are no longer correct. It becomes even more critical, if the properties in the variables were overwritten and no longer have a reference to the data type! |
On creating a new user-defined data type a basic data type should be used, that has the same IEC data type, that is needed.
Attention |
The later change of the IEC data type is
explicitly not recommended! |