Data types

A data type specifies the size and layout of memory that allocates when a tag of the data type is created. The core of the control system is defining operations based on data stored in tags. Tags support different types of data which define the size and layout of memory that is allocated for the tag. Data types can be atomic, structure, or array:
  • Atomic. Predefined data types used to compose member data.
  • Structured. A data type composed of a sequence of data members. A structure tag occupies a contiguous block of memory in the controller with each member in sequence in memory.
  • Array. A data type composed of a matrix of members. Arrays can have multiple dimensions, but all members must be off the same atomic data type.
These are the categories of data types:
  • Predefined data types. An elementary or structured data type defined by a controller. Examples of predefined data types include Counter, Timer, and PID. Atomic predefined data types allocate bites, bytes, or words of memory and define their numeric interpretation. Examples include BOOL, INT, and REAL.
  • ModuleEkey.
  • User-defined data types. A structured data type defined while developing an application. User-defined data types are composed of Predefined, Module-defined, and other user-defined data types.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.