en-us_products:mpino_studio2:troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en-us_products:mpino_studio2:troubleshooting [2026/10/25 08:42] – external edit 127.0.0.1en-us_products:mpino_studio2:troubleshooting [2026/11/13 00:27] (current) – external edit 127.0.0.1
Line 10: Line 10:
  
 ^ What you see ^ Check first ^ Continue here ^ ^ What you see ^ Check first ^ Continue here ^
-| You cannot open or save a project. | File menu and save path | [[en-us_products:mpino_studio2:menus_settings|Phase 7 · Open and Save Projects]] |+| You cannot open or save a project. | File menu, save path, and Controlled folder access in Windows Security | [[en-us_products:mpino_studio2:menus_settings|Phase 7 · Open and Save Projects]] |
 | Ladder cells do not edit as expected. | Ladder tab and selected cell | [[en-us_products:mpino_studio2:ladder_editing|Phase 3 · Ladder Editing]] | | Ladder cells do not edit as expected. | Ladder tab and selected cell | [[en-us_products:mpino_studio2:ladder_editing|Phase 3 · Ladder Editing]] |
 | Arduino Code does not edit as expected. | Code tab and selected file | [[en-us_products:mpino_studio2:code_editor|Phase 5 · Arduino Code Editing]] | | Arduino Code does not edit as expected. | Code tab and selected file | [[en-us_products:mpino_studio2:code_editor|Phase 5 · Arduino Code Editing]] |
 | The build output shows an error. | Build Output and Problems tab | [[#when_the_build_fails|2. When the Build Fails]] | | The build output shows an error. | Build Output and Problems tab | [[#when_the_build_fails|2. When the Build Fails]] |
 +| The build completes, but the Problems tab shows a warning. | Warning text in the Problems tab | [[#problems_tab_warnings_and_sram_overflow|2. Problems Tab Warnings and SRAM Overflow]] |
 | The upload does not start or stops. | Build result, status bar port, upload log | [[#when_the_upload_does_not_start_or_stops|3. Upload Problems]] | | The upload does not start or stops. | Build result, status bar port, upload log | [[#when_the_upload_does_not_start_or_stops|3. Upload Problems]] |
 | The Serial Monitor shows no values. | Connection, baud rate, sending code | [[#when_the_monitor_is_connected_but_shows_no_values|4. Monitor Values]] | | The Serial Monitor shows no values. | Connection, baud rate, sending code | [[#when_the_monitor_is_connected_but_shows_no_values|4. Monitor Values]] |
Line 19: Line 20:
 | Ladder status differs from physical I/O. | Selected board and ladder pin map | [[#when_ladder_status_differs_from_physical_i_o|5. I/O Results]] | | Ladder status differs from physical I/O. | Selected board and ladder pin map | [[#when_ladder_status_differs_from_physical_i_o|5. I/O Results]] |
 | Edits or settings are not reflected. | Required save, apply, build, or upload step | [[#when_settings_or_edits_are_not_reflected|6. Changed Results]] | | Edits or settings are not reflected. | Required save, apply, build, or upload step | [[#when_settings_or_edits_are_not_reflected|6. Changed Results]] |
 +
 +> **Save permission note:** If saving shows “Windows Security's 'Controlled folder access' may be blocking writes to this folder (e.g. Documents).”, save to a different folder, or add MPINO Studio 2 as an allowed app under **Windows Security → Ransomware protection**.
  
 ===== 2. When the Build Fails ===== ===== 2. When the Build Fails =====
Line 31: Line 34:
  
 Build again after making a correction. Check the build result before moving on to the upload. Build again after making a correction. Check the build result before moving on to the upload.
 +
 +==== Problems Tab Warnings and SRAM Overflow ====
 +
 +When a build or upload finishes with new errors or warnings, the **Problems** tab in the bottom panel opens automatically. The list in the **Problems** tab is updated when you run a build or upload.
 +
 +{{ :en-us_products:mpino_studio2:problems-warnings-marked.svg?1000 |Errors and warnings in the Problems tab after a build and a ladder cell with red text }}
 +
 +^ Marker ^ Item ^ What to check ^
 +| **①** | Problems tab | Shows the total number of errors and warnings. |
 +| **②** | Warning | A warning that does not stop the build. Select an item that has a location to move to that ladder cell. |
 +| **③** | Red text | A name that cannot be converted to an address, such as an unregistered symbol name. It appears while you edit, without a build. Red text in a contact, edge, or coil becomes an “unresolved symbol” error when you build, and the build fails. |
 +
 +The following warnings do not stop the build, but if you upload as is, the board may not work as intended.
 +
 +^ Warning text ^ Cause ^ Solution ^
 +| “set to Not Used in the ladder” | A pin or module channel used by the ladder has **Use** cleared, so it is not connected to physical I/O. | Select **Use** for that pin or channel under **Settings → Ladder Pin Map Settings**. |
 +| “conveyor() is not in the code” | Arduino Code does not call the ladder tab's function, so that ladder does not run. | Right-click the ladder tab in Explorer and select **Add loop()**. See [[en-us_products:mpino_studio2:activity_bar#add_ladder_tabs_and_call_them_from_loop|Phase 8 · Add Ladder Tabs and Call Them from loop()]]. |
 +| “using the same port in the code can break long responses and frames” | A channel set up as a slave under **Run → Communication** uses a port (for example, ''Serial1'') that Arduino Code also uses, so long slave responses or frames can break. | Change Arduino Code so that it does not use that port, or move the slave to another channel in the communication settings. |
 +
 +A build also checks SRAM use, which adds memory areas, communication channels, Arduino Code variables, and a stack reserve. If the total exceeds the board's SRAM, the build fails, the **Problems** tab shows an error beginning with “Not enough SRAM”, and the upload does not proceed. Check how much the communication channels and ''M'', ''D'', and ''R'' memory use in the **Breakdown** at the end of the error.
 +
 +To reduce SRAM use, lower the ''M'', ''D'', and ''R'' counts under **Settings → Memory Area Settings**, set the protocol of unused channels to **None** under **Run → Communication**, or shrink large global arrays in Arduino Code. The estimated SRAM use in the Memory Area Settings dialog covers memory areas only, so a build can report insufficient SRAM even when the dialog does not exceed the limit.
  
 ===== 3. When the Upload Does Not Start or Stops ===== ===== 3. When the Upload Does Not Start or Stops =====
Line 78: Line 103:
 | Code files or completion | Check the active code file and the file list in Explorer. | [[en-us_products:mpino_studio2:code_editor|Phase 5 · Code Files]] | | Code files or completion | Check the active code file and the file list in Explorer. | [[en-us_products:mpino_studio2:code_editor|Phase 5 · Code Files]] |
 | Libraries or symbols | Check **Refresh** in the library list or the validation message in the Symbols dialog. | [[en-us_products:mpino_studio2:activity_bar|Phase 8 · Libraries and Symbols]] | | Libraries or symbols | Check **Refresh** in the library list or the validation message in the Symbols dialog. | [[en-us_products:mpino_studio2:activity_bar|Phase 8 · Libraries and Symbols]] |
 +| ''M'', ''D'', and ''R'' counts in Memory Area Settings | If Arduino Code uses core communication functions such as ''ImodbusRTUInit'', ''ICnetInit'', or ''IMcInit'', the board core sets the sizes of ''M'', ''D'', and ''R''. If a message says an address “is outside the … area the … core allocates”, write a larger size as a number with ''ImodbusRTUMem'', ''ICnetMem'', or ''IMcMem'' in ''setup()''. | [[en-us_products:mpino_studio2:menus_settings#eeprom_retain|Phase 7 · EEPROM Retain]] |
  
 ===== 7. When You Still Cannot Find the Cause ===== ===== 7. When You Still Cannot Find the Cause =====
Line 84: Line 110:
  
 You can enter the description under **Help → Report a Bug**. Basic diagnostic information is included. Attach the project, a screenshot, or contact information only if you choose to. See [[en-us_products:mpino_studio2:menus_settings|Phase 7 · Help Menu]] for the report dialog. You can enter the description under **Help → Report a Bug**. Basic diagnostic information is included. Attach the project, a screenshot, or contact information only if you choose to. See [[en-us_products:mpino_studio2:menus_settings|Phase 7 · Help Menu]] for the report dialog.
 +
 +If the whole program window changes to “Something went wrong”, select **Try again**. If the same screen appears again, restart the program and use **Help → Report a Bug** to describe the operation you performed just before it.
  
 ===== Related Documentation ===== ===== Related Documentation =====
en-us_products/mpino_studio2/troubleshooting.1792885354.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki