The Problems and Troubleshoot panels
Two tabs in the bottom panel tell you what is wrong. Problems lists what the build and the runtime found. Troubleshoot reads back what the last scan did to the instruction you selected.
Problems
Problems puts build errors, warnings and runtime faults in one table. Four filters narrow it: All, Errors, Warnings and Faults, each with its count. The Errors and Warnings counts in the status bar open it. An error blocks Run. A warning never does.
Read the Troubleshoot tab
- Click Single Scan. One scan records what every rung and instruction did.
- Open Troubleshoot from the Run menu, or press Ctrl+Shift+D.
- Click a rung or an instruction in the editor.
- Read the three cards from left to right: Build, Last scan, Selected.
The three cards
| Card | It can say | Button |
|---|---|---|
| Build | Clean, Not built, Out of date, Build did not finish or a count such as 2 errors block Run. | Build when it is missing or out of date. Show problems when it has errors. |
| Last scan | Scan 12, No scan yet, Values are not live or Fault with its code. | Go to for a fault, which opens the instruction at fault. It reads Not found if that instruction no longer exists. |
| Selected | What the selected rung or instruction did in that scan, or Select a rung or instruction. | None. |
Each card shows one line. Hover it to read every reading it holds, and its next step.
Read what the last scan recorded
Take a seal-in where Motor will not start. The Selected card for the StopPB contact reads like In scan 1, XIC evaluated to false and passed continuity no further. It then lists the continuity coming in and going out, the tags the instruction read and the tags it wrote. A timer gives ACC against PRE, and a compare gives the two values it compared. This is the rung after the fix, scanned by Core:
1. Press Start. Select the StopPB contact: it evaluated to true, so power passed to the Motor coil.
2. Press Stop. Select the StopPB contact: it evaluated to false and passed no power on, so Motor is 0. Select the Motor coil to see what it wrote.
| Step | StartPB | StopPB | Motor |
|---|---|---|---|
| 1. Press Start | 1 | 0 | 1 |
| 2. Press Stop | 0 | 1 | 0 |
Troubleshoot only reads. It never changes a tag or a rung. Because it reads the last scan, run a new scan after every change.
Good to know
- Fix errors from the top of Problems. One error can cause several below it.
- The Build card and the Problems table agree: if Build says Clean, Problems has no errors.
- A fault is listed in both. See Faults for how to clear one.