
Program a Function Block Diagram Chapter 1
3. On the Tag Browser, click the tag, or select the bit by clicking the down
arrow to the right of the tag and clicking the bit.
4. Press Enter or click a different spot on the diagram.
You can assign a constant value instead of a tag value to an input parameter.
If you want to: Then:
Make the value visible on the diagram and in reports Use an IREF on page 27
Change the value online without editing the routine Enter a Value in the Tag of a Block on page
28
Use an IREF
Complete these steps to assign a value to an IREF.
1. Add the IREF to the routine. For instructions on adding an element, see
Add a function block element on page 20
.
2. Wire the IREF to the input pin that gets the value. For instructions on
wiring elements together, see Wire elements together on page 24
.
3. Double-click the operand area of the IREF.
4. In the box, type the value and press Enter.
Assign an immediate value
(constant)
Rockwell Automation Publication 1756-PM009E-EN-P - October 2014 27
Commentaires sur ces manuels