Creating a Program in OB1
4-14
STEP 7 Getting Started
A5E00171228-01
Programming a Memory Function in Function Block Diagram
Select Network 2 and insert another
network. Select the input area again
(below the comment field).
Navigate in the Program Elements
catalog under Bit Logic until you
reach the SR element. Double-click to
insert the element.
"Automatic Mode"
"Automatic on"
"Manual on"
Enter the following symbolic names for
the SR element:
Set "Automatic_On"
Reset "Manual_On"
Memory bit "Automatic_Mode"
Save the block and close the window.
If you want to see the difference between absolute and symbolic addressing, deactivate the
menu command View > Display > Symbolic Representation.
You can change the line break for symbolic addressing in the LAD/STL/FBD program
window b
usin
the menu command Options > Customize and then selecting "Address
Field Width" in the "LAD/FBD" tab. Here you can set the line break between 10 and 24
characters.
Example:
Symbolic addressing in FBD
Example:
Absolute addressing in FBD
"Green
Li
ht"
"Ke
2"
"Ke
1"
You can find more information under Help >
Contents in the topics "Programming Blocks,"
"Creating Logic Blocks," and "Editing FBD
Statements."