A SERVICE OF

logo

Chapter 3 Define a Datatype component
68 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
ALARM_ANALOG
ALARM_DIGITAL
AXIS types
COORDINATE_SYSTEM
MOTION_GROUP
MESSAGE
MODULE
If one user-defined datatype references a second user-defined data type
defined in the file, the second user-defined datatype appears before the first
one in the import/export file.
L5X DataType example
L5K DATATYPE example
DATATYPE MyStructure (FamilyType := NoFamily)
DINT x;
TIMER y[3] (Radix := Decimal);
SINT MyFlags (Hidden :=1);
BIT aBit0 MyFlags : 0 (Radix := Binary);
BIT aBit1 MyFlags : 1 (Radix := Binary);
END_DATATYPE
Examples