Add input/output data

Tip

We highly recommend to select the following two options in Extras > Options > Program options > Editors > LD/FBD editor:

  • Add empty name boxes to input and output pins
  • Not for ENO

Then you only need to enter variable identifiers in the empty name fields.

  1. Click in the toolbar or from the context menu
  2. Place the input contacts and output contacts on the ADD operator and on the timer at input SV
  3. Enter iCount1 on the first addend input of the ADD operator

    If the variable is not declared in the POU header, the variable will be created and added to the declaration.

  4. Enter the value 1 for the next ADD input and the value 20 for the timer SV input
  5. Enter also the variable iCount1 for the ADD output
  6. Enter bTimeElapsed for the timer output T

    The EV output does not need to be connected.

Related topics:

Modified on: 2024-01-30Feedback on this pagePanasonic hotline