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".