Why is the Online Monitoring Window Not Displaying After Logging into TwinCAT3, with Variables Showing Normally in the Variable Area but Not in the Program Area?
After logging into TwinCAT3, the Online monitoring window fails to display, while the variable area remains functional for monitoring. However, the program area does not show the current values of the variables.
PQUESTION 1:
If the program logs in but the online values of variables are not displayed in either the variable area or the program area, it is likely that the main logic (MAIN/PRG) has not been added to the Task. You may notice that although the status is logged in, there is no variable monitoring window.
Resolution: Add the currently running MAIN/PRG into the PlcTask.
1.Locate the PlcTask of the current PLC project, right-click, and select "Add Existing Item".
Solution: The issue is often caused by the lack of the "Enable Online" checkbox being selected in the TwinCAT 3 settings. Checking this box will resolve the issue.
- Locate the "Tools" menu at the top of the TwinCAT 3 software, click on it, and then select "Options."
In the newly popped-up window, on the left panel, scroll down to find and expand the following options sequentially:
- TwinCAT
- PLC Environment
- Text Editor
- PLC Environment
Once you have expanded the "Text Editor" option, you can proceed with the next steps to enable online monitoring.
- TwinCAT
After clicking on "Text Editor," in the right-hand interface, select the "Monitoring" tab. Then, check the box next to "Enable Inline" in the first row and click "OK" to apply the changes.
After enabling it, the display should function normally.