From dd7b2c52d58f8d3802df7509affd284100a4323a Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Mon, 17 Mar 2025 16:25:55 +0100 Subject: [PATCH 1/6] Title change --- .../PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md index 182a9afc..60a79512 100644 --- a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md +++ b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md @@ -1,5 +1,5 @@ --- -title: "If PLC IDE isn't working with your device" +title: "If PLC IDE isn't working with your Opta or Portenta Machine Control" id: 8824551178780 --- From 296f9950d404683b538cb8dcb2cdcf5371111056 Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Thu, 20 Mar 2025 14:13:49 +0100 Subject: [PATCH 2/6] Expand troubleshooting for connection error --- .../PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md index 60a79512..4748322a 100644 --- a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md +++ b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md @@ -109,7 +109,6 @@ Unable to start the communication Choose 'On-line / Set up communication' to configure it ``` -Follow these steps: 1. Ensure the correct port is configured for the Modbus protocol: 1. Select **On-line > Set up communication**. @@ -117,7 +116,6 @@ Follow these steps: 1. Under Communication, ensure the right **Port** is selected. 1. See the [If you can't find the serial port for your device](#if-you-cant-find-the-serial-port-for-your-device) section for help finding the right port. 1. Close other applications that may be using the port of your PLC device, such as the Serial Monitor in Arduino IDE. -1. Restart your computer. ### If PLC IDE becomes unresponsive when connecting to the device From 033a7b88c532df04ae2c10f96bcfd62d932c1685 Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Thu, 20 Mar 2025 14:14:24 +0100 Subject: [PATCH 3/6] Update filename to match title --- ...-your-Opta-or-Portenta-Machine-Control.md} | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) rename content/Software Support/PLC IDE/{If-PLC-IDE-isnt-working-with-your-device.md => If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md} (90%) diff --git a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md similarity index 90% rename from content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md rename to content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md index 4748322a..034eac38 100644 --- a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-device.md +++ b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md @@ -109,13 +109,27 @@ Unable to start the communication Choose 'On-line / Set up communication' to configure it ``` - -1. Ensure the correct port is configured for the Modbus protocol: - 1. Select **On-line > Set up communication**. - 1. Click on **Properties** to open the Modbus configuration. - 1. Under Communication, ensure the right **Port** is selected. - 1. See the [If you can't find the serial port for your device](#if-you-cant-find-the-serial-port-for-your-device) section for help finding the right port. -1. Close other applications that may be using the port of your PLC device, such as the Serial Monitor in Arduino IDE. +Try again after each step: + +1. Close other applications that may be using the port of your PLC device, such as the Serial Monitor in Arduino IDE. Alternatively, try restarting your computer. +1. Ensure the correct port is configured for the Modbus protocol. + + Do one of the following: + + - Reinstall the runtime in bootloader mode to automatically configure the port: + 1. Double-press the RESET button. + 1. If a green LED is pulsing, the device is now in bootloader mode. + 1. Find the panel “ Configuration” panel for your device: + 1. If necessary, scroll down inside the configuration panel until you see the “Other” section. + 1. Open the Port menu and select **Automatic (bootloader)**. + 1. Click on **Download**. + 1. The process is complete when a line like this appears in the **Resources tab** of the **Output** panel: + `C:\Users\USERNAME\Documents\TestProjectOpta\LLSketch\LLSketch.ino: sketch file downloaded` + - Manually configure the correct port: + 1. Select **On-line > Set up communication**. + 1. Click on **Properties** to open the Modbus configuration. + 1. Under Communication, ensure the right **Port** is selected. + 1. See the [If you can't find the serial port for your device](#if-you-cant-find-the-serial-port-for-your-device) section for help finding the right port. ### If PLC IDE becomes unresponsive when connecting to the device From 708caf74364281d86fc1dca5d7f1ddf2473cb20c Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Thu, 20 Mar 2025 14:29:45 +0100 Subject: [PATCH 4/6] Add section for compilation error --- ...t-working-with-your-Opta-or-Portenta-Machine-Control.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md index 034eac38..3dba367d 100644 --- a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md +++ b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md @@ -157,6 +157,7 @@ In this section: - [Cannot generate profile file error message: Error: Path not found](#cannot-generate-profile-file-error-message-error-path-not-found) - [Error: invalid path creating config dir](#error-invalid-path-creating-config-dir) - [“Error” in the bottom right corner on first use of the board](#error-in-the-bottom-right-corner-on-first-use-of-the-board) +- [Cannot compile Sketch file (error code: -1)](#cannot-compile-sketch-file) > [!NOTE] > If you see a **dfu-util** warning or error that's not in this list, see [dfu-util errors when uploading (exit status 74)](https://support.arduino.cc/hc/en-us/articles/11011849739804-dfu-util-errors-when-uploading-exit-status-74). @@ -225,6 +226,12 @@ Follow these steps: 2. [Reformat the QSPI flash memory](https://support.arduino.cc/hc/en-us/articles/16206977438748-Reset-the-flash-memory-on-STM32H747-based-devices). 3. Reinstall the runtime and try again. +### Cannot compile Sketch file (error code: -1) + +This means there is a syntax error in the Arduino Sketch. + +Review the code and try again. + --- ## If there is an issue activating the license From da112a562d2be2cbfc16db4c24828461336d23c6 Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Thu, 20 Mar 2025 14:30:01 +0100 Subject: [PATCH 5/6] Add tip about antivirus --- ...working-with-your-Opta-or-Portenta-Machine-Control.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md index 3dba367d..c4b97811 100644 --- a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md +++ b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md @@ -162,6 +162,15 @@ In this section: > [!NOTE] > If you see a **dfu-util** warning or error that's not in this list, see [dfu-util errors when uploading (exit status 74)](https://support.arduino.cc/hc/en-us/articles/11011849739804-dfu-util-errors-when-uploading-exit-status-74). + + +> [!IMPORTANT] +> Verify that the following paths are allowed by your antivirus software: +> +> - `C:\Program Files (x86)\Arduino PLC IDE` +> - `C:\Program Files\Arduino PLC IDE Tools` +> - `%LOCALAPPDATA%\T` + ### Error pop-up: "Cannot download sketch file (error code: 1)" This error may occur when attempting to download the runtime sketch. From 6ff9f195dd03e65a9bb0c9a01189f265ea6997ee Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Thu, 20 Mar 2025 15:00:15 +0100 Subject: [PATCH 6/6] Add heading ids to fix TOC --- ...rking-with-your-Opta-or-Portenta-Machine-Control.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md index c4b97811..b72778ff 100644 --- a/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md +++ b/content/Software Support/PLC IDE/If-PLC-IDE-isnt-working-with-your-Opta-or-Portenta-Machine-Control.md @@ -18,7 +18,7 @@ In this article: --- -## If you can't find the serial port for your device +## If you can't find the serial port for your device {#if-you-cant-find-the-serial-port-for-your-device} In this section: @@ -58,7 +58,7 @@ Try these steps in order. Refresh the list of ports after each step by selecting --- -## If there's an issue when you install the runtime +## If there's an issue when you install the runtime {#if-theres-an-issue-when-you-install-the-runtime} In this section: @@ -86,7 +86,7 @@ Follow these steps: --- -## If there's an issue when you connect to the device +## If there's an issue when you connect to the device {#if-theres-an-issue-when-you-connect-to-the-device} Learn what to do if you are unable to connect to the device. @@ -147,7 +147,7 @@ Follow these steps: --- -## If you see an error when programming the device +## If you see an error when programming the device {#if-you-see-an-error-when-programming-the-device} When there is an issue installing the runtime or downloading your code to the device, error messages may appear in the **Resources** tab of the **Output** console. @@ -243,7 +243,7 @@ Review the code and try again. --- -## If there is an issue activating the license +## If there is an issue activating the license {#if-there-is-an-issue-activating-the-license} When activating the license you may see one of these errors: