Debug FBD Programs

When debugging Functional Block Diagram (FBD) programs, monitor the output values of elements. These values display using color, numeric, or textual values according to their data type:
  • Output values of Boolean type display using color. The output value color continues to the next input. When the output value is unavailable, Boolean elements remain black. The colors are red when True and blue when False.
  • Output values of DINT, REAL, TIME, and MESSAGE type display as a numeric or textual value in the element.
When the output value for a numeric or textual value is unavailable, the
WAIT
text displays in the output label. Values also display in the corresponding dictionary instance.
When the program is debugging, perform these operations:
Task
Procedure
Change the cycle timing
  • From the
    Target Execution
    toolbar, set the required value in the
    Cycle Timing (ms)
    box fbd_ldr_stx_ct1.
Toggle the logical value of a contact, coil, or block input
  • Select the required element, then right-click
    Toggle Boolean Value
    (or press
    Ctrl+T
    ).
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal