Programming a Function
8-8
STEP 7 Getting Started
A5E00171228-01
Programming the Call in Statement List
If you are programming in Statement
List, select the input area below a new
network and enter the STL statements
shown here.
Then save the call and close the
window.
Programming the Call in Function Block Diagram
If you are programming in Function Block Diagram, select the input area below a
new network and enter the FBD instructions shown below.
Then save the call and close the window.
The call for the functions was programmed as an unconditional call in our example; that is,
the function will always be processed.
Depending on the requirements of your automation task, you can make the call for a
function or function block dependent on certain conditions; for example, an input or a
preceding logic operation. The EN input and the ENO output are provided in the box for
programming conditions.
You can find more information under Help >
Contents and then under "Calling Reference
Helps," in the topics "The LAD, FBD, or STL
Language Description".
Summary of Contents for SIMATIC STEP 7 V5.2
Page 4: ...Welcome to STEP 7 STEP 7 Getting Started iv A5E00171228 01 ...
Page 12: ...Introduction to STEP 7 1 6 STEP 7 Getting Started A5E00171228 01 ...
Page 22: ...Programming with Symbols 3 4 STEP 7 Getting Started A5E00171228 01 ...
Page 76: ...Downloading and Debugging the Program 7 14 STEP 7 Getting Started A5E00171228 01 ...
Page 88: ...Programming a Shared Data Block 9 4 STEP 7 Getting Started A5E00171228 01 ...
Page 100: ...Programming a Multiple Instance 10 12 STEP 7 Getting Started A5E00171228 01 ...
Page 110: ...Appendix A STEP 7 Getting Started A 2 A5E00171228 01 ...