Enabling logic flow in a chart, Enabling debug trace in a chart, 4 enabling logic flow in a chart – Nematron Pointe Controller User Manual

Page 210: 5 enabling debug trace in a chart

Advertising
background image

Chapter 7: Monitoring and Debugging

Pointe Controller User Guide

208

restored in the Debugger window, with magnification and scroll position intact.

NOTE: The Open Subchart tool is enabled only when a calling block (Subchart
block in Flow Charts, CALL function block in Ladder Diagrams) is selected. The
Close Subchart tool is enabled only when the subchart is open in the Debugger
window.

7.3.4 Enabling Logic Flow in a Chart

Clicking the Enable Logic Flow tool suspends the normal execution cycle
on the Pointe Controller unit and enters the Logic Flow debugging mode.

When Logic Flow is enabled (the button remains depressed), the controller checks
for a

breakpoint

at each chart block transition, pauses if it finds a breakpoint, and

waits for the command to

continue

.

Logic Flow must be enabled in order to insert breakpoints. Also, when
breakpoints are set, the Enable Logic Flow toolbar button is locked to ensure that
all breakpoints are honored.

Enabling logic flow also enables the Block column in the

Charts tab

.

NOTE: Checking for and processing breakpoints causes a significant impact on the
performance of the controller. As such, Logic Flow is automatically disabled when
all breakpoints are removed and all debugger windows are closed.

Scan I/O During Single Step Mode

When Scan I/O During Single Step Mode is enabled (the tool button
remains depressed), the controller continues to scan all of its I/O points even

while one chart is stopped on a breakpoint. Disabling this mode (the tool button
is not depressed) prevents I/O scanning. This mode is enabled by default, but it is
useful to disable it if you do not want the controller to run unsupervised while
you are working with a specific breakpoint.

Run Charts During Single Step Mode

When Run Charts During Single Step Mode is enabled (the tool button
remains depressed), the controller continues to execute all other charts even

while one chart is stopped on a breakpoint. Disabling this mode (the tool button
is not depressed) prevents the execution of other charts. This mode is enabled by
default, but it is useful to disable it if you do not want the controller to run
unsupervised while you are working with a specific breakpoint.

NOTE: Since these tools control the actual state of the controller, they are
automatically synchronized across all debugger windows.

7.3.5 Enabling Debug Trace in a Chart

Selecting the Enable Debug Trace tool activates an internal tracing of how
the chart’s logic flow is executed. The trace is dynamically updated as each

Advertising