Download PLC_2_Unity_Referenc..

Transcript
Data Types
8.10
Compatibility Between Data Types
Compatibility Between Data Types
Introduction
The following is a presentation of the different rules of compatibility between types
within each of the following families:
z
z
z
the Elementary Data Type (EDT) family
the Derived Data Type (DDT) family
the Generic Data Type (GDT) family
The Elementary Data Type (EDT) Family
The Elementary Data Type (EDT) family contains the following sub-families:
z
z
z
z
z
the binary format data type sub-family
the BCD format data type sub-family
the Real format data type sub-family
the character string format data type sub-family
the bit string format data type sub-family
There is no compatibility whatsoever between two data types, even if they belong to
the same sub-family.
Derived Data Type (DDT) Family
The Derived Data Type (DDT) family contains the following sub-families:
z
z
35006144 07/2011
the table type sub-family
the structure type sub-family:
z structures concerning input/output data (IODDT)
z structures concerning other data
289