A SERVICE OF

logo

Chapter 10 Define a sequential function chart routine
192 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
The condition component uses a structured text expression to specify a condition
to evaluate for the transition.
L5X condition structure
<Condition>
<STContent>
<Line Number="0">
<![CDATA[ structured_text; ]]>
</Line>
</STContent>
</Condition>
L5K CONDITION structure
CONDITION (LanguageType := ST)
‘<structured_text>
END_CONDITION
Each line of L5K structured text begins with a single quote (‘).
Subroutine calls pass values into and out of the SFC routine.
L5X SbrRet structure
<SbrRet [Subroutine_Attributes]/>
L5K SBR_RET structure
SBR_RET (Subroutine_Attributes)
END_SBR_RET
Subroutine attributes
L5X Item L5K Item Identifies
ID ID The SBR_RET identifier. This ID uniquely identifies this
subroutine call from all other blocks. Type an unsigned, 32-bit
integer value.
X X X-coordinate on internal grid. Type an unsigned, 32-bit integer
value.
Condition
Subroutine calls