A SERVICE OF

logo

Chapter 8 Define a ladder logic routine
148 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
RLL Routine attributes
Attribute Description
Name L5X only. Specify the name of the routine.
In L5K, the name is an element of the statement.
Type L5X only. Specify RLL.
In L5K, the type of routine is part of the routine statement.
Enter rung logic within a routine component in an import/export file.
L5X rung structure
<RLLContent>
<Rung [Rung_Attributes]>
<Comment>
<![CDATA[ comment_text ]] >
</Comment>
<Text >
<![CDATA[ rung_neutral_text; ] ] >
</Text>
</Rung>
</RLLContent>
L5K RUNG structure
RC: "comment" "more" "etc";
<RungType> : <rung_neutral_text>;
Rung elements
L5X Item L5K Item Description
N/A RungType The type of rung.
In L5X, use a Type attribute on the <Rung> element.
Comment RC Rung comment.
In a L5K file, a rung comment must be followed by a rung.
Text rung_neutral_text The logic.
Rung logic