A SERVICE OF

logo

Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 63
Chapter 3
Define a Datatype component
This chapter explains the overall structure of the datatype component.
Datatype components define the data types used in the logic you export.
L5X datatype structure
<DataTypes>
<DataType [DataType_Attributes]>
<Description>
<![CDATA[ text ]]>
</Description>
<EngineeringUnit>
<![CDATA[ engineering_unit_text ]]>
</EngineeringUnit>
<Members>
[member_list]
</Members>
</Datatype
</DataTypes>
L5K datatype structure
DATATYPE <DataType_name> ([Description := "text",
EngineeringUnit := "text",
DataType_Attributes])
[member_definitions]
END_DATATYPE
Datatype elements
L5X Item L5K Item Description
N/A DataType_name The name of the data type.
In L5X, use a Name attribute on the <DataType> element.
Description Description User information about the data type.
Introduction
Datatype component