Add contact and coil

You will learn
  1. Choose between programming with tool bar icons or using intelligent keys
    Using toolbar icons
    1. Click on the required contact and coil in the toolbar or choose the item from the context menu
    2. Place them into network 1 of the programming window
      If you place the elements in one grid line (same height in the network) then connection lines are drawn automatically.
    Using intelligent keys
    1. Place the cursor into network 1 of POU body
    2. Press the intelligent keys <2> for contact or <3> for coil
      If contact and coil are placed in one grid line, then the connection lines will be drawn automatically. If connection lines are not drawn automatically, activate the option Insert new elements without lines (does not apply when using intelligent keys) under Extras > Options > Program options > Editors > LD/FBD editor.
  2. Enter variable name
    If the variable name you enter has not been assigned yet, the Create new variable dialog opens. If no name is entered and you select a different element, a question mark will appear in the name box.
    NOTE
    • We recommend to use variables instead of explicit user addresses.

    • If you want to use explicit user addresses, please define them in the list of global variables.

    • The compiler can output a warning when using explicit user addresses in the POU declaration, see Extras > Options > Compile options > Additional warnings.

    The Create new variable dialog opens

  3. Enter an identifier for the variable, e.g. bVar0

    According to the prefix of variable identifiers, Control FPWIN Pro7 selects the data type BOOL.

  4. OK
  5. Create the variable bVar1 for the coil

If connection lines are not drawn automatically:

  1. Select the Draw line icon in the toolbar or from the context menu
  2. Draw the connections between the contact and the coil

    Each line has to be connected to the power rail. Be careful not to draw double lines or allow them to overlap.

Related topics:

Modified on: 2018-11-26Feedback on this pagePanasonic hotline