1 Publication 1756-RM084F-EN-P - July 2002
Chapter
6
Entering Structured Text Logic
Introduction
This chapter explains the how to enter structured text logic in a
complete import/export file.
Entering a Structured Text
Routine
A structured text STX_ROUTINE follows this structure:
STX_ROUTINE <
routine_name
> [Attributes]
‘<
statements
>;
END_STX_ROUTINE;
Where:
Specifying STX_ROUTINE attributes
You can specify these attributes for a ROUTINE:
For information about: See page:
Entering a structured text routine 6-1
Entering structured text logic 6-2
Entering comments 6-3
Item: Identifies:
<
routine_name
>
the name of the structured text routine
Attributes
attributes of the structured text routine
<
statements
>
structured text logic
every line must begin with a single quote (‘)
Attribute: Description:
Description
Provide information about the routine.
Specify:
Description := ”
text
”
Spare Allen-Bradley Parts