FBD Variables

To connect a new symbol to an existing one (another variable, a block input, or a block output) in the workspace, keep the mouse button depressed (the cursor becomes a "ghost" symbol) and drag the element until its connecting line on the left (or right) overlaps an existing connecting point. When the mouse is released, the new symbol is automatically created and linked.
  1. Drag to place the existing element:
    fbd_var1
  2. Release the mouse button. The variable is automatically connected:
    fbd_var2
Replace existing variables in program organization units (POUs) by double-clicking them to access the Variable Selector or single-clicking them to select from a drop-down combo-box containing the global and local variables. Also, single-click a variable, then type a literal value in the text box provided. When inserting literal values beginning with a letter or an underscore, enclose these in single quotes as follows: 'abc'
  1. Select a variable from the drop-down combo-box:
    fbd_var5
  2. Type a literal value in the text box:
    fbd_var6_Trusted
When selecting items like local variables, global variables, and defined words from the drop-down combo-box, typing characters in the text box focuses on the possible items.
For input and output variables, choose to display comments entered in the dictionary. From the
View
menu, access the
Properties
window and define the
Comment Position
property.
Resize variables that display in the workspace.
To insert a variable
  1. From the
    Toolbox
    , drag the variable element into the language container. The
    Variable Selector
    is displayed.
  2. In the
    Variable Selector
    , select the required variable, then click
    OK
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal