Publication 1756-RM084F-EN-P - July 2002
ii
Defining a Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
Specifying PROGRAM attributes . . . . . . . . . . . . . . . . . . 3-32
PROGRAM guidelines . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
PROGRAM example. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
Defining a Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
Specifying TASK attributes . . . . . . . . . . . . . . . . . . . . . . 3-34
TASK guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
TASK example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
Defining a Controller Object . . . . . . . . . . . . . . . . . . . . . . . 3-35
Specifying CONFIG attributes . . . . . . . . . . . . . . . . . . . . 3-36
CONFIG examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40
Chapter 4
Entering Ladder Diagram Logic
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Entering a Ladder Logic Routine . . . . . . . . . . . . . . . . . . . . 4-1
Specifying ROUTINE attributes . . . . . . . . . . . . . . . . . . . 4-1
Entering Rung Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Rung guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Ladder ROUTINE example . . . . . . . . . . . . . . . . . . . . . . 4-3
Entering Branches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Example with a single branch. . . . . . . . . . . . . . . . . . . . 4-4
Example with two simultaneous branches. . . . . . . . . . . 4-4
Entering Rung Comments . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Entering Neutral Text for Ladder Instructions . . . . . . . . . . . 4-4
Chapter 5
Entering Function Block
Diagram Logic
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Entering a Function Block Diagram Routine . . . . . . . . . . . . 5-1
Specifying FBD_ROUTINE attributes. . . . . . . . . . . . . . . 5-2
Entering Function Block Diagram Logic . . . . . . . . . . . . . . . 5-2
SHEET guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
FBD_ROUTINE example . . . . . . . . . . . . . . . . . . . . . . . 5-4
Entering IREFs and OREFs. . . . . . . . . . . . . . . . . . . . . . . . . 5-6
IREF and OREF guidelines . . . . . . . . . . . . . . . . . . . . . . 5-7
IREF and OREF examples. . . . . . . . . . . . . . . . . . . . . . . 5-7
Entering ICONs and OCONs . . . . . . . . . . . . . . . . . . . . . . . 5-8
ICON and OCON guidelines. . . . . . . . . . . . . . . . . . . . . 5-8
ICON and OCON examples . . . . . . . . . . . . . . . . . . . . . 5-9
Entering Wires and Feedback Wires. . . . . . . . . . . . . . . . . . 5-9
WIRE guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
WIRE example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
Entering Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
BLOCK guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Entering Parameters for Function Block Instructions . . . . . . 5-12