TReX User Manual v15.30 Firmware
Debugging
1. Run Button
2. Stop Button
3. Pause Button
4. Step Button
5. Run Cycle Button
Notes
The Debug mode of operation includes several options for program execution. Initially, the
Debug execution will begin in a paused state, allowing for single-stepped execution or single-
cycle execution. While in the paused state, the “Pause” button is disabled.
Single-stepped execution involves executing a single rung when the “Step” button is pressed.
The last rung executed is highlighted in red on the rung display. Pressing the “Step” button
while a main rung is highlighted will result in the execution of the following main rung. This
following rung will then be highlighted in red. Empty rungs and branches are skipped in
single-step execution as they are ignored and executed simultaneously with their corresponding
main rung respectively.
Single-cycle execution involves executing all remaining rungs in the program once when the
“Run Cycle” button is pressed. For example, if the “Run Cycle” button is pressed while paused
halfway through the rungs, only the remaining rungs of that cycle will be executed. If pressed
while paused at the start of the PLC program, all rungs of the program will be executed.
Standard execution involves continuously running the PLC program until a rung with an
enabled breakpoint is encountered. These breakpoints can be toggled any time before or during
program execution. Once this breakpoint has been hit, the execution mode changes to single-
stepped. Manually pausing the program will result in the program entering single-stepped
execution at the start of the next cycle.
Project Examples
The WTE PLC Configuration Tool installation includes several example projects of varying
complexity and usage of available resources. These examples are available in the “Examples”
subdirectory of the program installation. Selecting “Load Project” for the first time will open
this directory by default.
© WTE Limited, 2022 – Christchurch New Zealand
Page 206 of 302
Summary of Contents for TReX-460
Page 87: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 87 of 302...
Page 286: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 286 of 302...
Page 302: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 302 of 302...